oceanspy.utils.densjmd95

oceanspy.utils.densjmd95(s, t, p)[source]

Density of Sea Water using Jackett and McDougall 1995 (JAOT 12) polynomial (modified UNESCO polynomial) [JaMc95]. jmd95.py: http://mitgcm.org/download/daily_snapshot/MITgcm/utils/python/MITgcmutils/MITgcmutils/jmd95.py

Parameters
s: xarray.DatArray, array-like

salinity [psu (PSS-78)]

t: xarray.DatArray, array-like

potential temperature [degree C (IPTS-68)]

p: xarray.DatArray, array-like

pressure [dbar] (p may have dims 1x1, mx1, 1xn or mxn for S(mxn))

Returns
rho: xarray.DatArray, array-like

density [kg/m^3]

References

JaMc95

Jackett, D.R. and T.J. Mcdougall, 1995: Minimal Adjustment of Hydrographic Profiles to Achieve Static Stability. J. Atmos. Oceanic Technol., 12, 381–389, https://doi.org/10.1175/1520-0426(1995)012<0381:MAOHPT>2.0.CO;2