ToBeReviewed/CALCULS/
depth2level.pro
Allows to pass from a 2d depth array to a corresponding 2d level array.
depth2level
Without loop
result = depth2level(tab, LOWER=LOWER, UPPER=UPPER, CLOSER=CLOSER, NOMASK=NOMASK, _EXTRA=_EXTRA)
Return value
It is a 2d array containing level's values.
Parameters
tab
type: 2d array
2d depth array (or a structure respecting litchamp criterions)
Keywords
LOWER
We select the level just below the depth
UPPER
(activated by default) We select the level just above the depth
CLOSER
We select the depth's closer level
NOMASK
To do not mask land points
_EXTRA
Version history
Version
$Id: depth2level.pro 370 2008-08-07 07:59:15Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
17/6/1999
15/6/2000 accepte !values.f_nan
Known issues
Restrictions
For depths out of gdep's values, the value !values.f_nan is sent back.
if the depth is superior to this one of the bottom, we send back jpk-1 in
the upper case, and !values.f_nan in the lower case.
Other attributes
Uses routines
common
Produced by IDLdoc 2.0.