rsl_radar_to_uf

This procedure writes data from the Radar structure to a file in Universal Format (UF).

Syntax

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

Arguments

radar a radar structure.
uf_file A string expression containing the name of the output UF file. If file name ends with '.gz', file will be compressed using gzip.

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.
COMPRESS Set this keyword to compress the output UF file using gzip. File name suffix of '.gz' will also invoke file compression.
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).

Example

Write the contents of radar in UF to file new.uf.
rsl_radar_to_uf, radar, 'new.uf'
Write radar contents and compress the UF file. File name will be new.uf.gz
rsl_radar_to_uf, radar, 'new.uf', /compress
This could also be done without the COMPRESS keyword by including '.gz' in the file name:
rsl_radar_to_uf, radar, 'new.uf.gz'

See Also

rsl_radar_to_uf_gzip