- 积分
- 5116
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-3-15
- 最后登录
- 1970-1-1
|
发表于 2020-2-5 11:51:49
|
显示全部楼层
Traceback (most recent call last):
File "test.py", line 16, in <module>
fig = PPI(cr) #Plot PPI
File "/mnt/d/PyCINRAD/cinrad/visualize/ppi.py", line 102, in __init__
self._plot(**kwargs)
File "/mnt/d/PyCINRAD/cinrad/visualize/ppi.py", line 190, in _plot
extent=self.geoax.get_extent(self.data_crs),
File "/mnt/d/PyCINRAD/cinrad/visualize/utils.py", line 209, in add_shp
shps = get_shp()
File "/mnt/d/PyCINRAD/cinrad/visualize/utils.py", line 197, in get_shp
shps = [list(ShpReader(i).geometries()) for i in flist]
File "/mnt/d/PyCINRAD/cinrad/visualize/utils.py", line 197, in <listcomp>
shps = [list(ShpReader(i).geometries()) for i in flist]
File "/mnt/d/PyCINRAD/cinrad/visualize/utils.py", line 135, in __init__
self._geometry_factory = shapereader.GEOMETRY_FACTORIES.get(shapeType)
AttributeError: module 'cartopy.io.shapereader' has no attribute 'GEOMETRY_FACTORIES'
你好,我重新安装了cartopy又报上面错误 |
|