Replies: 1 comment
-
|
Ah, never mind. I missed the Note part in the docs... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have arrived now at the metpy.calc functions and I am already sucecssfully using the wind speed function like this (ds10m is a dataset containing u and v at 10m):
However, I can't get the sounding functions to work. I have tried various variations of calling metpy.calc.bulk_shear but it always fails. I'm probably messing up the data types (again)...
My source data is:
Last thing I tried was
bs = mpcalc.bulk_shear(p,ugrdpres,vgrdpres,depth=3 * units.km)which failed withValueError: Pressure and data variables must have the same length.- like the other variations I tried.Is it possible at all to use the sounding functions with data arrays? Are there any examples?
Beta Was this translation helpful? Give feedback.
All reactions