SHARPpy icon indicating copy to clipboard operation
SHARPpy copied to clipboard

Fix calculation of CAP

Open chird opened this issue 3 years ago • 2 comments

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.

chird avatar May 28 '21 13:05 chird

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.

wblumberg avatar Oct 28 '21 17:10 wblumberg

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.

chird avatar Oct 30 '21 19:10 chird