nsrdb.data_model.merra.DewPoint
- class DewPoint[source]
Bases:
BaseDerivedVarClass to derive the dew point from other MERRA2 vars. The dew point is derived from air temperature, specific humidity, and surface pressure. Relative humidity is first derived from these variables, then the dew point is calculated from temperature and relative humidity using the Magnus formula.
References
[Lawrence2005]Lawrence, M. G., 2005: The Relationship between Relative Humidity and the Dewpoint Temperature in Moist Air: A Simple Conversion and Applications. Bull. Amer. Meteor. Soc., 86, 225-234, https://doi.org/10.1175/BAMS-86-2-225.
Methods
derive(air_temperature, specific_humidity, ...)Derive the dew point from ancillary vars.
Attributes
DEPENDENCIES- static derive(air_temperature, specific_humidity, surface_pressure)[source]
Derive the dew point from ancillary vars.
- Parameters:
air_temperature (np.ndarray) – Temperature in Celsius
specific_humidity (np.ndarray) – Specific humidity in kg/kg
surface_pressure (np.ndarray) – Pressure in Pa
- Returns:
dp (np.ndarray) – Dew point in Celsius.