-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update saturation_vapor_pressure #508
Comments
I have conducted testing on this version of e_s, comparing the original MetPy implementation, the implementation in the Koutsoyiannis 2012, the Koutsoyiannis 2012 using MetPy constants, and Koutsoyiannis 2012 using MetPy constants and a variable Lv to the WMO accepted fit. The differences between these can be seen in the attached plots Based on my testing, it looks like we should change to either the WMO fit (which is not bad to code) or the Koutsoyiannis equation with current MetPy constants (changing the constants has no significant effect). Is there another source beside WMO that we could compare to? For reference, changing the e_s equation will cause 15 tests to break. |
Per request from @jrleeman, here are additional plots with percent change from WMO. |
These resources are also relevant, since they reproduce some text book material. |
There are some alternatives to Koutsoyiannis:
I'll try to code these up for comparison with the above, including a comparison of computational efficiency. |
I coded more than the above, and the Flatau algorithm is the fastest, and also the most accurate for many input temperatures, or at least within the uncertainty of the reference datasets otherwise. For my "truth" I averaged the Goff, Wexler, Murphy and Koop, and Wagner and Pruss reference values. The code used to generate these figures and other diagnostics is at https://gist.github.com/sgdecker/12811e797b4a1df267a7be7cce8201ba |
Thanks for doing this @sgdecker! I've got a reference dataset I'll compare to and we'll figure out what direction to head here. |
I'm the party responsible for emanuel-reproduction.tar.gz. At the time I sent it to @dopplershift, I hadn't been able to sort out how Emanuel got his numbers. It turns out that the texbook uses variable latent heat of fusion but a constant specific heat of liquid water |
Found this paper which describes how to properly use Clausius-Clapyron to calculate saturation vapor pressure. Should update our calculations to:
The text was updated successfully, but these errors were encountered: