RSKderivebuoyancy.m

Arguments

Input

 -Required- 

  • RSK - Structure containing the logger metadata and data

 -Optional-

  • latitude: latitude in decimal degrees north[-90 ... +90]. When latitude is available from both optional input and RSK.data structure, the optional input will override. When neither source is available, it will use 45 as default.
  • seawaterLibrary: specify which library to use, should be either 'TEOS-10' or 'seawater', default is TEOS-10.

Output

  • RSK - Updated structure containing buoyancy frequency and stability.


This function derives buoyancy frequency and stability using the TEOS-10 GSW toolbox or seawater library.  The new variables are stored in new columns in the data table.  

Example:

rsk = RSKderivebuoyancy(rsk,'latitude',50)

The Absolute Salinity anomaly is taken to be zero to simplify the calculation.