DS-RM(1)

NAME
ds-rm - Remove variables or attributes.

SYNOPSIS
ds rm var input output [options]
ds rm var attr input output [options]

ARGUMENTS

var Variable name, an array of variable names or none to remove a dataset attribute.

attr
    Attribute name or an array of attribute names.

input
    Input file.

output
    Output file.

options
    See help for ds for global options.

EXAMPLES
Remove a variable temperature in dataset.nc and save the output in output.nc.

    $ ds rm temperature dataset.nc output.nc

Remove variables time and temperature in dataset.nc and save the output in output.nc.

    $ ds rm { time temperature } dataset.nc output.nc

Remove a dataset attribute title in dataset.nc and save the output in output.nc.

    $ ds rm none title dataset.nc output.nc

Remove an attribute units of a variable temperature in dataset.nc and save the output in output.nc.

    $ ds rm temperature units dataset.nc output.nc