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.
Actually, use 'ncecat' then 'ncwa'.rorik@chabuku:~/nco/data$ ncdump one.nc; ncecat one.nc one$$.nc; ncwa -O -a record one$$.nc one.nc;ncdump one.nc
netcdf one { dimensions: time = UNLIMITED ; // (2 currently) lat = 2 ; lon = 2 ; variables: float lat(lat) ; float lon(lon) ; float wind(time, lat, lon) ; data: lat = 2.2, 3.3 ; lon = 4.4, 5.5 ; wind 1, 2, 3, 4, 5, 6, 7, 8 ; } netcdf one { dimensions: time = 2 ; lat = 2 ; lon = 2 ; variables: float lat(lat) ; float lon(lon) ; float wind(time, lat, lon) ; // global attributes::history = "Fri Apr 2 09:38:45 2004: ncwa -O -a record one17332.nc one.nc\n", "Fri Apr 2 09:38:45 2004: ncecat one.nc one17332.nc" ;
data: lat = 2.2, 3.3 ; lon = 4.4, 5.5 ; wind 1, 2, 3, 4, 5, 6, 7, 8 ; } Chris Webster wrote:
Is there a utility to copy an existing netCDF file with an UNLIMITED dimension into one without? --Chris
-- Rorik Peterson, PhD Geophysical Institute University of Alaska, Fairbanks
netcdfgroup
archives: