CDFUNIQ

CDFUNIQ
SYNOPSIS
DESCRIPTION

CDFUNIQ

cdfuniq −− condenses fields with identical data

SYNOPSIS

cdfuniq

DESCRIPTION

Cdfuniq reads a common data format file on the standard input and writes a modified file to the standard output. The modification consists of checking whether all data elements in each variable field are equal. If this is true, the field is redefined as a zero dimensional field with just one element, the value of this element being the common value of the input field. All variable fields with dimension greater than zero are checked.

Cdfuniq assumes that there is only one variable slice on the input file. If there is more than one variable slice, then cdfuniq only outputs the the first and all others are dropped.