xoa.dyn

xoa.dyn#

Routines related to ocean dynamics.

Provides get_sea_level() for identifying sea level variables, flow2d() for 2D Lagrangian particle advection, and the kinematic diagnostics computed from velocities on collocated grids, that may have levels with a variable vertical coordinate (see also VerticalModes for the vertical modes): get_relvort(), get_div(), get_strain(), get_okuboweiss(), as well as get_coriolis() and get_geos().

Functions

flow2d(u, v, xy0, duration, step[, date])

Integrate gridded 2D velocities from initial positions

format_uv_docstring(func)

Decorator that inserts the description of the velocity parameters in a docstring

get_coriolis(lat)

Compute the Coriolis parameter, in s-1

get_cyclogeos(ssh[, dx, dy, terms, smooth, ...])

Compute the cyclogeostrophic currents from the sea surface height, in m s-1

get_div(u, v[, dx, dy, z, normalize])

Compute the horizontal divergence, in s-1

get_geos(ssh[, dx, dy])

Compute the geostrophic currents from the sea surface height, in m s-1

get_okuboweiss(u, v[, dx, dy, z, normalize])

Compute the Okubo-Weiss parameter, in s-2

get_relvort(u, v[, dx, dy, z])

Compute the relative vorticity, in s-1

get_rossby_radius(n2[, z, lat, zrange, fmin])

Estimate the first baroclinic Rossby radius of deformation, in m

get_sea_level(ds[, variant, errors])

Search for a sea level variable in a dataset

get_strain(u, v[, dx, dy, z, normalize])

Compute the normal and shear strains, in s-1

get_u(ds[, variant, errors])

Search for a eastward or along-X velocity variable in a dataset

get_v(ds[, variant, errors])

Search for a northward or along-Y velocity variable in a dataset

Classes

VerticalModes(n2[, z, nmodes, bc, lat, ...])

Vertical modes of water columns, to decompose and recompose profiles