cedar.physics.shr

cedar.physics.shr

Core physics routines for Sensible Heat Ratio (SHR).

Provides relative humidity from dew point and the base SHR calculation. All units are SI: Kelvin, Pascal, and dimensionless ratios.

Functions

compute_relative_humidity(t2m, d2m)

Return relative humidity [0,1] from temperature and dewpoint in Kelvin.

sensible_heat_ratio(t_in_k, rh_in, *[, ...])

Compute SHR for inlet air temperature and relative humidity.

sensible_heat_ratio_from_dewpoint(t_in, ...)

Convenience wrapper: compute SHR when dew point is provided instead of RH.