Replies: 1 comment 6 replies
-
Pressure has to have the same shape as the other variables in order for this to work, so you have to take the values for the pressure coordinate (1D) and expand them to 3D. You can do this with Xarray using
|
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to calculate the equilibrium level on the entire grid points of a grib file.
Where the variables used in el calculations, t and td are in 3D (ignored the step), whereas the pressure 'p' is a dimension, which I want to use in the calculation as a variable (presently, p is in 1 dimension). In this case how to calculate 'el' in entire grid points? Can I use the data array method to calculate it in the entire grid points instead of a loop?
Then I am getting an error
Beta Was this translation helpful? Give feedback.
All reactions