- 积分
- 735
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-8-17
- 最后登录
- 1970-1-1
|
发表于 2020-2-19 17:30:00
|
显示全部楼层
请问我再用to_pyart.ipynb画图时,用CC雷达j基数据报错:
File "D:\anaconda\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
execfile(filename, namespace)
File "D:\anaconda\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "D:/PyCINRAD/untitled3.py", line 47, in <module>
axislabels=('', ''))
File "D:\anaconda\lib\site-packages\pyart\graph\radardisplay.py", line 139, in plot
self.plot_ppi(field, sweep, **kwargs)
File "D:\anaconda\lib\site-packages\pyart\graph\radardisplay.py", line 339, in plot_ppi
x, y, data, vmin=vmin, vmax=vmax, cmap=cmap, norm=norm, **kwargs)
File "D:\anaconda\lib\site-packages\matplotlib\__init__.py", line 1599, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "D:\anaconda\lib\site-packages\matplotlib\axes\_axes.py", line 6165, in pcolormesh
X, Y, C = self._pcolorargs('pcolormesh', *args, allmatch=allmatch)
File "D:\anaconda\lib\site-packages\matplotlib\axes\_axes.py", line 5760, in _pcolorargs
C.shape, Nx, Ny, funcname))
TypeError: Dimensions of C (374, 3066) are incompatible with X (3068) and/or Y (375); see help(pcolormesh)
请问是什么原因?应该怎么设置? |
|