CDFTHIN

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE

NAME

cdfthin −− thins out data

SYNOPSIS

cdfthin dim_name1 increment1 [dim_name2 ... increment4]

DESCRIPTION

Cdfthin reads a common data format file on the standard input and sends a modified file to the standard output. The purpose of cdfthin is to retain only every other, every third, or in general, every nth data element over the specified dimension, where n is the increment value specified on the command line. Up to four separate dimensions with corresponding increment values may be specified. Index fields and parameters are modified in the expected manner.

EXAMPLE

kestrel%cdfthin x 5 z 2 < input_file > output_file

Fields having an x dimension would have the 0th, 5th, 10th, ... elements retained in that dimension, the other elements being discarded. Fields having a z dimension would have the 0th, 2nd, 4th, ... elements retained in that dimension. Fields containing neither dimension would remain unchanged.