1 |
|
# $Header$ |
2 |
|
# $Name$ |
3 |
|
|
4 |
API Discussions: |
API Discussions: |
5 |
================ |
================ |
82 |
'U_xy_i_t_Hn', Cen |
'U_xy_i_t_Hn', Cen |
83 |
'Cor_x_-_-_Hy' Cor |
'Cor_x_-_-_Hy' Cor |
84 |
|
|
85 |
MNC_CW_WRITE( myIter, filebn,bi,bj, Gtype, RX, vname, var, myThid ) |
MNC_CW_SET_UDIM( fbname, udim, myThid ) |
|
MNC_CW_READ( myIter, filebn,bi,bj, Gtype, RX, vname, var, myThid ) |
|
86 |
|
|
87 |
MNC_CW_RX_W_YY( fbname,bi,bj, vtype, indu, var, myThid ) |
MNC_CW_RX_W( 'R|D|I', fbname,bi,bj, vtype, indu, var, myThid ) |
88 |
MNC_CW_RX_R_YY( fbname,bi,bj, vtype, indu, var, myThid ) |
MNC_CW_RX_R( 'R|D|I', fbname,bi,bj, vtype, indu, var, myThid ) |
89 |
|
| |
90 |
|
+-- RX = 'RL', 'RS', or 'I' |
91 |
|
|
92 |
MNC_COMP_VTYPE_VAR( ind_vt, ind_fv_ids, ires, myThid ) |
MNC_COMP_VTYPE_VAR( ind_vt, ind_fv_ids, ires, myThid ) |
93 |
|
|
94 |
|
|
95 |
|
|
96 |
To-Do: |
To-Do: |
97 |
====== |
====== |
98 |
|
|
101 |
|
|
102 |
2) UNITS -- as with the names we need to follow conventions |
2) UNITS -- as with the names we need to follow conventions |
103 |
|
|
104 |
3) AM described her "diags" (or "myDiags" or "mDiags") interface |
3) CNH pointed out that grid interpolation needs to be handled |
|
which should use MNC for output. The data storage idea is similar |
|
|
to the MNC tables-of-indicies approach but also includes one huge |
|
|
double-precision "accumulator" to hold all the temporary values |
|
|
(eg. partial sums for averages, current max/mins): |
|
|
|
|
|
vname ( ni ) |
|
|
vlen ( ni ) |
|
|
vind ( ni ) ------+ |
|
|
| |
|
|
|
|
|
vij_diag ( i, j, [...] ) w/ lat/lon indicies |
|
|
vgl_diag ( [...] ) wo/ lat/lon indicies (global) |
|
|
|
|
|
4) CNH pointed out that grid interpolation needs to be handled |
|
105 |
"on-the-fly" since pre-processing would result in overly large |
"on-the-fly" since pre-processing would result in overly large |
106 |
input files. We need an interpolation API... |
input files. We need an interpolation API... |
107 |
|
|
|
5) From the group meeting on 2004/01/21, we need to define |
|
|
"sub-grids" corresponding to: |
|
|
|
|
|
var_name HGRID VGRID TIME |
|
|
=========================================== |
|
|
u U_xy r_c t |
|
|
eta T_xy - t |
|
|
rac T_xy - - |
|
|
|
|
|
And write a convenience wrapper so that users can write variables |
|
|
using just two function calls. JMC and I worked out the |
|
|
following: |
|
|
|
|
108 |
|
|