topncdf_meshroms
Grid
Parameters
filename
in
optional
type: scalar string
default: 'roms_grd.nc'
Keywords
NRHO
type: scalar
default: 1
GLAMBOUNDARY
type: 2 elements vector
default: those defined in the file
ONEARTH
type: scalar: 0 or 1
default: 1
GETDIMENSIONS
type: scalar: 0 or 1
default: 0
PERIODIC
type: scalar: 0 or 1
default: computed by using the first line of glamt
SHIFT
type: scalar
default: computed according to glamboundary
STRIDE
type: 3 elements vector
default: [1, 1, 1]
STRCALLING
type: scalar string
Examples
IDL> ncdf_meshroms [,' filename']
Version history
Version
$Id: ncdf_meshroms.pro 212 2007-02-14 10:47:10Z smasson $
History
Sebastien Masson (smasson@lodyc.jussieu.fr) September 2006
Known issues
Restrictions
ixminmesh,ixmaxmesh,iyminmesh,iymaxmesh,izminmesh,izmaxmesh must
be defined before calling ncdf_meshread. if some of those value
are equal to -1 they will be automatically defined
In the original ROMS grid, if F grid has (jpi,jpj) points then T
grid will have (jpi+1,jpj+1) points, U grid will have (jpi,jpj+1)
points and V grid will have (jpi+1,jpj) points.
By default C-grid used in this package needs the same number of
points for T,U,V and F grid, with a T point at the bottom left
corner of the grid. We therefore ignore the last column of T and
V points and the last line of T and U points.
Scale factors are compuited using the distance between the points
(which is not the exact definition for irregulare grid).
Other attributes
Uses routines
cm_4mesh cm_4data cm_4cal
Statistics
McCabe cyclic | 72 |
McCabe essential | 1 |
McCabe modular design | 1 |