Skip to main content

Rasterio Code Analyzer

Rasterio 1.0 will not permit reading from datasets opened in “w” mode. The rasterio_code_analyzer module can be used to find such deprecated usage.

This module requires Python 3.6.

Running it on Rasterio’s tests (as of 2018-04-11) yields the following output.

` $ parallel 'python -m rasterio_code_analyzer {}' ::: tests/*.py In file tests/test_complex_dtypes.py dataset.read() is called on line 37 and column 18 where dataset is opened in 'w' mode In file tests/test_dataset_rw.py dst.read() is called on line 37 and column 20 where dst is opened in 'w' mode In file tests/test_gdal_raster_io.py dataset.read() is called on line 35 and column 18 where dataset is opened in 'w' mode In file tests/test_gdal_raster_io.py dataset.read() is called on line 47 and column 18 where dataset is opened in 'w' mode In file tests/test_gdal_raster_io.py dataset.read() is called on line 59 and column 18 where dataset is opened in 'w' mode In file tests/test_gdal_raster_io.py dataset.read() is called on line 73 and column 17 where dataset is opened in 'w' mode In file tests/test_gdal_raster_io.py dataset.read() is called on line 89 and column 17 where dataset is opened in 'w' mode In file tests/test_rio_mask.py out.read() is called on line 200 and column 12 where out is opened in 'w' mode `

Release files for rasterio-code-analyzer 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for rasterio-code-analyzer 1.0.1
File Interpreter ABI Platform
rasterio_code_analyzer-1.0.1-py3-none-any.whl Python 3 none any Details

Release files / rasterio_code_analyzer-1.0.1-py3-none-any.whl

Download URL rasterio_code_analyzer-1.0.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b8ea7629f85e71ef32d027ad7112f5db5fd6215d081b3bb886534b1511c07d6
BLAKE2b-256 checksum
How to use checksums
6707cd317c29e47be562f9cf5ada2da01b541c339c54f56f376db9cb175a8799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page