CABLE-LSM / CABLE

Home to the CABLE land surface model and its documentation
https://cable.readthedocs.io/en/latest/
Other
8 stars 4 forks source link

Rationalise functions to calculate the saturation water vapour pressure #318

Open ccarouge opened 3 months ago

ccarouge commented 3 months ago

Several functions are currently calculating the Teten formula for saturation water vapour pressure in CABLE.

In particular, in the POP_TRENDY branch, there is a function defined in the cable_cru_TRENDY.F90 file in addition to the ones in the canopy code.

https://github.com/CABLE-LSM/CABLE/blob/58bef5f4fb5d0636957d7d53e520172725c5fe38/offline/cable_cru_TRENDY.F90#L1053

Science questions about precision, what happens in frozen conditions. Probably to deal with during the merge of POP-TRENDY and main.