Ignore:
Timestamp:
12/09/08 10:36:41 (16 years ago)
Author:
smasson
Message:

introduce meridional and barotropic stream functions, see ticket:59

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/DESSINE/pltz.pro

    r378 r388  
    9393; For these ones traced by a trait, use CONTLABEL. 
    9494; 
     95; @keyword MASKFILL 
     96; set to 0 to avoid to fill the masked values 
     97; 
    9598; @keyword MAXIN 
    9699; to specify the max value we want to plot with a keyword instead of with the 
     
    109112; @keyword NOFILL 
    110113; To make just isolines with no filling 
     114; 
     115; @keyword NOMASK 
     116; activate to supress the use of the land-sea mask when plotting the field 
     117;  
     118; @keyword NO_PARTIALSTEP 
     119; activate to supress the use of partial steps (force key_partialstep = 0 within pltz) 
    111120; 
    112121; @keyword NOTRI 
     
    116125; the keyword CELL_FILL=2. 
    117126; Comment: if the field contain points !values.f_nan, then we even do a triangulation. 
     127; 
     128; @keyword MASKDTA 
     129; 2d array defining the mask that must be applied to the data instead 
     130; of the default mask which is defined according to the grid (t/u/v/f mask) 
    118131; 
    119132; @keyword OVERPLOT 
     
    172185        , STYLE=style, CONTMAX=contmax, SIN=sin, TYPEIN=typein $ 
    173186        , CONTMIN=contmin, NLEVEL=nlevel, CONTNLEVEL=contnlevel $ 
    174         , NOFILL=nofill, NOTRI=notri, USETRI=usetri, FILLXDIR=fillxdir $ 
     187        , NOFILL=nofill, NOMASK = nomask, NO_PARTIALSTEP = no_partialstep, NOTRI=notri $ 
     188        , USETRI = usetri, FILLXDIR = fillxdir $ 
    175189        , ZOOM=zoom, XZ=xz, YZ=yz, MININ=minin, MAXIN=maxin $ 
    176         , STRICTFILL=strictfill, OVERPLOT=overplot, MASKFILL=maskfill $ 
    177         , WDEPTH=wdepth, REALSECTION=realsection $ 
     190        , STRICTFILL=strictfill, OVERPLOT=overplot $ 
     191        , WDEPTH=wdepth, REALSECTION=realsection, MASKFILL=maskfill, MASKDTA = maskdta $ 
    178192        , _EXTRA=ex 
    179193; 
     
    197211; 
    198212  if n_elements(contour) ne 4 THEN saveboxparam, 'boxparam4pltz.dat' 
     213  key_partialstep = keyword_set(key_partialstep) * (1b - keyword_set(no_partialstep))  
    199214;-------------------------------------------------------------- 
    200215;  Reading of the field. 
     
    262277; to draw from bottom to top (avoid using cell_fill) 
    263278  z2d = reverse(z2d, 2) 
     279  szmsk = size(mask, /dimensions) 
     280  IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1])  
     281  IF keyword_set(maskdta) THEN mask = byte(fitintobox(maskdta)) 
    264282;----------------------------------------------------------------------------- 
    265283; Determination of the mi:min and of the ma:max of z2d in the same way 
     
    355373    if keyword_set(nan) then trinan = triangule(masknan, /basic, coinmonte = coinmontenan, coindescend = coindescendnan) 
    356374    maskorg = mask 
    357     decoupeterre, mask, glammsk, gphimsk, gdepmsk, type = type, WDEPTH = wdepth, REALSECTION = realsection 
     375    decoupeterre, mask, glammsk, gphimsk, gdepmsk, type = type, WDEPTH = wdepth, REALSECTION = realsection, MASKDTA = maskdta 
    358376    axis4pltz, type, mask, glammsk, gphimsk, gdepmsk, XXAXIS = xmask, ZZAXIS = zmask, SIN = sin, ZRATIO = zratio, ZOOM = zoom, PROFMAX = profmax, PROFMIN = profmin, _extra = ex 
     377    szmsk = size(mask, /dimensions) 
     378    IF keyword_set(nomask) THEN mask = replicate(1b, szmsk[0], szmsk[1])  
    359379  ENDIF ELSE BEGIN 
    360380    xmask = xxaxis 
Note: See TracChangeset for help on using the changeset viewer.