Changeset 238 for trunk/SRC/Grid
- Timestamp:
- 03/27/07 15:43:18 (17 years ago)
- Location:
- trunk/SRC/Grid
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Grid/changemsk.pro
r232 r238 15 15 ; 16 16 ; @returns 17 ; newmskthe new 2D land-sea mask17 ; the new 2D land-sea mask 18 18 ; 19 19 ; @examples … … 31 31 ;- 32 32 ; 33 functionchangemsk,tab, CELLSIZE = cellsize33 FUNCTION changemsk,tab, CELLSIZE = cellsize 34 34 ; 35 35 compile_opt idl2, strictarrsubs … … 82 82 return, newmsk 83 83 end 84 -
trunk/SRC/Grid/checkperio.pro
r236 r238 45 45 ; 46 46 PRO checkperio, file, WRITE = write 47 47 ; 48 compile_opt idl2, strictarrsubs 49 ; 48 50 IF file_test(file) EQ 0 THEN BEGIN 49 51 ras = report( 'file '+file+' not found') -
trunk/SRC/Grid/computegrid.pro
r237 r238 128 128 ; Specify latitudes in this case starty, stepy and ny are not used but 129 129 ; starty and stepy could be necessary if the x axis is not defined with 130 ; xaxis. It must be sorted in the increasing or dec easing order (along each column if 2d array).130 ; xaxis. It must be sorted in the increasing or decreasing order (along each column if 2d array). 131 131 ; 132 132 ; @keyword XYINDEX activate to specify that the horizontal grid should … … 209 209 ; 210 210 ; @keyword ZAXIS {type=1D} 211 ; Specify the vertical axis. Must be sorted in the increasing or dec easing order211 ; Specify the vertical axis. Must be sorted in the increasing or decreasing order 212 212 ; 213 213 ; @keyword _EXTRA 214 214 ; not used in the present case ... 215 215 ; 216 ; @uses 217 ; cm_4mesh cm_4data cm_4cal 218 ; 219 ; @restrictions 216 ; @uses 217 ; cm_4mesh 218 ; cm_4data 219 ; cm_4cal 220 ; 221 ; @restrictions 220 222 ; if the grid has x/y periodicity overlap and/or if 221 223 ; the mask has 0 everywhere at the border (like a closed sea) and … … 226 228 ; to use cell_fill = 1). 227 229 ; 228 ; @restrictions229 230 ; FUV points definition is not exact if the grid is irregular 230 231 ; -
trunk/SRC/Grid/micromeshmask.pro
r237 r238 10 10 ; 11 11 ; @param inid {in}{required} 12 ; 12 13 ; @param outid {in}{required} 14 ; 13 15 ; @param inname {in}{required} 16 ; 14 17 ; @param outname {in}{optional} 15 18 ; … … 43 46 ; xxx.mask.nc. In that case, the meshmask is split into 3 files. 44 47 ; 45 ; @param ncfileout {in}{optional} the name of the uniq reduced meshmask file. 46 ; default definition is micromeshmask.nc 47 ; 48 ; @keyword IODIR to define the files path. 48 ; @param ncfileout {in}{optional} {default='micromeshmask.nc'} 49 ; the name of the uniq reduced meshmask file. 50 ; 51 ; @keyword IODIR 52 ; to define the files path. 49 53 ; 50 54 ; @examples -
trunk/SRC/Grid/n128gaussian.pro
r231 r238 11 11 ; IDL> lat=n128gaussian() 12 12 ; 13 ; @returns a 1d array 13 ; @returns 14 ; a 1d array 14 15 ; 15 16 ; @history … … 23 24 ; 24 25 FUNCTION n128gaussian 25 ;26 26 ; 27 27 compile_opt idl2, strictarrsubs -
trunk/SRC/Grid/n160gaussian.pro
r231 r238 9 9 ; 10 10 ; @examples 11 ; IDL> lat=n160gaussian()11 ; IDL> lat=n160gaussian() 12 12 ; 13 ; @returns a 1d array 13 ; @returns 14 ; a 1d array 14 15 ; 15 16 ; @history … … 23 24 ; 24 25 FUNCTION n160gaussian 25 ;26 26 ; 27 27 compile_opt idl2, strictarrsubs -
trunk/SRC/Grid/n256gaussian.pro
r231 r238 11 11 ; IDL> lat=n256gaussian() 12 12 ; 13 ; @returns a 1d array 13 ; @returns 14 ; a 1d array 14 15 ; 15 16 ; @history … … 23 24 ; 24 25 FUNCTION n256gaussian 25 ;26 26 ; 27 27 compile_opt idl2, strictarrsubs -
trunk/SRC/Grid/n48gaussian.pro
r231 r238 11 11 ; IDL> lat=n48gaussian() 12 12 ; 13 ; @returns a 1d array 13 ; @returns 14 ; a 1d array 14 15 ; 15 16 ; @history … … 23 24 ; 24 25 FUNCTION n48gaussian 25 ;26 26 ; 27 27 compile_opt idl2, strictarrsubs -
trunk/SRC/Grid/n80gaussian.pro
r232 r238 1 1 ;+ 2 2 ; 3 ; @file_comments 3 ; @file_comments 4 4 ; compute the latitudes of the n80 gaussian grid. See: 5 5 ; <a href="http://www.ecmwf.int/products/data/technical/gaussian/n80FIS.html">Gaussian 80</a> … … 11 11 ; IDL> lat=n80gaussian() 12 12 ; 13 ; @returns a 1d array 13 ; @returns 14 ; a 1d array 14 15 ; 15 16 ; @history … … 23 24 ; 24 25 FUNCTION n80gaussian 25 ;26 26 ; 27 27 compile_opt idl2, strictarrsubs -
trunk/SRC/Grid/numbisland.pro
r231 r238 1 1 ;+ 2 ; 2 3 ; @hidden 3 4 ; … … 24 25 ; 25 26 PRO mskneig, msk, nx, ny, indin, numb 27 ; 28 compile_opt idl2, strictarrsubs 29 ; 26 30 ; flag the point 27 31 msk[indin] = numb … … 33 37 ; build 1d index 34 38 ind = temporary(indx)#replicate(1L, 3) + replicate(nx, 3)#temporary(indy) 35 ; for each neighbourg son the same island, call again mskneig39 ; for each neighbourg on the same island, call again mskneig 36 40 FOR i = 0, n_elements(ind)-1 DO BEGIN 37 41 IF msk[ind[i]] EQ 0 THEN mskneig, msk, nx, ny, ind[i], numb … … 40 44 return 41 45 END 42 46 ; 43 47 ;+ 48 ; 44 49 ; @file_comments 45 ; given a 2D land-se mask, give a number to each islands50 ; given a 2D land-sea mask, give a number to each island 46 51 ; 47 52 ; @categories … … 67 72 ; @version 68 73 ; $Id$ 74 ; 69 75 ;- 70 76 ; 71 77 FUNCTION numbisland, mskin 72 time1 = systime(1) ; performance measurment 78 ; 79 compile_opt idl2, strictarrsubs 80 ; 81 time1 = systime(1) ; performance measurement 73 82 szmsk = size(reform(mskin)) 74 83 IF szmsk[0] NE 2 THEN stop -
trunk/SRC/Grid/restoreboxparam.pro
r231 r238 5 5 ; previously defined by <pro>saveboxparam</pro> 6 6 ; 7 ; @param filename {in}{required} 8 ; a scalar string definingthe file name7 ; @param filename {in}{required}{type= scalar string} 8 ; the file name 9 9 ; 10 10 ; @uses -
trunk/SRC/Grid/romsdepth.pro
r231 r238 12 12 ; 13 13 ; @uses 14 ; cm_4mesh cm_4data 14 ; cm_4mesh 15 ; cm_4data 15 16 ; 16 17 ; @restrictions … … 22 23 ; @version 23 24 ; $Id$ 25 ; 24 26 ;- 25 27 ; 26 28 FUNCTION romsdepth 29 ; 30 compile_opt idl2, strictarrsubs 27 31 ; 28 32 @cm_4mesh -
trunk/SRC/Grid/saveboxparam.pro
r231 r238 6 6 ; (common variable defined by def_myuniquetmpdir) 7 7 ; 8 ; @param filename {in}{required} 9 ; a scalar string definingthe file name8 ; @param filename {in}{required} {type=scalar string} 9 ; the file name 10 10 ; 11 11 ; @uses -
trunk/SRC/Grid/smallmeshmask.pro
r236 r238 5 5 ; 6 6 ; @param inid {in}{required} 7 ; 7 8 ; @param outid {in}{required} 9 ; 8 10 ; @param inname {in}{required} 11 ; 9 12 ; @param outname {in}{optional} 10 13 ; … … 28 31 ; 29 32 ;+ 33 ; 30 34 ; @file_comments 31 35 ; Reduce the size of the NetCDF meshmask created by OPA by … … 33 37 ; fields. 34 38 ; 35 ; @keyword IODIR to define the files path. 39 ; @keyword IODIR 40 ; to define the files path. 41 ; 36 42 ; @param ncfilein {in}{required} 37 43 ; 1) the name of the meshmask file to be reduced. In that case, … … 60 66 ; 61 67 ;- 68 ; 62 69 PRO smallmeshmask, ncfilein, ncfileout, IODIR = iodir 63 ;64 70 ; 65 71 compile_opt idl2, strictarrsubs
Note: See TracChangeset
for help on using the changeset viewer.