easyclimate.field.ocean._gsw_wrap¶
Small xarray-friendly wrapper around GSW-Python.
This module provides the xarray-aware subset of GSW-Python used by the ocean field calculations.
Functions¶
|
Calculate sea pressure from height using GSW-Python. |
|
Calculate Absolute Salinity from Practical Salinity. |
|
Calculate Conservative Temperature from in-situ temperature. |
|
Calculate buoyancy frequency squared and midpoint pressure. |
|
Calculate potential density from in-situ temperature. |
|
Calculate in-situ density. |
Module Contents¶
- easyclimate.field.ocean._gsw_wrap.p_from_z(z, lat)¶
Calculate sea pressure from height using GSW-Python.
- easyclimate.field.ocean._gsw_wrap.SA_from_SP(SP, p, lon, lat)¶
Calculate Absolute Salinity from Practical Salinity.
- easyclimate.field.ocean._gsw_wrap.CT_from_t(SA, t, p)¶
Calculate Conservative Temperature from in-situ temperature.
- easyclimate.field.ocean._gsw_wrap.Nsquared(SA, CT, p, lat=None, axis=0)¶
Calculate buoyancy frequency squared and midpoint pressure.
- easyclimate.field.ocean._gsw_wrap.pot_rho_t_exact(SA, t, p, p_ref)¶
Calculate potential density from in-situ temperature.
- easyclimate.field.ocean._gsw_wrap.rho(SA, CT, p)¶
Calculate in-situ density.