Changeset 292


Ignore:
Timestamp:
09/24/07 15:23:37 (17 years ago)
Author:
pinsard
Message:

typo

Location:
trunk/SRC
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Calendar/caldat.pro

    r261 r292  
    4545; 
    4646; @history 
    47 ; Translated from "Numerical Recipies in C", by William H. Press, 
     47; Translated from "Numerical Recipes in C", by William H. Press, 
    4848; Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling. 
    4949; Cambridge University Press, 1988 (second printing). 
  • trunk/SRC/Calendar/julday.pro

    r279 r292  
    6060; 
    6161; @history 
    62 ; Translated from "Numerical Recipies in C", by William H. Press, 
     62; Translated from "Numerical Recipes in C", by William H. Press, 
    6363; Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling. 
    6464; Cambridge University Press, 1988 (second printing). 
  • trunk/SRC/Colors/newpalette.pro

    r285 r292  
    2222; 
    2323; @history 
    24 ; Guillaume Roulet (gr\@lodyc.jussieu.fr) 
     24; Guillaume Roullet (gr\@lodyc.jussieu.fr) 
    2525; 30/3/1999 s.masson, add _extra, research of the full name, OVER 
    2626;                       5/5/1999 s.masson 
  • trunk/SRC/Interpolation/extrapolate.pro

    r271 r292  
    4747; 
    4848; @history 
    49 ;  Originaly written by G. Roulet 
     49;  Originaly written by G. Roullet 
    5050;  Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    5151; 
  • trunk/SRC/Interpolation/file_interp.pro

    r283 r292  
    88  compile_opt idl2, strictarrsubs 
    99; 
    10 ; for byte, short and long, convert to double before extrepolation and interpolation 
     10; for byte, short and long, convert to double before extrapolation and interpolation 
    1111  intype = size(data, /type) 
    1212  if intype LE 3 THEN data = double(temporary(data)) 
     
    1515  mask = inmask *finite(data) 
    1616; 
    17   IF keyword_set(NaN_value) THEN BEGIN  
     17  IF keyword_set(NaN_value) THEN BEGIN 
    1818    CASE 1 OF 
    1919      nan_value GT 1.e6:mask = temporary(mask) * (data LT (nan_value-10.)) 
     
    3131  ENDIF ELSE BEGIN 
    3232    data = fromirr(method, temporary(data), inlon, inlat, -1, outlon, outlat, -1, WEIG = weig, ADDR = addr) 
    33   ENDELSE  
    34    
     33  ENDELSE 
     34 
    3535  if intype LE 3 THEN data = round(temporary(data)) 
    3636 
     
    4343; 
    4444; @categories 
    45 ; Interpolation and NetCDF 
     45; Interpolation, NetCDF 
    4646; 
    4747; @param filein {in}{type=scalar string} 
     
    5656; 
    5757; @keyword GRIDIN {type=scalar string}{default=set to filein} 
    58 ; define the input grid file name. It must exist and must contain the  
     58; define the input grid file name. It must exist and must contain the 
    5959; longitude and latitude axis as 1D or 2D arrays. Useful if 
    6060; filein file doesn't contain longitude and latitude axis 
     
    6262; @keyword MASKIN {type=scalar string}{default=set to gridin} 
    6363; define the input mask file name. It must exist. The mask will be 
    64 ; determided through <pro>ncdf_getmask</pro> according to the keywords 
     64; determined through <pro>ncdf_getmask</pro> according to the keywords 
    6565; inmaskname, ininvmask, inuseasmask, inmissing_value, inaddscl_before 
    66 ; (see bellow)  
     66; (see below) 
    6767; 
    6868; @keyword MASKOUT {type=scalar string}{default=set to gridout} 
    6969; define the output mask file name. It must exist. The mask will be 
    70 ; determided through <pro>ncdf_getmask</pro> according to the keywords 
     70; determined through <pro>ncdf_getmask</pro> according to the keywords 
    7171; outmaskname, outinvmask, outuseasmask, outmissing_value, 
    72 ; outaddscl_before (see bellow)  
     72; outaddscl_before (see bellow) 
    7373; 
    7474; @keyword KEEP {type=string array}{default=all variables} 
     
    8181; 
    8282; @keyword METHOD {type=scalar string}{default='bilinear'} 
    83 ; interpolation method: can be only 'bilinear' (or 'imoms3' if the iput grid 
     83; interpolation method: can be only 'bilinear' (or 'imoms3' if the input grid 
    8484; is a "regular" grid). A "regular/rectangular grid" is defined as a 
    85 ; grid for which  each longitude lines have the same latitude and each 
     85; grid for which each longitude lines have the same latitude and each 
    8686; latitude columns have the same longitude. 
    8787; 
     
    9090; <pro>extrapolate</pro> when extrapolating input data over masked 
    9191; points. 
    92 ;  
     92; 
    9393; @keyword SET_XDIMNAME {type=scalar string}{default=not used} 
    9494; used to defined the name of x dimension in filein input file when 
     
    105105; containing the x axis name is not the same. By default, we assume 
    106106; both file have the same x axis name. Not that if filein includes x 
    107 ; axis ther is no point to use gridin 
     107; axis there is no point to use gridin 
    108108; 
    109109; @keyword SET_YAXISNAME {type=scalar string}{default=not used} 
     
    112112; @keyword INMASKNAME {type=scalar string}{default=not used} 
    113113; A string giving the name of the variable in the file maskin that 
    114 ; contains the land/sea mask  
     114; contains the land/sea mask 
    115115; 
    116116; @keyword OUTMASKNAME {type=scalar string}{default=not used} 
     
    119119; @keyword ININVMASK {default=0}{type=scalar: 0 or 1} 
    120120; Inverse the land/sea mask of the input mask file maskin (that should 
    121 ; have 0/1 values for land/sea)  
     121; have 0/1 values for land/sea) 
    122122; 
    123123; @keyword OUTINVMASK {default=0}{type=scalar: 0 or 1} 
     
    138138; @keyword INMISSING_VALUE {type=scalar} 
    139139; To define (or redefine if the attribute is already existing) the 
    140 ; missing values used by INUSEASMASK keyword  
     140; missing values used by INUSEASMASK keyword 
    141141; 
    142142; @keyword OUTMISSING_VALUE {type=scalar} 
     
    144144; 
    145145; @keyword INADDSCL_BEFORE {default=0}{type=scalar: 0 or 1} 
    146 ; put 1 to apply add_offset ad scale factor on data before looking for 
     146; put 1 to apply add_offset and scale factor on data before looking for 
    147147; missing values when using INUSEASMASK keyword 
    148148; 
     
    156156; 
    157157; @keyword ADDR {type=2d array or variable name} 
    158 ; 1) at the first call of file_interp:  
     158; 1) at the first call of file_interp: 
    159159;   This keyword can be set to a named variable (undefined or equal to 
    160160;   0) into which the addresses used to perform the interpolation will 
     
    163163;   to bypass the computation of the weights and addresses used to 
    164164;   perform the interpolation. In this case, interpolation is much 
    165 ;   faster  
     165;   faster 
    166166; 
    167167; @keyword WEIG {type=2d array or variable name} 
    168168; (see ADDR) 
    169 ;  
     169; 
    170170; @keyword INXAXISNAME {default='x', 'longitude', 'nav_lon', 'lon', 'lon_rho' or 'NbLongitudes'}{type=scalar string} 
    171 ; A string giving the name of the variable containning the x axis in 
     171; A string giving the name of the variable containing the x axis in 
    172172; the input grid file gridin 
    173173; 
     
    302302        indimx = i 
    303303        outdimx = outdimid[i] 
    304       END   
    305       strlowcase(name) EQ strlowcase(inydimname): BEGIN  
     304      END 
     305      strlowcase(name) EQ strlowcase(inydimname): BEGIN 
    306306        outdimid[i] = ncdf_dimdef(outid, name, jpjout) 
    307307        outdimsz[i] = jpjout 
    308308        indimy = i 
    309309        outdimy = outdimid[i] 
    310       END  
    311       i EQ ininq.recdim: outdimid[i] = ncdf_dimdef(outid, name, /UNLIMITED)  
     310      END 
     311      i EQ ininq.recdim: outdimid[i] = ncdf_dimdef(outid, name, /UNLIMITED) 
    312312      ELSE: outdimid[i] = ncdf_dimdef(outid, name, size) 
    313313    ENDCASE 
     
    315315; 
    316316; Variables 
    317 ;  
     317; 
    318318  outvarid = lonarr(ininq.nvars) 
    319319  FOR i = 0, ininq.nvars-1 DO BEGIN 
     
    332332          strlowcase(varinq.name) EQ strlowcase(inxaxisname):BEGIN ; xaxis 
    333333            IF outirr THEN dimvar = [outdimx, outdimy] ELSE dimvar = [outdimx] 
    334           END  
     334          END 
    335335          strlowcase(varinq.name) EQ strlowcase(inyaxisname):BEGIN ; yaxis 
    336336            IF outirr THEN dimvar = [outdimx, outdimy] ELSE dimvar = [outdimy] 
     
    348348                                    , FLOAT = varinq.datatype EQ 'FLOAT', DOUBLE = varinq.datatype EQ 'DOUBLE') 
    349349        ENDIF ELSE outvarid[i] = - 1 
    350       ENDELSE  
     350      ENDELSE 
    351351; Variables attributes 
    352       IF outvarid[i] NE - 1 THEN BEGIN  
     352      IF outvarid[i] NE - 1 THEN BEGIN 
    353353        FOR j = 0, varinq.natts-1 DO BEGIN 
    354354          name = ncdf_attname(inid, i, j) 
     
    371371          IF outirr THEN ncdf_varput, outid, outvarid[i], outlon $ 
    372372          ELSE ncdf_varput, outid, outvarid[i], outlon[*, 0] 
    373         END  
     373        END 
    374374        strlowcase(varinq.name) EQ strlowcase(inyaxisname):BEGIN ; y axis 
    375375          IF outirr THEN ncdf_varput, outid, outvarid[i], outlat $ 
     
    384384              ncdf_varget, inid, i, data 
    385385              ncdf_varput, outid, outvarid[i], temporary(data) 
    386             END  
     386            END 
    387387            1:BEGIN             ; 1D 
    388388              ncdf_varget, inid, i, data 
    389389              ncdf_varput, outid, outvarid[i], temporary(data) 
    390             END  
     390            END 
    391391            2:BEGIN             ; 2D 
    392392              ncdf_varget, inid, i, data 
     
    395395                                                  , WEIG = weig, ADDR = addr, NAN_VALUE = NaN_value, _extra = ex) 
    396396              ncdf_varput, outid, outvarid[i], temporary(data) 
    397             END  
     397            END 
    398398            3:BEGIN             ; 3D 
    399399              FOR k = 0, indimsz[varinq.dim[2]]-1 DO BEGIN 
     
    409409                ncdf_varput, outid, outvarid[i], temporary(data), offset = off, count = outcnt 
    410410              ENDFOR 
    411             END  
     411            END 
    412412            4:BEGIN             ; 4D 
    413413              FOR t = 0, indimsz[varinq.dim[3]]-1 DO BEGIN 
     
    424424                ENDFOR 
    425425              ENDFOR 
    426             END  
     426            END 
    427427          ENDCASE 
    428428        END 
    429429      ENDCASE 
    430     ENDIF  
     430    ENDIF 
    431431  ENDFOR 
    432    
     432 
    433433  ncdf_close, inid 
    434434  ncdf_close, outid 
    435435 
    436436  return 
    437 END  
     437END 
  • trunk/SRC/Postscript/openps.pro

    r260 r292  
    130130; show some informations 
    131131   IF arg_present(infowidget) THEN $ 
    132     infowidget = xnotice('Postcript file is currently processed...') 
     132    infowidget = xnotice('Postscript file is currently processed...') 
    133133; 
    134134   RETURN 
  • trunk/SRC/ToBeReviewed/LECTURE/read_ncdf_varget.pro

    r271 r292  
    4545;        |--+---+---+|--+---+---+---+-|  +...+..|+...+...+ 
    4646;  in the ........ part, it is easy the first point is number 0 but in 
    47 ;  the --------- part the first point is number 3... Ihe position of 
     47;  the --------- part the first point is number 3... The position of 
    4848;  the first point in the is given by: 
    4949;         (key_stride[0]-1)-((key-1) MOD key_stride[0]) 
  • trunk/SRC/ToBeReviewed/PLOTS/DESSINE/bar_plot.pro

    r262 r292  
    135135          TITLE=title, XTITLE=xtitle, YTITLE=ytitle, BASERANGE=baserange, $ 
    136136          BARWIDTH=barwidth, BARSPACE=barspace, BAROFFSET=baroffset, $ 
    137           OUTLINE=outline, OVERPLOt=overplot, BACKGROUND=background, $ 
     137          OUTLINE=outline, OVERPLOT=overplot, BACKGROUND=background, $ 
    138138          ROTATE=rotate, _EXTRA = ex 
    139139; 
  • trunk/SRC/ToBeReviewed/PLOTS/DESSINE/plt.pro

    r264 r292  
    459459    Conn = [replicate(3, 1, n_elements(trifield)/3), trifield] 
    460460    Result = mesh_decimate(temporary(verts), (temporary(Conn))[*] $ 
    461                            , Connout, vertices = Vertsout $ 
     461                           , connout, vertices = Vertsout $ 
    462462                           , percent_vertices = decimatetri) 
    463463    connout = reform(connout, 4,  n_elements(connout)/4, /over) 
  • trunk/SRC/ToBeReviewed/PLOTS/VECTEUR/vecteur.pro

    r232 r292  
    333333   direcz = direcz/100. 
    334334; 
    335 ; Stege 1, d) 
     335; Stage 1, d) 
    336336; coordinates of the point of the arrow in the cartesian reference. 
    337337 
  • trunk/SRC/ToBeReviewed/TRIANGULATION/ciseauxtri.pro

    r262 r292  
    44; Delete arrays which do not have to be drawn thanks to 2 tests: 
    55;     1) Corners of the array must be in the window 
    6 ;     2) Lengthes of side of triangles expressed in normalized 
     6;     2) Lengths of side of triangles expressed in normalized 
    77;        coordinates must not surpass a sill length. 
    88; 
     
    7979   seuil = 5 < (min([nx, ny])-2) 
    8080; 
    81 ; Now we delete tringles whose one side has a size superior to 1/sill from the domain reserved for the drawing. 
     81; Now we delete triangles whose one side has a size superior to 1/sill from the domain reserved for the drawing. 
    8282; 
    8383 
  • trunk/SRC/ToBeReviewed/WIDGET/xnotice.pro

    r231 r292  
    3939; 
    4040; We separate the text in different lines (separated by !C) if it is not done yet... 
    41 ; n''est pas deja fait... 
    4241; 
    4342  compile_opt idl2, strictarrsubs 
Note: See TracChangeset for help on using the changeset viewer.