- 积分
- 124
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-8-4
- 最后登录
- 1970-1-1
|
发表于 2019-8-8 11:21:08
|
显示全部楼层
您好,我想画速度的剖面图,报这个错误是怎么回事呢?
在您PPI.VCS.py中仅仅改动了
rl = [f.get_data(i, 230, 'VEL') for i in f.angleindex_v]
-------------------------------------------------------------------------------------
vcs = cinrad.easycalc.VCS(rl)
File "/*/anaconda3/lib/python3.6/site-packages/cinrad-1.4.1-py3.6-linux-x86_64.egg/cinrad/easycalc.py", line 159, in __init__
self.x, self.y, self.h, self.r = self._geocoor()
File "/*/anaconda3/lib/python3.6/site-packages/cinrad-1.4.1-py3.6-linux-x86_64.egg/cinrad/easycalc.py", line 178, in _geocoor
hgh_radial = np.asarray(hgh.tolist() * radial.data.shape).reshape(radial.data.shape)
AttributeError: 'tuple' object has no attribute 'shape'
|
|