rsl_radar_to_uf_gzip

This procedure writes the data from a Radar structure to a file in Universal Format (UF) and then compresses the file using gzip.

Syntax

rsl_radar_to_uf_gzip, radar, uf_file [, FIELDS=string]

Arguments

radar a radar structure.
uf_file A string expression containing the name of the file where the compressed UF data will be written.

Keywords

FIELDS String array (or scalar for single field) containing the fields to be written to the output file. Default is all fields. Fields are in the form of the 2-character field names used by RSL, such as 'DZ', 'VR', etc.

Example

Write the contents of radar to a file named NEXRAD.uf.gz.
rsl_radar_to_uf_gzip, radar, 'NEXRAD.uf'
Note that the file name argument does not contain the suffix .gz. The compressed file will include the suffix whether or not it appears in the argument.