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.
Hi,when chunking files with unlimited dimension, the unlimited dimension must be given explicitly in nccopy, and will usually be set to one.
In a file with time as unlimited dimension, and X and Y as dimensions, it is currently required to use
$ nccopy -k 4 -c "time/1,X/100,Y/100" in.nc out.nc When running without time, it does not work: $ nccopy -k 4 -c "X/100,Y/100" in.nc out.nc NetCDF: Invalid argument Location: file nccopy.c; line 637Only for unlimited dimensions, one needs to give the dimension explicitly, for all other dimensions a useful default (full dim-size) is used. I think a useful default for unlimited dimensions is 1.
Heiko -- Dr. Heiko Klein Tel. + 47 22 96 32 58 Development Section / IT Department Fax. + 47 22 69 63 55 Norwegian Meteorological Institute http://www.met.no P.O. Box 43 Blindern 0313 Oslo NORWAY
netcdfgroup
archives: