- 积分
- 131
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2018-8-20
- 最后登录
- 1970-1-1
|
发表于 2019-9-4 16:06:52
|
显示全部楼层
完整错误如下:
<Datatype: REF Station name: 杭州 Scan time: 2018-03-04 10:56:44.058000 Elevation angle: 0.53 Range: 230>
Traceback (most recent call last):
File "<ipython-input-3-d26b4d8f405c>", line 1, in <module>
runfile('C:/Users/SMH/.spyder-py3/ss/untitled0.py', wdir='C:/Users/SMH/.spyder-py3/ss')
File "c:\programdata\anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 705, in runfile
execfile(filename, namespace)
File "c:\programdata\anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/SMH/.spyder-py3/ss/untitled0.py", line 19, in <module>
fig("d:\\leida\\")
File "C:\Users\SMH\AppData\Roaming\Python\Python36\site-packages\cinrad-1.4.2-py3.6-win32.egg\cinrad\visualize\ppi.py", line 90, in __call__
return self._save(fpath)
File "C:\Users\SMH\AppData\Roaming\Python\Python36\site-packages\cinrad-1.4.2-py3.6-win32.egg\cinrad\visualize\ppi.py", line 186, in _save
save(path_string)
File "C:\Users\SMH\AppData\Roaming\Python\Python36\site-packages\cinrad-1.4.2-py3.6-win32.egg\cinrad\visualize\utils.py", line 151, in save
plt.savefig(fpath, bbox_inches='tight', pad_inches=0)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\pyplot.py", line 716, in savefig
res = fig.savefig(*args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\figure.py", line 2180, in savefig
self.canvas.print_figure(fname, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\backend_bases.py", line 2056, in print_figure
**kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 527, in print_png
FigureCanvasAgg.draw(self)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 388, in draw
self.figure.draw(self.renderer)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\figure.py", line 1709, in draw
renderer, self, artists, self.suppressComposite)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\mpl\geoaxes.py", line 388, in draw
inframe=inframe)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\axes\_base.py", line 2645, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\mpl\feature_artist.py", line 199, in draw
geom, feature_crs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\crs.py", line 218, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\crs.py", line 327, in _project_multiline
return sgeom.MultiLineString(geoms)
File "c:\programdata\anaconda3\lib\site-packages\shapely\geometry\multilinestring.py", line 52, in __init__
self._geom, self._ndim = geos_multilinestring_from_py(lines)
File "c:\programdata\anaconda3\lib\site-packages\shapely\geometry\multilinestring.py", line 134, in geos_multilinestring_from_py
geom, ndims = linestring.geos_linestring_from_py(obs[l])
File "c:\programdata\anaconda3\lib\site-packages\shapely\geometry\linestring.py", line 208, in geos_linestring_from_py
ob = list(ob)
TypeError: 'LineString' object is not iterable
Error in callback <function install_repl_displayhook.<locals>.post_execute at 0x08D10738> (for post_execute):
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\pyplot.py", line 109, in post_execute
draw_all()
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\_pylab_helpers.py", line 128, in draw_all
f_mgr.canvas.draw_idle()
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\backend_bases.py", line 1907, in draw_idle
self.draw(*args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\backends\backend_agg.py", line 388, in draw
self.figure.draw(self.renderer)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\figure.py", line 1709, in draw
renderer, self, artists, self.suppressComposite)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\mpl\geoaxes.py", line 388, in draw
inframe=inframe)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\axes\_base.py", line 2645, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\image.py", line 135, in _draw_list_compositing_images
a.draw(renderer)
File "c:\programdata\anaconda3\lib\site-packages\matplotlib\artist.py", line 38, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\mpl\feature_artist.py", line 199, in draw
geom, feature_crs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\crs.py", line 218, in project_geometry
return getattr(self, method_name)(geometry, src_crs)
File "c:\programdata\anaconda3\lib\site-packages\cartopy\crs.py", line 327, in _project_multiline
return sgeom.MultiLineString(geoms)
File "c:\programdata\anaconda3\lib\site-packages\shapely\geometry\multilinestring.py", line 52, in __init__
self._geom, self._ndim = geos_multilinestring_from_py(lines)
File "c:\programdata\anaconda3\lib\site-packages\shapely\geometry\multilinestring.py", line 134, in geos_multilinestring_from_py
geom, ndims = linestring.geos_linestring_from_py(obs[l])
File "c:\programdata\anaconda3\lib\site-packages\shapely\geometry\linestring.py", line 208, in geos_linestring_from_py
ob = list(ob)
TypeError: 'LineString' object is not iterable |
|