LFC bug #1735
Labels
Area: Calc
Pertains to calculations
Subarea: Thermo
Pertains to thermodynamic calculations and their physical correctness
Type: Enhancement
Enhancement to existing functionality
I'm trying to correctly implement the virtual temperature correction for a sounding, and calculate CAPE accordingly (http://www.flame.org/~cdoswell/virtual/virtual.html). In summary, you are supposed to apply the virtual temp correction to both the environmental temperature profile, and the parcel profile (based off the uncorrected environmental temperature profile). Then, CAPE/CIN is calculated with those 2 profiles, however, it uses the LCL from the uncorrected temperature profile. This last part is the tricky part. In the LFC function, there is a calculation for the LCL that uses the temperature and profile you give it:
So if you were to give this function the virtual corrected parcel profile, it would be the incorrect LCL. Then, downstream, the LFC and downstream CAPE calculation will be incorrect. I also think this tangentially ties into #461, due to the different parcel path options.
I also stumbled upon this (http://johnrleeman.com/pubs/2017/Leeman_SciPy_Poster_2017.pdf), so I may have interpreted this issue incorrectly and @jrleeman can correct me?
The text was updated successfully, but these errors were encountered: