openradar / PyDDA

Pythonic multiple doppler code based off the 3D variational technique
http://openradarscience.org/PyDDA
Other
91 stars 44 forks source link

this is a mistake #58

Closed huyaox closed 3 years ago

huyaox commented 4 years ago

hello! when i run this “lat_min, lat_max, lon_min, lon_max = display.plot_grid('reflectivity', level=level, vmin=vmin, vmax=vmax,cmap = pyart.graph.cm.NWSRef)”,this is a mistake “can not unpack non-iterable NoneType object ” why?and how resolve it?thanks!

rcjackson commented 3 years ago

Hello, the display code is simply ran by doing "display.plot_grid('reflectivity', level=level, vmin=vmin, vmax=vmax,cmap = pyart.graph.cm.NWSRef)." The code will only return a matplotlib axis handle, not a 4-tuple.