Replies: 2 comments 1 reply
-
Based on your Traceback (thanks for posting!) what I would do (since I don't know the answer either), is open this file: And on Line 523 (one line before the error of 524), I would print the value of One thing I find interesting, and I am not a thermo expert so there may be good reasons for this, is that
MetPy/src/metpy/calc/thermo.py Line 1711 in ada4ab2
MetPy/src/metpy/calc/thermo.py Line 419 in ada4ab2
MetPy/src/metpy/calc/thermo.py Line 609 in ada4ab2
Line 96 in ada4ab2 I'll be following along and I'm curious what |
Beta Was this translation helpful? Give feedback.
-
I wonder if this is related to #1735 . If you can reduce that down to a specific sounding we can use to reproduce, that would be helpful. |
Beta Was this translation helpful? Give feedback.
-
Hey MetPy friends...
I've been running lots of skew-t plots recently for the skewmap project. Most of them plot exactly as expected. I must have generated thousands of skew-t's covering all shapes and sizes. I keep getting this odd error on one of my scripts plotting for the TX panhandle region:
The same run of the same script produced many nice maps, including several with CAPE/CIN shading:
(Plotting 18z fails).
This seems to suggest some data may be missing. But all the points are good, and I have the same script running over a larger domain inclusive of this area that happily plots 18z and beyond:
So I'm not totally sure what's going on. I do have a theory though. I only select model grids at and below 250mb so I don't have to deal with NaNs in the stratosphere and I'm not plotting that data anyway (only at and below 300mb) so I don't need it. Does MetPy require you have environmental data at/below the EL to shade CAPE/CIN? Seems weird that it would have taken me this long to find that out given how many convective soundings I've plotted but it's possible.
Any thoughts would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions