earthkit.meteo.thermo

Thermodynamic functions.

The API is split into two layers:

  • Low-level implementations are in the array, xarray and fieldlist submodules.

  • High-level functions are in this module and dispatch to backend implementations based on input type.

Submodules

Functions

dewpoint_from_relative_humidity(…)

Compute the dewpoint temperature from relative humidity.

dewpoint_from_specific_humidity(…)

Compute the dewpoint temperature from specific humidity.

ept_from_dewpoint(…)

Compute the equivalent potential temperature from dewpoint.

ept_from_specific_humidity(…)

Compute the equivalent potential temperature from specific humidity.

lcl(…)

Compute the temperature and pressure of the Lifting Condensation Level (LCL) from dewpoint.

lcl_temperature(…)

Compute the Lifting Condensation Level (LCL) temperature from dewpoint.

mixing_ratio_from_dewpoint(…)

Compute the mixing ratio from dewpoint.

mixing_ratio_from_specific_humidity(…)

Compute the mixing ratio from specific humidity.

mixing_ratio_from_vapour_pressure(…)

Compute the mixing ratio from vapour pressure.

potential_temperature(…)

Compute the potential temperature.

pressure_on_dry_adiabat(…)

Compute the pressure on a dry adiabat.

relative_humidity_from_dewpoint(…)

Compute the relative humidity from dewpoint temperature.

relative_humidity_from_specific_humidity(…)

Compute the relative humidity from specific humidity.

saturation_ept(…)

Compute the saturation equivalent potential temperature.

saturation_mixing_ratio(…)

Compute the saturation mixing ratio from temperature with respect to a phase.

saturation_mixing_ratio_slope(…)

Compute the slope of saturation mixing ratio with respect to temperature.

saturation_specific_humidity(…)

Compute the saturation specific humidity from temperature with respect to a phase.

saturation_specific_humidity_slope(…)

Compute the slope of saturation specific humidity with respect to temperature.

saturation_vapour_pressure(…)

Compute the saturation vapour pressure from temperature with respect to a phase.

saturation_vapour_pressure_slope(…)

Compute the slope of saturation vapour pressure with respect to temperature.

specific_gas_constant(…)

Compute the specific gas constant of moist air.

specific_humidity_from_dewpoint(…)

Compute the specific humidity from dewpoint.

specific_humidity_from_mixing_ratio(…)

Compute the specific humidity from mixing ratio.

specific_humidity_from_relative_humidity(…)

Compute the specific humidity from relative_humidity.

specific_humidity_from_vapour_pressure(…)

Compute the specific humidity from vapour pressure.

temperature_from_potential_temperature(…)

Compute the temperature from potential temperature.

temperature_from_saturation_vapour_pressure(…)

Compute the temperature from saturation vapour pressure.

temperature_on_dry_adiabat(…)

Compute the temperature on a dry adiabat.

temperature_on_moist_adiabat(…)

Compute the temperature on a moist adiabat (pseudoadiabat).

vapour_pressure_from_mixing_ratio(…)

Compute the vapour pressure from mixing ratio.

vapour_pressure_from_specific_humidity(…)

Compute the vapour pressure from specific humidity.

virtual_potential_temperature(…)

Compute the virtual potential temperature from temperature and specific humidity.

virtual_temperature(…)

Compute the virtual temperature from temperature and specific humidity.

wet_bulb_potential_temperature_from_dewpoint(…)

Compute the pseudo adiabatic wet bulb potential temperature from dewpoint.

wet_bulb_potential_temperature_from_specific_humidity(…)

Compute the pseudo adiabatic wet bulb potential temperature from specific humidity.

wet_bulb_temperature_from_dewpoint(…)

Compute the pseudo adiabatic wet bulb temperature from dewpoint.

wet_bulb_temperature_from_specific_humidity(…)

Compute the pseudo adiabatic wet bulb temperature from specific humidity.