Skip to content
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

Unable to switch between MU/SB/ML parcel profile #30

Open
koeleboe opened this issue Jun 5, 2021 · 3 comments
Open

Unable to switch between MU/SB/ML parcel profile #30

koeleboe opened this issue Jun 5, 2021 · 3 comments

Comments

@koeleboe
Copy link

koeleboe commented Jun 5, 2021

I tried to change the parcel profile from the most unstable parcel to the surface based parcel in sounding_save. However it will always show the MU parcel profile, even when specifying other parcels. Is this not yet possible or did I miss something?

EDIT: further testing shows that when using sounding_plot, it does change the parcel profile, but not in sounding_save

@bczernecki
Copy link
Owner

Hi @koeleboe ,
Could you provide some reproducible code for the issue?

@koeleboe
Copy link
Author

koeleboe commented Jul 22, 2021

Hi @bczernecki

When using the Vienna dataset, the following lines do return the correct parcel profile (ML and MU).

  • sounding_plot(filename = "Vienna.png", title = "Vienna - 23 August 2011 1200 UTC", pressure, altitude, temp, dpt, wd, ws, parcel= 'ML')

  • sounding_plot(filename = "Vienna.png", title = "Vienna - 23 August 2011 1200 UTC", pressure, altitude, temp, dpt, wd, ws, parcel= 'MU' )

But if you change the function to sounding_save, it will always calculate the MU cape on the skewT, even if you specify a different parcel.

  • sounding_save(filename = "Vienna.png", title = "Vienna - 23 August 2011 1200 UTC", pressure, altitude, temp, dpt, wd, ws, parcel= 'MU')

  • sounding_save(filename = "Vienna.png", title = "Vienna - 23 August 2011 1200 UTC", pressure, altitude, temp, dpt, wd, ws, parcel= 'ML')

To conclude, the problem only shows up when using the function "sounding_save".

@bczernecki
Copy link
Owner

@mtaszarek - could you take a look at the snippet provided?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants