effluent.eos

Contains the implementation for the Equation of State

Functions

roms_rho(temp, salt, depth)

Computes water density from temperature, salinity and depth.

Module Contents

effluent.eos.roms_rho(temp, salt, depth)

Computes water density from temperature, salinity and depth.

The algorithm is taken directly from the ROMS source file rho_eos.F

David R. Jackett and Trevor J. Mcdougall (1995): Minimal Adjustment of Hydrographic Profiles to Achieve Static Stability. Journal of Atmospheric and Oceanic Technology 12, no. 2: 381–89.

Parameters:
  • temp – Temperature, in degrees Celcius

  • salt – Salinity, in PSU

  • depth – Depth, in meters

Returns:

Density, in kg/m3