光栅代码分析器

rasterio-code-analyzer的Python项目详细描述


Rasterio 1.0不允许读取以“W”模式打开的数据集。这个 光栅代码分析器模块可用于查找此类不推荐的用法。

此模块需要Python3.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 `

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java创建猜谜游戏程序   JavaWebSocketContainer。connectToServer似乎挂起了   如何在java中中断函数   java c#socket client multiple BeginSend()未到达服务器   不可见的组件然后在Java中的窗格之间切换   java在应用程序类中使用静态接口安全吗?   java等待函数完成,直到回调到来   使用DataOutputStream时的java新行,Android   java服务对象的定义是什么?   基于视图的javahibernate复合密钥   java将varchar连接到char在JPA(oracle)中不起作用   如何在java中通过point类读取多个点?