]> Pileus Git - ~andy/rsl/blobdiff - examples/qlook.c
Merge branch 'master' into aweather
[~andy/rsl] / examples / qlook.c
index f304da0482842abf94e2619b7be4dd8a65f4b55b..ec533738cf2aa8f0ec817d2900fa5ea1e961b226 100644 (file)
@@ -47,45 +47,38 @@ void make_pathname(char *filename, char *dir, char *pathname)
 /***********************************************************************/
 /*** DBW ***************************************************************/
 /***********************************************************************/
-main(int argc, char **argv) {
+int main(int argc, char **argv) {
 
     Radar       *radar;
     Volume      *dz_volume, *vr_volume;
     Volume      *dr_volume, *zt_volume;
-    Volume      *sw_volume, *qc_volume, *volume;
+    Volume      *sw_volume, *qc_volume;
 
     Sweep       *sweep;
-    Sweep       *dz_sweep, *qc_sweep;
-    Sweep       *dr_sweep, *zt_sweep;
-    Sweep       *vr_sweep, *sw_sweep;
 
     Ray         *ray;
-    int         reflectivity, qc_reflectivity, nvolumes;
+    int         reflectivity, qc_reflectivity;
     int         differential_reflectivity, total_reflectivity;
     int         velocity, spectral_width;
     int         make_catalog, make_gif, make_pgm; 
     int         make_uf, make_bscan;
     int         xdim, ydim, num_sweeps;
-    int         i,j,k,l,n, verbose, kk;
-    int         month, day, year, hour, min;
+    int         i,j, verbose;
     int         ncbins, width;
     int         print_azim;
     float       scale, dbz_offset;
     float       latitude, longitude;
 
-    float       sec;
     float       maxr;
-    float       nyquist, max_range, gate_size_adjustment;
+    float       max_range, gate_size_adjustment;
 
     char        tape_id[100];
     char        in_file[100], site_id[100];
-    char        filename[100], outfile[100], nexfile[100];
-    char        command[100], file_prefix[100], file_suffix[3];
-    char        dir_string[100], red[120], grn[120], blu[120];
-    char        time_string[14], site_string[10],img_base[20];
+    char        filename[100];
+    char        file_suffix[10];
+    char        time_string[14];
     char        pathname[256], gifdir[100], pgmdir[100], ufdir[100];
     char        *inpath;
-    FILE        *fp;
 
 /* Set default values */
 
@@ -734,7 +727,7 @@ main(int argc, char **argv) {
 
     if(verbose)
         printf("Finished!\n");
-    exit (0);
 
+    return 0;
 } /* End of main */