powered by
Compute seawater pressure from depth by inverting swDepth using uniroot.
swDepth
uniroot
swPressure(depth, latitude = 45, eos = getOption("oceEOS", default = "gsw"))
distance below the surface in metres.
Latitude in \(^\circ\)N or radians north of the equator.
indication of formulation to be used, either "unesco" or "gsw".
"unesco"
"gsw"
Pressure in dbar.
If eos="unesco" this is done by numerical inversion of swDepth is done using uniroot. If eos="gsw", it is done using gsw_p_from_z in the gsw package.
eos="unesco"
eos="gsw"
gsw_p_from_z
gsw
Unesco 1983. Algorithms for computation of fundamental properties of seawater, 1983. Unesco Tech. Pap. in Mar. Sci., No. 44, 53 pp.
Other functions that calculate seawater properties: T68fromT90, T90fromT48, T90fromT68, swAbsoluteSalinity, swAlphaOverBeta, swAlpha, swBeta, swCSTp, swConservativeTemperature, swDepth, swDynamicHeight, swLapseRate, swN2, swRho, swRrho, swSCTp, swSTrho, swSigma0, swSigma1, swSigma2, swSigma3, swSigma4, swSigmaTheta, swSigmaT, swSigma, swSoundAbsorption, swSoundSpeed, swSpecificHeat, swSpice, swTFreeze, swTSrho, swThermalConductivity, swTheta, swViscosity, swZ
T68fromT90
T90fromT48
T90fromT68
swAbsoluteSalinity
swAlphaOverBeta
swAlpha
swBeta
swCSTp
swConservativeTemperature
swDynamicHeight
swLapseRate
swN2
swRho
swRrho
swSCTp
swSTrho
swSigma0
swSigma1
swSigma2
swSigma3
swSigma4
swSigmaTheta
swSigmaT
swSigma
swSoundAbsorption
swSoundSpeed
swSpecificHeat
swSpice
swTFreeze
swTSrho
swThermalConductivity
swTheta
swViscosity
swZ
# NOT RUN { swPressure(9712.653, 30, eos="unesco") # 10000 swPressure(9712.653, 30, eos="gsw") # 9998.863 # }
Run the code above in your browser using DataLab