pvtend.d_dphi

pvtend.d_dphi(field: ndarray, dphi: float) ndarray[source]

Meridional derivative in angular coordinates ∂f/∂φ.

Matches LOG20 d_dphi.m: centred differences in the interior, 3-point one-sided stencils at the polar boundaries.

Parameters:
  • field – 2-D (nlat, nlon) or 3-D (nlev, nlat, nlon).

  • dphi – Meridional grid spacing in radians.

Returns:

Same shape, in [field_units / radian].