Attribute error when attempting to draw plot in metpy #3253
-
Hi everyone, I'm attempting to draw a plot using metpy and am running into an error -- specifically, as follows: I would greatly appreciate any help in resolving what is causing this error, as I have had no luck resolving it to this point. Thanks in advance, Elliot Tardif |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
MetPy's simplified plotting interface needs to be given Xarray |
Beta Was this translation helpful? Give feedback.
MetPy's simplified plotting interface needs to be given Xarray
Dataset
/DataArray
instances so that we can make use of various pieces of functionality to automatically do some things to make plots. The error you shared indicates that you are trying to use plain numpy arrays, which won't work.