-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SkewT Plots not working when Pressure does not Decrease Monotonically #372
Comments
Thanks @ajsockol ! I've ran into this before with the PBL calculations in the calculate_pbl_liu_liang retrieval code. I had to do some smoothing to the pressure ahead of time. The plotting might not be an issue if there are NaNs but we'll have to test that. |
I was able to fix this in the DQ Office code by looking for differences that are greater than or equal to zero for pressure and resample the Dataset to exclude those values. Should we look into implementing this logic for Sonde Skewt plotting? The other option is to not extract the good values but set the issue causing Pressure values to NaN in a copy of the Dataset. |
@kenkehoe with the samples so close together this is what I did in the pbl height calculations
if that didn't work, then I increased the smoothing
|
As a note, I'm running into unexpected errors with Skew-T plots so we are looking into potential dependency changes |
Is this still an issue @AdamTheisen ? |
Yes, should have closed out with #436 |
I'm getting this error when trying to plot skewT diagrams:
Looking at skewtdisplay.py, it seems there is a fix in place for this issue, but it still raises an invalid sounding error when it tries to implement the fix. Maybe we just need to implement some code to remove duplicate pressure levels? Perhaps by removing any points where the difference between two pressure levels is equal to zero?
The text was updated successfully, but these errors were encountered: