sup3r.utilities.utilities.vorticity_calc

vorticity_calc(u, v, scale=1)[source]

Returns the vorticity field.

Parameters:
  • u (ndarray) – Longitudinal velocity component (lat, lon, temporal)

  • v (ndarray) – Latitudinal velocity component (lat, lon, temporal)

  • scale (float) – Value to scale vorticity by. Typically the spatial resolution, so that spatial derivatives can be compared across different resolutions

Returns:

ndarray – vorticity values (lat, lon, temporal)