geostrophic_current#

geostrophic_current(ssh, lat, dx, dy, sin_t, cos_t)[source]#

Compute geostrophic currents when dx, dy (in meters) are already known.

Parameters:
  • ssh (2D array [m]) – Sea surface height.

  • lat (2D array [deg]) – Latitude (only used to mask low-latitude values if needed).

  • f (2D array [s^-1]) – Coriolis parameter (2*omega*sin(lat)).

  • dx (2D arrays [m]) – Grid spacing in x (zonal) and y (meridional) directions.

  • dy (2D arrays [m]) – Grid spacing in x (zonal) and y (meridional) directions.

Returns:

u, v – Eastward (u) and northward (v) geostrophic velocities.

Return type:

2D arrays [m/s]