<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/CALCULS/

depth2level.pro

Allows to pass from a 2d depth array to a corresponding 2d level array.

topdepth2level 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 327 2007-12-13 16:22:35Z 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.pro

Statistics

McCabe cyclic 17
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.