5 <a HREF="index.html"> <IMG SRC="rsl.gif"> </a>
9 <h1>RSL_wsr88d_to_radar</h1>
14 <b>#include "rsl.h"<br>
15 <a href=RSL_radar_struct.html>Radar</a> *RSL_wsr88d_to_radar(char *infile, char *callid_or_first_file);</b>
19 Reads a wsr88d (NEXRAD) file and returns a pointer to the <i>Radar</i> structure. The input file is specified by the string <i>infile</i>. If <i>infile</i> is NULL, then stdin is read. The input file may be compressed. If the data is compressed, it is passed through the GNU <b>gunzip</b> filter. Thus, compressed data can be any format that <b>gzip</b> understands.
21 <p>The radar structure is, essentially, an array of Volumes. These volumes represent the reflectivity, velocity and spectrum width fields. The string <b>callid_or_first_file</b> contains the filename of the first extracted file from the NEXRAD tape or contains the 4 character callid (eg. KMLB). The first file on the tape is the only place where the site information is stored. A warning will be issued if it is detected that the file <b>callid_or_first_file</b> is not a proper NEXRAD tape header file.
25 Upon successful completion, RSL_wsr88d_to_radar returns a pointer to the structure <b>Radar</b>. Otherwise, NULL is returned. A valid <b>Radar</b> structure will be returned if the <b>infile</b> is valid, dispite <b>callid_or_first_file</b> being invalid. Thus, it is not required to have <b>callid_or_first_file</b>.
29 <a href=RSL_anyformat_to_radar.html>RSL_anyformat_to_radar</a>
32 <p>Author: <a href=john.merritt.html>John H. Merritt</a>.