RSKderivebuoyancy.m
Arguments
Input
-Required-
Structure containing the logger metadata and dataRSK -
-Optional-
latitude
: latitude in decimal degrees north. If latitude is not provided, a default gravitational acceleration 9.7963 m/s^2 will be used.seawaterLibrary
: specify which library to use, should be either 'TEOS-10' or 'seawater', default is TEOS-10.
Output
Updated structure containing buoyancy frequency and stability.RSK -
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.