ldcpy
ldcpy copied to clipboard
fft2 plot
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'