mom_temperature_convert module reference

Functions to convert between conservative and potential temperature.

More…

Functions/Subroutines

potemp_to_constemp()

Convert input potential temperature [degC] and absolute salinity [g kg-1] to returned conservative temperature [degC] using the polynomial expressions from TEOS-10.

dtc_dtp()

Return the partial derivative of conservative temperature with potential temperature [nondim] based on the polynomial expressions from TEOS-10.

constemp_to_potemp()

Convert input potential temperature [degC] and absolute salinity [g kg-1] to returned conservative temperature [degC] by inverting the polynomial expressions from TEOS-10.

Detailed Description

Functions to convert between conservative and potential temperature.

Function/Subroutine Documentation

function mom_temperature_convert/potemp_to_constemp(T, Sa) [real]

Convert input potential temperature [degC] and absolute salinity [g kg-1] to returned conservative temperature [degC] using the polynomial expressions from TEOS-10.

Parameters:
  • t :: [in] Potential temperature [degC]

  • sa :: [in] Absolute salinity [g kg-1]

Call to:

h00 h01 h02 h03 h04 h05 h06 h07 h20 h21 h22 h23 h24 h25 h26 h30 h31 h32 h33 h34 h40 h41 h42 h43 h44 h45 h50 h60 h70 i_s0

Called from:

constemp_to_potemp

function mom_temperature_convert/dtc_dtp(T, Sa) [real]

Return the partial derivative of conservative temperature with potential temperature [nondim] based on the polynomial expressions from TEOS-10.

Parameters:
  • t :: [in] Potential temperature [degC]

  • sa :: [in] Absolute salinity [g kg-1]

Call to:

h01 h02 h03 h04 h05 h06 h07 h21 h22 h23 h24 h25 h26 h31 h32 h33 h34 h41 h42 h43 h44 h45 i_s0

Called from:

constemp_to_potemp

function mom_temperature_convert/constemp_to_potemp(Tc, Sa) [real]

Convert input potential temperature [degC] and absolute salinity [g kg-1] to returned conservative temperature [degC] by inverting the polynomial expressions from TEOS-10.

Parameters:
  • tc :: [in] Conservative temperature [degC]

  • sa :: [in] Absolute salinity [g kg-1]

Call to:

dtc_dtp potemp_to_constemp sprac_sref