NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
In the set_cur C++ function in netcdf.cc, I have made the following modification. This change seems necessary to be able to extend a variable with an unlimited dimension. For instance, in the nctst.cc file, the entire unlimited dimension frtime is written first. Then the P variable can be written in pieces. If someone is familiar with the C++ routines I would greatly appreciate feedback on this code. Sincerely, Phil Miller philip.miller@xxxxxxxxxx (301) 953-6000 x8335 line 665 of netcdf.cc if ( (t[i] >= get_dim(i)->size()) && ( i > 1 || !get_dim(i)->is_unlimited()) ) return FALSE; // too big for dimension
netcdfgroup
archives: