Calculation Library#
Every hydrometeorological calculation in the library, grouped by the module it lives in.
Each calculation is a single function. Click on a name for its equation, the paper or standard it comes from, its units, and the meaning of every argument. The rules for what you can pass in and what comes back are the same for all of them, and are set out in Flexible inputs.
meteorology#
Radiation balance and atmospheric-state variables. Full page: meteorology.
Calculate absolute humidity Q [g m-3] |
|
Calculate albedo [unitless fraction] |
|
Calculate if a given day is a snow day. |
|
Calculate mean sea level pressure (mslp) [hPa] |
|
Calculate the mean soil heat flux (g) from two soil heat flux measurements [W m-2] |
|
Calculate net radiation (rn) [W m-2] |
|
Calculate the solar zenith angle (theta_s) [radians] |
evapotranspiration#
The FAO-56 Penman-Monteith calculation and the intermediate variables it is built from, and evapotranspiration from the latent heat flux of the surface energy balance. Full page: evapotranspiration.
Actual vapour pressure (ea) [kPa] |
|
Evapotranspiration (ET) from latent heat flux [mm h-1] |
|
Latent heat flux (LE) as the residual of the surface energy balance [W m-2] |
|
Latent heat of vaporization (lambda) [MJ kg-1] |
|
Calculate potential evapotranspiration (pet) [mm 30min-1] |
|
Psychrometric constant (gamma) [kPa degC-1] |
|
Saturation vapour pressure (es) [kPa] |
|
Slope of vapour pressure curve (delta) [kPa degC-1] |
|
Convert wind speed to 2m height [m s-1] |
cosmos (soil moisture)#
Cosmic-ray neutron sensor corrections, soil moisture, and snow water equivalent. Full page: cosmos (soil moisture).
Calculate absolute humidity correction factor to neutron counts [unitless] |
|
Calculate atmospheric pressure correction factor to neutron counts [unitless] |
|
Calculate corrected neutron counts using correction factors [counts h-1] |
|
Calculate D86 value [cm] |
|
Original effective depth calculation from SIMPLE VWC method [cm] |
|
Calculate incoming neutron count intensity correction factor using a background reference station [unitless] |
|
Calculate uncertainty in a snow water equivalence (SWE) calculation for the above ground COSMOS sensor [mm water equivalent] |
|
Calculate uncertainty in a snow water equivalence (SWE) calculation for a below ground (SnowFox) COSMOS sensor [mm water equivalent] |
|
Calculate CRNS count estimates when there is snow [counts h-1] |
|
Calculate snow water equivalence (SWE) for an above ground COSMOS sensor [mm water equivalent] |
|
Calculate snow water equivalence (SWE) for a below ground (SnowFox) COSMOS sensor [mm water equivalent] |
|
Calculate soil moisture index (SMI) [unitless, 0-2] |
|
Calculate volumetric water content (VWC) from corrected neutron counts and site annotations [%] |