thundeR icon indicating copy to clipboard operation
thundeR copied to clipboard

Unable to switch between MU/SB/ML parcel profile

Open koeleboe opened this issue 4 years ago • 3 comments

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

koeleboe avatar Jun 05 '21 12:06 koeleboe

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

bczernecki avatar Jul 21 '21 22:07 bczernecki

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".

koeleboe avatar Jul 22 '21 19:07 koeleboe

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

bczernecki avatar May 09 '23 20:05 bczernecki