栅格IO代码分析器
项目描述
Rasterio 1.0将不允许从以“w”模式打开的数据集中读取。可以使用rasterio_code_analyzer模块来查找此类已弃用的用法。
此模块需要Python 3.6。
在Rasterio的测试上运行它(截至2018-04-11)会产生以下输出。
` $ 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 `
项目详情
哈希值 for rasterio_code_analyzer-1.0.1-py3-none-any.whl
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 1b8ea7629f85e71ef32d027ad7112f5db5fd6215d081b3bb886534b1511c07d6 |
|
MD5 | 25ed4357d80711c8582068cace9548ba |
|
BLAKE2b-256 | 6707cd317c29e47be562f9cf5ada2da01b541c339c54f56f376db9cb175a8799 |