meteodatalab.operators.atmo

Atmospheric thermodynamic functions.

Functions

pv_qp(qv, p)

Partial pressure of water vapor (from perfect gas law and approximating q~w).

pv_si(t)

Pressure of water vapor at equilibrium over ice.

pv_sm(t)

Pressure of water vapor at equilibrium over mixed phase.

pv_sw(t)

Pressure of water vapor at equilibrium over liquid water.

qv_pvp(pv, p)

Specific water vapor content (from perfect gas law and approximating q~w).

meteodatalab.operators.atmo.pv_qp(qv, p)[source]

Partial pressure of water vapor (from perfect gas law and approximating q~w).

Parameters:
  • qv (xarray.DataArray) – water vapor mixing ratio

  • p (xarray.DataArray) – pressure

Returns:

partial pressure of water vapor (same unit as p)

Return type:

xarray.DataArray

meteodatalab.operators.atmo.pv_si(t)[source]

Pressure of water vapor at equilibrium over ice.

Parameters:

t (xarray.DataArray) – temperature (in Kelvin)

Returns:

pressure of water vapor in Pascal

Return type:

xarray.DataArray

meteodatalab.operators.atmo.pv_sm(t)[source]

Pressure of water vapor at equilibrium over mixed phase.

Parameters:

t (xarray.DataArray) – temperature (in Kelvin)

Returns:

pressure of water vapor in Pascal

Return type:

xarray.DataArray

meteodatalab.operators.atmo.pv_sw(t)[source]

Pressure of water vapor at equilibrium over liquid water.

Parameters:

t (xarray.DataArray) – temperature (in Kelvin)

Returns:

pressure of water vapor in Pascal

Return type:

xarray.DataArray

meteodatalab.operators.atmo.qv_pvp(pv, p)[source]

Specific water vapor content (from perfect gas law and approximating q~w).

Parameters:
  • pv (xarray.DataArray) – pressure of water vapor

  • p (xarray.DataArray) – pressure

Returns:

specific water vapor (dimensionless)

Return type:

xarray.DataArray