Download Sparse Hydrodynamic Ocean Code V5199 User Manual

Transcript
SHOC User Manual
t:coordinate_type="TIME";
// X coordinate variable of a 2d rectangular grid.
double x(nj, ni);
x:units="m";
x:coordinate_type="X";
x:projection="proj=amg zone=55”;
// Y coordinate variable of a 2d rectangular grid.
double y(nj, ni);
y:units="m";
y:coordinate_type="Y";
y:projection="proj=amg zone=55”;
// Z coordinate variable.
double z(nj, ni);
z:units="m";
z:coordinate_type="Z";
// Each record, and dimension has a unique T, X, Y and Z
// coordinate associated with it. The coordinates are stored
// in AMG units.
double salt(nrecords, nk, nj, ni);
salt:units="practical salinity units";
salt:long_name=”Salinity”;
salt:coordinates="t, x, y, z";
};
Finally if the data is not stored on a grid but as a series of discrete points then an evalatuion
at an arbitary point will use an inverse weighted interpolation scheme (1/r). Of course this
assumes the coordinates and coordinate_type attributes have been specified.
netcdf file {
dimensions:
nrecord = UNLIMITED;
np = 1000;
variables:
// Time coordinate variable.
double t(nrecords);
t:units="seconds since 1990-01-01 00:00:00 +10";
t:coordinate_type="TIME";
// X coordinate variable of a 2d rectangular grid.
double x(np);
x:units="m";
x:coordinate_type="X";
// Y coordinate variable of a 2d rectangular grid.
double y(np);
y:units="m";
y:coordinate_type="Y";
// Z coordinate variable.
double z(np);
z:units="m";
z:coordinate_type="Z";
// Each record and point has a unique T, X, Y and Z
// coordinate associated with it.
double salt(nrecords, np);
20/08/2015
Page 155 of 185
Version: 1.00