potential_vorticity#

rojak.turbulence.calculations.potential_vorticity(vorticity: DataArray, theta: DataArray) DataArray[source]#

Ertel’s potential vorticity

Potential vorticity is defined in [Sharman2006] as,

\[\text{PV} = -g \zeta_{a} \frac{ \partial \theta }{ \partial p }\]

where \(\zeta_{a}\) is the absolute vorticity (see absolute_vorticity()), \(\theta\) is the potential temperature, \(p\) is the pressure, \(g\) is the acceleration due to gravity.

Parameters:
  • vorticity (DataArray) – Array of vorticity values

  • theta (DataArray) – Array of potential temperature values

Return type:

DataArray