powered by
Practical Salinity from Preformed Salinity
gsw_SP_from_Sstar(Sstar, p, longitude, latitude)
Preformed Salinity [ g/kg ]
sea pressure [ dbar ]
longitude in decimal degrees [ 0 ... +360 ] or [ -180 ... +180 ]
latitude in decimal degrees north [ -90 ... +90 ]
Practical Salinity (PSS-78) [ unitless ]
http://www.teos-10.org/pubs/gsw/html/gsw_SP_from_Sstar.html
gsw_Sstar_from_SP does the reverse; gsw_SA_from_Sstar is similar.
gsw_Sstar_from_SP
gsw_SA_from_Sstar
# NOT RUN { gsw_SP_from_Sstar(34.7115, 10, 188, 4) # 34.548646570969929 # }
Run the code above in your browser using DataLab