meteodatalab.operators.theta

algorithm to compute the potential temperature theta in K.

Functions

compute_theta(p, t)

Potential temperature in K.

meteodatalab.operators.theta.compute_theta(p: DataArray, t: DataArray) DataArray[source]

Potential temperature in K.

Parameters:
  • p (xarray.DataArray) – pressure in Pa

  • t (xarray.DataArray) – air temperature in K

Returns:

potential temperature in K

Return type:

xarray.DataArray