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.

Re: deleting dimensions and variables

Hi James,

>> Is there no way to delete a dimension, a variable or a data element from
>> a netCDF database?

In case you don't know about NCO, most of the NCO operators will
delete variables from existing netCDF files with, e.g.,

ncks -x -v var1,var2 in.nc out.nc

When all the variables containing a given dimension have been deleted,
the above command automatically deletes the dimension as well.
See http://www.cgd.ucar.edu/cms/nco for more details.

Charlie
-- 
Charlie Zender      Voice: (303) 497-1612, FAX: 497-1324 
NCAR ACD & CGD     E-mail: zender@xxxxxxxxxxxxx
P.O. Box 3000         URL: http://www.cgd.ucar.edu/cms/zender
Boulder CO 80307-3000 PGP: finger -l zender@xxxxxxxxxxxxxxxxx


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