swConservativeTemperature(salinity, temperature=NULL, pressure=NULL,
longitude=300, latitude=30)
temperature
and pressure
must be provided) or an oce
object
(in which case salinity
, etc. are inferred from the object).swRho
.oce
object, then values for
salinity, etc., are extracted from it, and used for the calculation, and
the corresponding arguments to the present function are ignored. The conservative temperature is calculated using the TEOS-10 function
gsw_CT_from_t
from the
swAbsoluteSalinity
. For a ctd object, conservative
temperature may also be recovered by indexing as e.g.
ctd[["conservativeTemperature"]]
or ctd[["CT"]]
.swConservativeTemperature(35,10,1000,188,4) # 9.86883
Run the code above in your browser using DataLab