sharppy / SHARPpy

Sounding/Hodograph Analysis and Research Program in Python
https://sharppy.github.io/SHARPpy/index.html
Other
216 stars 112 forks source link

Fixed parcel lifting function #120

Closed wblumberg closed 6 years ago

wblumberg commented 7 years ago

This pull request fixes an issue in SHARPpy that occurs when very high resolution sondes are put into the program. This problem is with the Wobus function/wetlift() logic where the iterative portion of the algorithm converges too early when using high resolution soundings. This problem causes odd looking parcel traces to appear in the program and an overestimation of instability in the atmosphere. The problem arises because the original SHARP code was never (or rarely) tested using high-res sondes.

Future updates may modify the threshold for convergence, but for now this threshold seems to resolve the problem. Other updates may abandon the Wobus function method for the Robert-Davies Jones (2008) method (which is currently in the testing phase).