gsw_IPV_vs_fNsquared_ratio {gsw} | R Documentation |
Note that the C library had to be patched to get this working; a new version of the library will address the bug directly.
gsw_IPV_vs_fNsquared_ratio(SA, CT, p, p_ref = 0)
SA |
Absolute Salinity [ g/kg ] |
CT |
Conservative Temperature [ deg C ] |
p |
sea pressure [ dbar ] |
p_ref |
reference pressure [ dbar ] |
list containing IPV_vs_fNsquared_ratio [ unitless ] and mid-point pressure p_mid [ dbar ]
http://www.teos-10.org/pubs/gsw/html/gsw_IPV_vs_fNsquared_ratio.html
SA <- c(34.7118, 34.8915) CT <- c(28.8099, 28.4392) p <- c( 10, 50) p_ref <- 0 r <- gsw_IPV_vs_fNsquared_ratio(SA, CT, p, p_ref) r$IPV_vs_fNsquared_ratio # 0.999745283730840 r$p_mid # 30