| sw_sfac {marelac} | R Documentation |
Factors to convert from practical to absolute salinity and vice versa.
sw_sfac
A list with the following:
del\_sa,
del\_sa, a vector
with 44 elements, range (-82,90),
del\_sa, a vector
with 45 elements, range(0,6131),
Karline Soetaert <k.soetaert@nioo.knaw.nl>
Millero FJ, Feistel R, Wright DG and McDougall TJ, 2008. The composition of Standard Seawater and the definition of the Reference-Composition Salinity Scale, Deep-Sea Res. I, 55, 50-72.
McDougall TJ, Jackett DR and Millero FJ, 2009. An algorithm for estimating Absolute Salinity in the global ocean. Ocean Science Discussions 6, 215-242. http://www.ocean-sci-discuss.net/6/215/2009/
Uses the Fortran code written by David Jackett http://www.marine.csiro.au/~jackett/TEOS-10/
convert_PStoAS, to convert from practical salinity to
absolute salinity
convert_AStoPS, to convert from absolute salinity to
practical salinity
mf <- par(mfrow=c(2,1))
ma <- par(mar=c(3,5,2,5))
dsal <- t(sw_sfac$del_sa[1,,])
dsal [dsal < -90]<-NA
image(sw_sfac$longs, sw_sfac$lats, dsal, col=femmecol(100),
asp=TRUE,xlab="dg",ylab="dg",
main="salinity conversion - p = 0 bar")
contour(sw_sfac$longs, sw_sfac$lats, dsal, asp=TRUE, add=TRUE)
dsal <- t(sw_sfac$del_sa[5,,]) # 5th depth level sw_sfac$p[5]
dsal [dsal < -90]<-NA
image(sw_sfac$longs, sw_sfac$lats, dsal, col=femmecol(100),
asp=TRUE, xlab="dg", ylab="dg",
main="salinity conversion - p = 4 bar")
contour(sw_sfac$longs, sw_sfac$lats, dsal, asp=TRUE, add=TRUE)
par("mfrow"=mf)
par("mar"=ma)