rsl_anyformat_to_radar

This function attempts to determine the format of the input radar file and call the appropriate function to read data into the radar structure. If successful, the function returns a radar structure, otherwise, it returns an integer value of -1.

Syntax

radar = rsl_anyformat_to_radar(radarfile [, siteID_or_header] [, /CATCH_ERROR] [, /QUIET] [, ERROR=variable] [, FIELDS=string_array] [, MAXSWEEPS=integer] [, VOS_NUMBER=vosnumber])

Arguments

radarfile A string containing name of radar file. Gzipped files are automatically uncompressed (providing gzip is installed).
siteID_or_header A string containing either the 4-character WSR-88D site ID or the name of a WSR-88D header file. If omitted, program will attempt to get site ID from file name. This option is for WSR-88D processing only.

Keywords

VOS_NUMBER Number of the volume scan (VOS) to be read from a TSDIS Level 1 HDF. Default is first VOS (VOS_NUMBER = 1).
CATCH_ERROR Set this keyword to enable an error handler that will return control to the calling function if an IDL error occurs. Normally when an IDL error occurs, a message is printed and processing stops. When catch_error is set, a message is printed and rsl_anyformat_to_radar returns -1.
QUIET Set this keyword to turn off progress reporting.
ERROR Assign a variable to this keyword to have a boolean error status returned. A value of 1, or TRUE, indicates an error occurred; 0, or FALSE, means no error.
FIELDS String scalar or array containing fields to be processed. Default: all fields. Fields are in the form of the 2-character names used by RSL and UF, such as 'DZ', 'VR', etc. (This keyword is operational only for Sigmet raw files. It is ignored for all others.)
MAXSWEEPS Maximum number of sweeps to read from volume scan. Default: all sweeps. (This keyword is operational for UF files and Sigmet raw files. It is ignored for all others.)