Changeset 231 for trunk/SRC/Grid/ncdf_meshroms.pro
- Timestamp:
- 03/19/07 18:15:51 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Grid/ncdf_meshroms.pro
r226 r231 1 ;------------------------------------------------------------2 ;------------------------------------------------------------3 ;------------------------------------------------------------4 1 ;+ 5 2 ; 6 ; @file_comments read NetCDF grid file created by ROMS 3 ; @file_comments 4 ; read NetCDF grid file created by ROMS 7 5 ; 8 6 ; @categories … … 58 56 ; value will be stored in the common (cm_4mesh) variable key_stride 59 57 ; 60 ; @keyword _EXTRA used to pass isafile keywords 61 ; 62 ; @uses cm_4mesh cm_4data cm_4cal 58 ; @keyword _EXTRA 59 ; Used to pass keywords to <pro>isafile</pro> 60 ; 61 ; @uses 62 ; cm_4mesh 63 ; cm_4data 64 ; cm_4cal 63 65 ; 64 66 ; @restrictions 65 ; 66 ; ixminmesh,ixmaxmesh,iyminmesh,iymaxmesh,izminmesh,izmaxmesh must 67 ; be defined before calling ncdf_meshread. if some of those value 68 ; are equal to -1 they will be automatically defined 69 ; 70 ; In the original ROMS grid, if F grid has (jpi,jpj) points then T 71 ; grid will have (jpi+1,jpj+1) points, U grid will have (jpi,jpj+1) 72 ; points and V grid will have (jpi+1,jpj) points. 73 ; By default C-grid used in this package needs the same number of 74 ; points for T,U,V and F grid, with a T point at the bottom left 75 ; corner of the grid. We therefore ignore the last column of T and 76 ; V points and the last line of T and U points. 77 ; 78 ; Scale factors are compuited using the distance between the points 79 ; (which is not the exact definition for irregular grid). 67 ; ixminmesh,ixmaxmesh,iyminmesh,iymaxmesh,izminmesh,izmaxmesh must 68 ; be defined before calling ncdf_meshread. if some of those value 69 ; are equal to -1 they will be automatically defined 70 ; 71 ; In the original ROMS grid, if F grid has (jpi,jpj) points then T 72 ; grid will have (jpi+1,jpj+1) points, U grid will have (jpi,jpj+1) 73 ; points and V grid will have (jpi+1,jpj) points. 74 ; By default C-grid used in this package needs the same number of 75 ; points for T,U,V and F grid, with a T point at the bottom left 76 ; corner of the grid. We therefore ignore the last column of T and 77 ; V points and the last line of T and U points. 78 ; 79 ; Scale factors are compuited using the distance between the points 80 ; (which is not the exact definition for irregular grid). 80 81 ; 81 82 ; @history … … 86 87 ; 87 88 ;- 88 ;------------------------------------------------------------ 89 ;------------------------------------------------------------ 90 ;------------------------------------------------------------ 89 ; 91 90 PRO ncdf_meshroms, filename, NRHO = nrho, GLAMBOUNDARY = glamboundary $ 92 91 , ONEARTH = onearth, GETDIMENSIONS = getdimensions $ 93 92 , PERIODIC = periodic, SHIFT = shift, STRIDE = stride $ 94 93 , STRCALLING = strcalling, _EXTRA = ex 95 ;96 ;---------------------------------------------------------97 94 ; 98 95 compile_opt idl2, strictarrsubs
Note: See TracChangeset
for help on using the changeset viewer.