thetav

Definition of the thetav operator.

Functions

fthetav(p, t, qv)

Virtual potential temperature in K.

meteodatalab.operators.thetav.fthetav(p: DataArray, t: DataArray, qv: DataArray) DataArray[source]

Virtual potential temperature in K.

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

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

  • qv (xarray.DataArray) – specific humidity (dimensionless)

Returns:

virtual potential temperature in K

Return type:

xarray.DataArray