mom_eos_unesco module reference¶
The equation of state using the Jackett and McDougall fits to the UNESCO EOS.
Functions/Subroutines¶
This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state. |
|
This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state. |
|
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. |
|
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. |
|
This subroutine calculates the partial derivatives of density with potential temperature and salinity. |
|
This subroutine computes the in situ density of sea water (rho) and the compressibility (drho/dp == C_sound^-2) at the given salinity, potential temperature, and pressure. |
Detailed Description¶
The equation of state using the Jackett and McDougall fits to the UNESCO EOS.
Function/Subroutine Documentation¶
-
subroutine
mom_eos_unesco/calculate_density_scalar_unesco(T, S, pressure, rho, rho_ref)¶ This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state.
- Parameters
t :: [in] Potential temperature relative to the surface [degC].
s :: [in] Salinity [PSU].
pressure :: [in] pressure [Pa].
rho :: [out] In situ density [kg m-3].
rho_ref :: [in] A reference density [kg m-3].
- Call to
-
subroutine
mom_eos_unesco/calculate_density_array_unesco(T, S, pressure, rho, start, npts, rho_ref)¶ This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state.
- Parameters
t :: [in] potential temperature relative to the surface [degC].
s :: [in] salinity [PSU].
pressure :: [in] pressure [Pa].
rho :: [out] in situ density [kg m-3].
start :: [in] the starting point in the arrays.
npts :: [in] the number of values to calculate.
rho_ref :: [in] A reference density [kg m-3].
- Call to
r00r01r02r032r10r11r132r20r21r232r30r31r40r41r50s00s01s032s10s11s132s20s21s232s30s31s40sp00sp000sp001sp01sp010sp011sp020sp021sp032sp10sp11sp20sp21sp30- Called from
-
subroutine
mom_eos_unesco/calculate_spec_vol_scalar_unesco(T, S, pressure, specvol, spv_ref)¶ This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. If spv_ref is present, specvol is an anomaly from spv_ref.
- Parameters
t :: [in] potential temperature relative to the surface [degC].
s :: [in] salinity [PSU].
pressure :: [in] pressure [Pa].
specvol :: [out] in situ specific volume [m3 kg-1].
spv_ref :: [in] A reference specific volume [m3 kg-1].
- Call to
-
subroutine
mom_eos_unesco/calculate_spec_vol_array_unesco(T, S, pressure, specvol, start, npts, spv_ref)¶ This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. If spv_ref is present, specvol is an anomaly from spv_ref.
- Parameters
t :: [in] potential temperature relative to the surface [degC].
s :: [in] salinity [PSU].
pressure :: [in] pressure [Pa].
specvol :: [out] in situ specific volume [m3 kg-1].
start :: [in] the starting point in the arrays.
npts :: [in] the number of values to calculate.
spv_ref :: [in] A reference specific volume [m3 kg-1].
- Call to
r00r01r02r032r10r11r132r20r21r232r30r31r40r41r50s00s01s032s10s11s132s20s21s232s30s31s40sp00sp000sp001sp01sp010sp011sp020sp021sp032sp10sp11sp20sp21sp30- Called from
-
subroutine
mom_eos_unesco/calculate_density_derivs_unesco(T, S, pressure, drho_dT, drho_dS, start, npts)¶ This subroutine calculates the partial derivatives of density with potential temperature and salinity.
- Parameters
t :: [in] Potential temperature relative to the surface [degC].
s :: [in] Salinity [PSU].
pressure :: [in] Pressure [Pa].
drho_dt :: [out] The partial derivative of density with potential temperature [kg m-3 degC-1].
drho_ds :: [out] The partial derivative of density with salinity, in [kg m-3 PSU-1].
start :: [in] The starting point in the arrays.
npts :: [in] The number of values to calculate.
- Call to
r00r01r02r032r10r11r132r20r21r232r30r31r40r41r50s00s01s032s10s11s132s20s21s232s30s31s40sp00sp000sp001sp01sp010sp011sp020sp021sp032sp10sp11sp20sp21sp30
-
subroutine
mom_eos_unesco/calculate_compress_unesco(T, S, pressure, rho, drho_dp, start, npts)¶ This subroutine computes the in situ density of sea water (rho) and the compressibility (drho/dp == C_sound^-2) at the given salinity, potential temperature, and pressure.
- Parameters
t :: [in] Potential temperature relative to the surface [degC].
s :: [in] Salinity [PSU].
pressure :: [in] Pressure [Pa].
rho :: [out] In situ density [kg m-3].
drho_dp :: [out] The partial derivative of density with pressure (also the inverse of the square of sound speed) [s2 m-2].
start :: [in] The starting point in the arrays.
npts :: [in] The number of values to calculate.
- Call to
r00r01r02r032r10r11r132r20r21r232r30r31r40r41r50s00s01s032s10s11s132s20s21s232s30s31s40sp00sp000sp001sp01sp010sp011sp020sp021sp032sp10sp11sp20sp21sp30- Called from