xoa.thermdyn

xoa.thermdyn#

Thermodynamics utilities.

Provides functions to identify and retrieve temperature, salinity and density variables from datasets, and to compute the mixed layer depth.

Functions

convert_sal(sal[, to, sal_kind, z, lat, lon])

Convert a salinity from a kind to another one

convert_temp(temp[, to, temp_kind, sal, ...])

Convert a temperature from a kind to another one

get_dens(ds[, variant, errors])

Search for a density variable in a dataset

get_n2(temp, sal[, z, lat, lon, temp_kind, ...])

Compute the squared Brunt-Vaisala frequency, or buoyancy frequency, in s-2

get_sal(ds[, variant, errors])

Search for a salinity variable in a dataset

get_temp(ds[, variant, errors])

Search for a temperature variable in a dataset

is_dens(da[, variant])

Check if da is a density-like array

is_sal(da[, variant])

Check if da is a salinity-like array

is_temp(da[, variant])

Check if da is a temperature-like array

mixed_layer_depth(da[, method, zref, ...])

Compute the mixed layer depth with different methods