Changeset 231 for trunk/SRC/ToBeReviewed/GRILLE/tracegrille.pro
- Timestamp:
- 03/19/07 18:15:51 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/GRILLE/tracegrille.pro
r209 r231 1 ;------------------------------------------------------------2 ;------------------------------------------------------------3 ;------------------------------------------------------------4 1 ;+ 5 2 ; … … 8 5 ; 9 6 ; @categories 10 ; 7 ; 11 8 ; @param GLAMIN {in}{required} 12 ; The 1d or 2d array in longitude of points of the grid.If GLAM/GLAMIN 13 ; is not specified, it trace the grid specified by vargrid, on the 9 ; The 1d or 2d array in longitude of points of the grid.If GLAM/GLAMIN 10 ; is not specified, it trace the grid specified by vargrid, on the 14 11 ; domain defined by domdef. 15 12 ; 16 13 ; @param GPHIIN {in}{required} 17 ; The 1d or 2d array in latitude of points of the grid.If GPHI/GPHIIN 18 ; is not specified, it trace the grid specified by vargrid, on the 14 ; The 1d or 2d array in latitude of points of the grid.If GPHI/GPHIIN 15 ; is not specified, it trace the grid specified by vargrid, on the 19 16 ; domain defined by domdef. 20 17 ; 21 ; @keyword XSTRIDE {type=integer} 22 ; It specify that we want to trace only one line of 18 ; @keyword XSTRIDE {type=integer} 19 ; It specify that we want to trace only one line of 23 20 ; constant i every xstride points 24 21 ; 25 22 ; @keyword YSTRIDE {type=integer} 26 ; It specify that we want to trace only one line of 23 ; It specify that we want to trace only one line of 27 24 ; constant j every xstride points 28 25 ; 29 ; @keyword OCEAN 26 ; @keyword OCEAN 30 27 ; To trace the grid only on ocean points. 31 ; 28 ; 32 29 ; @keyword EARTH 33 30 ; To trace the grid only on land points. … … 38 35 ; 39 36 ; @keyword _EXTRA 40 ; Used to pass your keywords.41 ; 37 ; Used to pass keywords 38 ; 42 39 ; @uses 43 40 ; common.pro 44 ; 41 ; 45 42 ; @examples 46 43 ; … … 56 53 ; @version 57 54 ; $Id$ 58 ; 55 ; 59 56 ;- 60 ;------------------------------------------------------------ 61 ;------------------------------------------------------------ 62 ;------------------------------------------------------------ 57 ; 63 58 PRO tracegrille, glamin, gphiin, OCEAN = ocean, EARTH = earth $ 64 59 , XSTRIDE = xstride, YSTRIDE = ystride, RMOUT = rmout $ 65 60 , _extra = extra 66 ;---------------------------------------------------------67 61 ; 68 62 compile_opt idl2, strictarrsubs … … 116 110 gphi = gphiin 117 111 IF (size(glam))[0] EQ 1 AND (size(gphi))[0] EQ 1 THEN BEGIN 118 nx = n_elements(glam) 119 ny = n_elements(gphi) 112 nx = n_elements(glam) 113 ny = n_elements(gphi) 120 114 glam = glam#replicate(1, ny) 121 115 gphi = replicate(1, nx)#gphi … … 191 185 endcase 192 186 193 if keyword_set(key_performance) THEN print, 'temps trace grille', systime(1)-tempsun 187 if keyword_set(key_performance) THEN print, 'temps trace grille', systime(1)-tempsun 194 188 !except = oldexcept 195 189
Note: See TracChangeset
for help on using the changeset viewer.