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

ToBeReviewed/CALCULS/

grossemoyenne.pro

topgrossemoyenne

result = grossemoyenne(tab, direc, BOXZOOM=BOXZOOM, INTEGRATION=INTEGRATION, NAN=NAN, NODOMDEF=NODOMDEF, WDEPTH=WDEPTH, SPATIALFIRST=SPATIALFIRST, TEMPORALFIRST=TEMPORALFIRST, _extra=_extra)

NAME: grossemoyenne PURPOSE: averages a 3- or 4-d time serie field over a selected geographical area or along the time axis. For one ore more selected axes (x, y, z, t) CATEGORY: CALLING SEQUENCE: result = grossemoyenne(tab,'direc',BOXZOOM=boxzoom) INPUTS: tab = 3 or 4d field direc ='x' 'y' 'z' 't' 'xy' 'xz' 'yz' 'xyz' 'xt' 'yt' 'zt' 'xyt' 'xzt' 'yzt' or 'xyzt' KEYWORD PARAMETERS: boxzoom = [xmin,xmax,ymin,ymax (,(zmin,)zmax)] pour plus de detail cf domdef boxzoom peut prendre 5 formes: [vert2], [vert1, vert2],[lon1, lon2, lat1, lat2], [lon1, lon2, lat1, lat2, vert2],[lon1, lon2, lat1, lat2, vert1,vert2] NAN: not a number, a activer si l''on peut faire veut faire une moyenne sans tenir compte de certaines valeurs masques de tab. si les valeurs masques de tab sont la valeur consacree par IDL (!values.f_nan), il suffit de mettre /NAN. si les valeurs masques de tab on pour valeur a (a doit etre differente de 1 (correspond a nan = !values.f_nan) et de 0 (qui desactive nan). Il faut mettre NAN=a. Rq: en sorties les points de result qui sont NAN auront pour valeur a ou !values.f_nan. NODOMDEF: activer si l''on ne veut pas passer ds domdef bien que le mot cle boxzoom soit present (comme c''est le cas qd grossemoyenne est appelee via checkfield) INTEGRATION: pour faire une integrale plutot qu''une moyenne /SPATIALFIRST, when performing at the same time spatial and temporal mean, grossemoyenne is assuming that the mask is not changing with the time. In consequence, grossemoyenne performs temporal mean first and then call moyenne. Activate /SPATIALFIRST if you want to perform the spatial mean before the temporal mean. Note that if NAN is activated, then SPATIALFIRST is activated automatically. /TEMPORALFIRST: to force to perform first temporal mean even if nan is activated (see SPATIALFIRST explanations...) /WDEPTH: to specify that the field is at W depth instad of T depth (automatically activated if vargrid eq 'W') OUTPUTS: COMMON BLOCKS: result:un tableau common domdef SIDE EFFECTS: met les valeurs correspondants a la terre a 1e20 RESTRICTIONS: EXAMPLE:

Parameters

tab       

direc       

Keywords

BOXZOOM       

INTEGRATION       

NAN       

NODOMDEF       

WDEPTH       

SPATIALFIRST       

TEMPORALFIRST       

_extra       

Produced by IDLdoc 2.0.