gsw_Nsquared: Calculate square of buoyancy frequency

Description Usage Arguments Value References Examples

Description

BUG: the values seem to be off by about 1 part in 1e6, which is too high to be explained by numerical precision (I think).

Usage

1
gsw_Nsquared(SA, CT, p, latitude = 0)

Arguments

SA

Absolute salinity.

CT

Conservative temperature.

p

Sea pressure in decibars.

latitude

The latitude in deg North.

Value

Square of buoyancy frequency in 1/s^2, a vector of length 1 less than SA.

References

http://www.teos-10.org/pubs/gsw/html/gsw_Nsquared.html

Examples

1
2
3
4
5
SA <- c(34.7118, 34.8915)
CT <- c(28.8099, 28.4392)
p <- c(      10,      50)
latitude <- 4
gsw_Nsquared(SA, CT, p, latitude) # 6.0846990523477e-5

dankelley/teos10 documentation built on May 14, 2019, 6:04 p.m.