aphalo / photobiology

Package ‘photobiology’ defines a system of classes for storing spectral data and accompanying methods and operators. This is the core of a suite of R packages for photobiological calculations.
4 stars 1 forks source link

Implement GOFF-GRATCH FORMULATIONS for water vapour #2

Closed aphalo closed 2 years ago

aphalo commented 3 years ago

Tetens and Magnus formulations are simpler but Goff-Gratch may be preferred under some conditions.

Implemented in version 0.9.25 for saturation water VP, inverse not yet implemented. Need to find the inverse equation formulation or derive it.

Added forward and inverse implementations of Wexler. See http://www.decatur.de/javascript/dew/resources/its90formulas.pdf. ITS90 of forward equation needs the replacement of constants. Currently forward follows ITS68 as the original formulation, while the only inverse available follows ITS90.

See https://www.eol.ucar.edu/system/files/VaporPressure.pdf for the equation of Murphy and Koop.