rsl_radar_to_uf_gzip

This procedure writes data from the Radar structure to a file in Universal Format (UF), then uses gzip to compress it.

Syntax

rsl_radar_to_uf_gzip, radar, uf_file [, FIELDS=string_array] [, ERROR=variable] [, /FORCE_OWRITE]

Arguments

radar a radar structure.
uf_file A string expression containing the name of the output UF file.

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.
ERROR Set this keyword to a variable to return the error status. A value of 1 is returned for error, 0 otherwise.
FORCE_OWRITE Set this keyword to overwrite an existing file regardless of file permissions (only if you are the file owner).

Requirements

gzip must be installed on your system. If you don't have it, gzip is available at http://www.gnu.org.

Example

Write the contents of radar to a file named new.uf.gz.
rsl_radar_to_uf_gzip, radar, 'new.uf'
Note that the file name argument does not include the suffix .gz.
Rsl_radar_to_uf_gzip adds .gz to the file name if it's not present.