Changeset 103 for trunk/SRC/Grid/smallmeshmask.pro
- Timestamp:
- 06/12/06 14:12:53 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Grid/smallmeshmask.pro
r13 r103 1 1 ;+ 2 ; NAME: smallmeshmask.pro 3 ; 4 ; PURPOSE: reduce the size of the NetCDF meshmask created by OPA by 5 ; using byte format for the masks and the foat format for the other 6 ; fields. 7 ; 8 ; CATEGORY:for OPA meshmask files 9 ; 10 ; CALLING SEQUENCE: smallmeshmask, ncfilein[, ncfileout] 11 ; 12 ; INPUTS: 13 ; ncfilein: 14 ; 1) the name of the meshmask file to be reduced. In that case, 15 ; there is only one meshmask file 16 ; 17 ; OR 18 ; 19 ; 2) the xxx part in the names: xxx.mesh_hgr.nc xxx.mesh_zgr.nc 20 ; xxx.mask.nc. In that case, the meshmask is split into 3 files. 21 ; 22 ; ncfileout: the name of the reduced meshmask file. default 23 ; definition is smallmeshmask.nc 24 ; 25 ; KEYWORD PARAMETERS: 26 ; 27 ; IODIR:to define the files path. 28 ; 29 ; OUTPUTS: no 30 ; 31 ; COMMON BLOCKS: no 32 ; 33 ; EXAMPLE: 34 ; IDL> meshdir='/d1fes2-raid2/smasson/DATA/ORCA05/' 35 ; IDL> smallmeshmask, 'meshmask_ORCA_R05.nc',iodir=meshdir 36 ; 37 ; MODIFICATION HISTORY: 38 ; July 2004 Sebastien Masson (smasson@lodyc.jussieu.fr) 2 ; 3 ; 4 ; @categories for OPA meshmask files 5 ; 6 ; @history 7 ; July 2004 Sebastien Masson (smasson\@lodyc.jussieu.fr) 39 8 ;- 40 9 ;------------------------------------------------------ … … 47 16 END 48 17 ; 18 ;+ 19 ; @file_comments reduce the size of the NetCDF meshmask created by OPA by 20 ; using byte format for the masks and the foat format for the other 21 ; fields. 22 ; 23 ; @keyword IODIR to define the files path. 24 ; @param ncfilein {in}{required} 25 ; 1) the name of the meshmask file to be reduced. In that case, 26 ; there is only one meshmask file 27 ; 28 ; OR 29 ; 30 ; 2) the xxx part in the names: xxx.mesh_hgr.nc xxx.mesh_zgr.nc 31 ; xxx.mask.nc. In that case, the meshmask is split into 3 files. 32 ; 33 ; @param ncfileout {in}{optional} the name of the reduced meshmask file. default 34 ; definition is smallmeshmask.nc 35 ; 36 ; @examples 37 ; IDL> meshdir='/d1fes2-raid2/smasson/DATA/ORCA05/' 38 ; IDL> smallmeshmask, 'meshmask_ORCA_R05.nc',iodir=meshdir 39 ; 40 ; @categories for OPA meshmask files 41 ; 42 ; @history 43 ; July 2004 Sebastien Masson (smasson\@lodyc.jussieu.fr) 44 ;- 49 45 PRO smallmeshmask, ncfilein, ncfileout, IODIR = iodir 50 46 ;
Note: See TracChangeset
for help on using the changeset viewer.