SHARPpy
SHARPpy copied to clipboard
Fix calculation of CAP
Referenced issue
#216
Changes
Changes calculation of CAP inside the parcelx
function. It is now the difference between the virtual temperature of the parcel and the profile.
Hi @chird - thank's so much for submitting this. Since this is a routine copied from SPC's version, do you have a reference showing the cap calculation change is better or incorrect? Thanks! I also may be able to double check with SPC.
Hi @wblumberg. Do you mean a scientific paper reference? In daily business, I noticed that the CAP values are strange. With my change the values become a realistic difference between virtual temperatures. But I have to admit that I don't know my reference for the CAP definition anymore.