/[MITgcm]/MITgcm/pkg/mnc/README.txt
ViewVC logotype

Diff of /MITgcm/pkg/mnc/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5 by edhill, Thu Jan 8 07:24:47 2004 UTC revision 1.7 by edhill, Sat Jan 17 13:55:49 2004 UTC
# Line 47  using a simple interface such as: Line 47  using a simple interface such as:
47    ...    ...
48    MNC_FILE_READ_HEADER(  myThid, fname )    MNC_FILE_READ_HEADER(  myThid, fname )
49    
50    MNC_DIM_INIT(          myThid, dname, dunits, dlen )    MNC_DIM_INIT(          myThid, fname, dname, dunits, dlen )
   MNC_DIM_REMOVE(        myThid, dname )  
51    
52    MNC_GRID_INIT(         myThid, fname, gname, ndim, dnames )    MNC_GRID_INIT(         myThid, fname, gname, ndim, dnames )
53    MNC_GRID_SET_LL(       myThid, fname, gname, type, lats, lons )    MNC_GRID_SET_LL(       myThid, fname, gname, type, lats, lons )
# Line 57  using a simple interface such as: Line 56  using a simple interface such as:
56    MNC_VAR_INIT_REAL(     myThid, fname, gname, vname, units )    MNC_VAR_INIT_REAL(     myThid, fname, gname, vname, units )
57    MNC_VAR_INIT_INT(      myThid, fname, gname, vname, units )    MNC_VAR_INIT_INT(      myThid, fname, gname, vname, units )
58    MNC_VAR_INIT_ANY(      myThid, fname, gname, vname, units, type )    MNC_VAR_INIT_ANY(      myThid, fname, gname, vname, units, type )
59    MNC_VAR_ADD_ATTR_STR(  myThid, fname, vname, atname, nv, sval )    MNC_VAR_ADD_ATTR_STR(  myThid, fname, vname, atname, sval )
60    MNC_VAR_ADD_ATTR_DBL(  myThid, fname, vname, atname, nv, dval )    MNC_VAR_ADD_ATTR_DBL(  myThid, fname, vname, atname, nv, dval )
61    MNC_VAR_ADD_ATTR_REAL( myThid, fname, vname, atname, nv, rval )    MNC_VAR_ADD_ATTR_REAL( myThid, fname, vname, atname, nv, rval )
62    MNC_VAR_ADD_ATTR_INT(  myThid, fname, vname, atname, nv, ival )    MNC_VAR_ADD_ATTR_INT(  myThid, fname, vname, atname, nv, ival )
# Line 79  associations between files, "grids", var Line 78  associations between files, "grids", var
78  To-Do:  To-Do:
79  ======  ======
80    
81   1) CNH pointed out that grid interpolation needs to be handled   1) NAMING -- We should (as much as possible) try to name variables so
82        that they are in agreement with the CF naming conventions.
83    
84     2) UNITS -- as with the names we need to follow conventions
85    
86     3) AM described her "diags" (or "myDiags" or "mDiags") interface
87        which should use MNC for output.  The data storage idea is similar
88        to the MNC tables-of-indicies approach but also includes one huge
89        double-precision "accumulator" to hold all the temporary values
90        (eg. partial sums for averages, current max/mins):
91    
92          vname ( ni )
93          vlen  ( ni )
94          vind  ( ni ) ------+
95                             |
96    
97          vij_diag ( i, j, [...] )  w/ lat/lon indicies
98          vgl_diag ( [...] )        wo/ lat/lon indicies (global)
99    
100     4) CNH pointed out that grid interpolation needs to be handled
101      "on-the-fly" since pre-processing would result in overly large      "on-the-fly" since pre-processing would result in overly large
102      input files.  We need an interpolation API...      input files.  We need an interpolation API...
103    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22