Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
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: