ncks -O -v var_name in.nc out.nc puts only var_name (and associated coordinates) in the output file which, yes, can be the same name as the input file. netCDF itself has no API for removing variables so Dave is right, best to think of it as copying only the variables you want. cz On 02/05/2012 11:00 AM, netcdfgroup-request@xxxxxxxxxxxxxxxx wrote: > API for removing data variables? -- Charlie Zender, Department of Earth System Science University of California, Irvine 949-891-2429 )'(
netcdfgroup
archives: