oocgcm.core.grids.generic_2d_grid.geostrophic_current_from_sea_surface_height¶
- generic_2d_grid.geostrophic_current_from_sea_surface_height(sea_surface_height)¶
Return the geostrophic current on u,v-grids.
Parameters: scalararray : xarray.DataArray
xarray of sea surface height at grid_location=’t’
Returns: vectorfield : VectorField2d namedtuple
Two-dimensional vector field of geostrophic currents at u,v-points.