R: Potential temperature from in-situ temperature

gsw_pt_from_t {gsw} | R Documentation

## 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

    gsw_pt_from_t(34.7118, 28.7856, 10, 0) # 28.783196819670632

[Package gsw version 1.0-3 Index]