Skip to main content
Skip table of contents

RSKderiveSA.m

Arguments

Input

-Required- 

  • RSK

-Optional- 

  • latitudelatitude in decimal degrees north.
  • longitude : longitude in decimal degrees east.

Output

  • RSK

The function derives absolute salinity using the TEOS-10 GSW toolbox (http://www.teos-10.org/software.htm). The result is added to the RSK data structure, and the channel list is updated. The workflow of the function depends on if GPS information is available:

  1. When latitude and longitude data are available (either from optional input or station data in RSK.data.latitude/longitude), the function will call SA = gsw_SA_from_SP(salinity,seapressure,lon,lat)
  2. When latitude and longitude data are absent, the function will call SA = gsw_SR_from_SP(salinity) assuming that reference salinity equals absolute salinity approximately.


Note

When geographic information are both available from optional inputs and RSK.data structure, the optional inputs will override. The inputs latitude/longitude must be either a single value of vector of the same length of RSK.data.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.