ToBeReviewed/CALCULS/
depth2floatlevel.pro
Rather comparable to depth2level but here, the calculated level
is in float.
For example, the level 5.4 correspond to a depth equal
to gdep[5]+.4*(gdep[6]-gdep[5])
depth2floatlevel
Without loop
result = depth2floatlevel(tab, NOMASK=NOMASK)
Return value
An 2d array of float containing levels's values.
Parameters
tab
in
required
2d depth array (or a structure respecting litchamp criterion)
Keywords
NOMASK
To do not mask land points
Examples
IDL> a=(jpk-1)/(1.*jpi*jpj)*findgen(jpi,jpj)
IDL> plt, 1e6*(a-floatlevel2depth(depth2floatlevel(a))),/nocontour
->champ nul a 1e-6 pres
Version history
Version
$Id: depth2floatlevel.pro 371 2008-08-07 09:32:02Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
15/06/2000
Known issues
Restrictions
Accept values at !values.f_nan and mask land points at valmask.
Other attributes
Uses routines
common
Produced by IDLdoc 2.0.