earthkit.meteo.thermo.array

Thermodynamic functions operating on numpy arrays.

Functions

celsius_to_kelvin(t)

Convert temperature values from Celsius to Kelvin.

dewpoint_from_relative_humidity(t, r)

Compute the dewpoint temperature from relative humidity.

dewpoint_from_specific_humidity(q, p)

Compute the dewpoint temperature from specific humidity.

ept_from_dewpoint(t, td, p[, method])

Compute the equivalent potential temperature from dewpoint.

ept_from_specific_humidity(t, q, p[, method])

Compute the equivalent potential temperature from specific humidity.

lcl(t, td, p[, method])

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

lcl_temperature(t, td[, method])

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

mixing_ratio_from_dewpoint(td, p)

Compute the mixing ratio from dewpoint.

mixing_ratio_from_specific_humidity(q)

Compute the mixing ratio from specific humidity.

mixing_ratio_from_vapour_pressure(e, p[, eps])

Compute the mixing ratio from vapour pressure.

potential_temperature(t, p)

Compute the potential temperature.

pressure_on_dry_adiabat(t, t_def, p_def)

Compute the pressure on a dry adiabat.

relative_humidity_from_dewpoint(t, td)

Compute the relative humidity from dewpoint temperature.

relative_humidity_from_specific_humidity(t, q, p)

Compute the relative humidity from specific humidity.

saturation_ept(t, p[, method])

Compute the saturation equivalent potential temperature.

saturation_mixing_ratio(t, p[, phase])

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

saturation_mixing_ratio_slope(t, p[, es, es_slope, ...])

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

saturation_specific_humidity(t, p[, phase])

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

saturation_specific_humidity_slope(t, p[, es, ...])

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

saturation_vapour_pressure(t[, phase])

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

saturation_vapour_pressure_slope(t[, phase])

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

specific_gas_constant(q)

Compute the specific gas constant of moist air.

specific_humidity_from_dewpoint(td, p)

Compute the specific humidity from dewpoint.

specific_humidity_from_mixing_ratio(w)

Compute the specific humidity from mixing ratio.

specific_humidity_from_relative_humidity(t, r, p)

Compute the specific humidity from relative_humidity.

specific_humidity_from_vapour_pressure(e, p[, eps])

Compute the specific humidity from vapour pressure.

temperature_from_potential_temperature(th, p)

Compute the temperature from potential temperature.

temperature_from_saturation_vapour_pressure(es)

Compute the temperature from saturation vapour pressure.

temperature_on_dry_adiabat(p, t_def, p_def)

Compute the temperature on a dry adiabat.

temperature_on_moist_adiabat(ept, p[, ept_method, ...])

Compute the temperature on a moist adiabat (pseudoadiabat).

vapour_pressure_from_mixing_ratio(w, p)

Compute the vapour pressure from mixing ratio.

vapour_pressure_from_specific_humidity(q, p)

Compute the vapour pressure from specific humidity.

virtual_potential_temperature(t, q, p)

Compute the virtual potential temperature from temperature and specific humidity.

virtual_temperature(t, q)

Compute the virtual temperature from temperature and specific humidity.

wet_bulb_potential_temperature_from_dewpoint(t, td, p)

Compute the pseudo adiabatic wet bulb potential temperature from dewpoint.

wet_bulb_potential_temperature_from_specific_humidity(t, q, p)

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

wet_bulb_temperature_from_dewpoint(t, td, p[, ...])

Compute the pseudo adiabatic wet bulb temperature from dewpoint.

wet_bulb_temperature_from_specific_humidity(t, q, p[, ...])

Compute the pseudo adiabatic wet bulb temperature from specific humidity.