NAME:depth2floatlevel
PURPOSE: assez comparable a depth2level mais ici le niveau calcule
est en float. Par ex le niveau 5.4 correspond a une profondeur egale
a gdep[5]+.4*(gdep[6]-gdep[5])
CATEGORY: SANS BOUCLE
CALLING SEQUENCE:res=depth2floatlevel(depth2d)
INPUTS: depth2d tableau 2d de profondeur (ou une structure repondant
aux criteres de litchamp)
KEYWORD PARAMETERS:
/NOMASK: pour ne pas masquer les points terres
OUTPUTS: un tableau 2d de float contenant les valeurs des niveaux.
COMMON BLOCKS:common.pro
SIDE EFFECTS:accepte les vcaleurs a !values.f_nan et masque les
points terres a valmask.
RESTRICTIONS:
EXAMPLE:
IDL> a=(jpk-1)/(1.*jpi*jpj)*findgen(jpi,jpj)
IDL> plt, 1e6*(a-floatlevel2depth(depth2floatlevel(a))),/nocontour
->champ nul a 1e-6 pres