earth2studio.models.dx
.DerivedRH#
- class earth2studio.models.dx.DerivedRH(levels=[100])[source]#
Calculates the relative humidity (RH) from specific humidity and temperature for specified pressure levels. Based on the calculations ECMWF uses in the IFS numerical simulator which accounts for estimating the water vapor and ice present in the atmosphere.
Note
See reference, equation 7.98 onwards:
- Parameters:
levels (list[int | str], optional) – hPa Pressure levels to compute RH. The resulting expected input fields are specific humidity and temperature pairs for each pressure level. E.g. for level 100 hPa the input fields should be [t100, q100], by default [100]