You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
file ~/alli/code-repo/ldcpy/ldcpy/plot.py:327, in calcsPlot.spatial_plot(self, da_sets, titles, data_type)
323 cmin = []
325 # lat/lon could be 1 or 2d and have different names
326 #print(da_sets[0].cf.coordinates)
--> 327 lon_coord_name = da_sets[0].cf.coordinates['longitude'][0]
328 lat_coord_name = da_sets[0].cf.coordinates['latitude'][0]
330 # is the lat/lon 1d or 2d (to do: set error if > 2)
KeyError: 'longitude'
The text was updated successfully, but these errors were encountered:
The cf.attributes are [] when plotting fft2.
file ~/alli/code-repo/ldcpy/ldcpy/plot.py:327, in calcsPlot.spatial_plot(self, da_sets, titles, data_type)
323 cmin = []
325 # lat/lon could be 1 or 2d and have different names
326 #print(da_sets[0].cf.coordinates)
--> 327 lon_coord_name = da_sets[0].cf.coordinates['longitude'][0]
328 lat_coord_name = da_sets[0].cf.coordinates['latitude'][0]
330 # is the lat/lon 1d or 2d (to do: set error if > 2)
KeyError: 'longitude'
The text was updated successfully, but these errors were encountered: