Skip to content

Attribute error when attempting to draw plot in metpy #3253

Answered by dopplershift
elliottardif asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dopplershift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants