Compute seawater "spice" (a variable orthogonal to density in TS space).
either salinity [PSU] (in which case
in-situ temperature [degC] on the
ITS-90 scale; see “Temperature units” in the documentation for
seawater pressure [dbar]
If the first argument is a
ctd object, then salinity, temperature and
pressure values are extracted from it, and used for the calculation.
Roughly speaking, seawater with a high spiciness is relatively warm and salty compared with less spicy water. Another interpretation is that spice is a variable measuring distance orthogonal to isopycnal lines on TS diagrams (if the diagrams are scaled to make the isopycnals run at 45 degrees). The definition used here is that of Pierre Flament. (Other formulations exist.) Note that pressure is ignored in the definition. Spiciness is sometimes denoted pi(S,t,p).
P. Flament, 2002. A state variable for characterizing water masses and their diffusive stability: spiciness. Progr. Oceanog., 54, 493-501.
Other functions that calculate seawater properties:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.