Learn R Programming

gsw (version 1.0-3)

gsw_pt_from_t: Potential temperature from in-situ temperature

Description

Potential temperature from in-situ temperature

Usage

gsw_pt_from_t(SA, t, p, p_ref = 0)

Arguments

SA

Absolute Salinity [ g/kg ]

t

in-situ temperature (ITS-90) [ deg C ]

p

sea pressure [ dbar ]

p_ref

reference pressure [ dbar ]

Value

potential temperature [ deg C ]

References

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

See Also

gsw_pt_from_CT is the analogue for Conservative Temperature

Examples

Run this code
# NOT RUN {
gsw_pt_from_t(34.7118, 28.7856, 10, 0) # 28.783196819670632
# }

Run the code above in your browser using DataLab