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

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])

topdepth2floatlevel 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 157 2006-08-21 09:01:50Z navarro $

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.pro

Statistics

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