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.

[netcdfgroup] changing from fixed to unlimited dimensions in place

I'm guessing this is not possible but I thought I would ask just in case there is something I missed. Is it possible to change a dimension from a fixed length dimension to a record or unlimited dimension in place without having to rewrite the entire file. In my case I have a bunch of 2D (lat, lon) or 3D (lon,lat,lev) plus time netcdf 4 files where time is the last dimension (1 time per file) that I want to concatenate with the nco utility. The files were created with time a fixed dimension of length one and are large and nco seems to be making a copy of the whole file when converting the time to an unlimited dimension. Looking at the API it doesn't seem it can be done without making a new file.

--
Ben Auer, PhD   SSAI, Scientific Programmer/Analyst
NASA GSFC,  Global Modeling and Assimilation Office
Code 610.1, 8800 Greenbelt Rd, Greenbelt, MD  20771
Phone: 301-286-9176               Fax: 301-614-6246



  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: