ToBeReviewed/CALCULS/
hdyn.pro
Calculate the height by rapport to a reference state for a depth reference.
See keywords for different possibilities. By default, the state reference
is rho=1020 and the depth reference is gdepw[ka] with ka the first W level
directly above 1000 m.
hdyn
Calculation
result = hdyn(tabsn, tabtn, TREF=TREF, SREF=SREF, PROFREF=PROFREF, LEVEL=LEVEL, GILL=GILL, SURFACE_LEVEL=SURFACE_LEVEL)
Return value
An array of the same size of sn and tn representing the dynamic height calculated
from a reference depth nd by rapport to a reference state.
Parameters
tabsn
in
required
array representing the salinity
tabtn
in
required
array representing the temperature.Has the same size than SN
Keywords
TREF
Give a value to this keyword to change the reference temperature used in the
calculation when GILL is activated.
SREF
Give a value to this keyword to change the reference salinity used in the
calculation when GILL is activated.
PROFREF
Give a depth to this keyword which will be considered as the reference depth
(in this case, LEVEL has not any effect). the calculation will be effectuated
until this depth effecting an interpolation between the the last W level above
PROFREF and PROFREF.
LEVEL
It is the same reference level to take. This level is defined like
that gdepw[level] is the reference depth
GILL
We activate this key if we want to calculate the dynamic height
like in the GILL page 215, which means by rapport to a reference state which
vary in depth and which is determined by a reference temperature tref at 0°C
and a reference salinity sref at 35psu
SURFACE_LEVEL
default: 0
It is the level where we wan to calculate the dynamic height.
Version history
Version
$Id: hdyn.pro 157 2006-08-21 09:01:50Z navarro $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
Known issues
Restrictions
Points for which we can not calculate the dynamic height (whose the batymetry
is less deep than the reference depth) are put at the value !values.f_nan
approximation: The pressure in decibars is equal to the depth in meters (the pressure increase of 1bar all 10m)
Other attributes
Uses routines
common.pro
Produced by IDLdoc 2.0 on Tue Aug 29 14:49:51 2006.