- Timestamp:
- Apr 26, 2012, 12:30:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/Ohana/src/opihi/dvo/avextract.c
r33662 r33827 35 35 remove_argument (N, &argc, argv); 36 36 VERBOSE = TRUE; 37 } 38 39 int VERBOSE2 = FALSE; 40 if ((N = get_argument (argc, argv, "-vv"))) { 41 remove_argument (N, &argc, argv); 42 VERBOSE = TRUE; 43 VERBOSE2 = TRUE; 37 44 } 38 45 … … 173 180 catalog.filename = (HOST_ID || PARALLEL_LOCAL) ? hostfile : skylist[0].filename[i]; 174 181 catalog.catflags = LOAD_AVES | LOAD_SECF; 175 if (needMeasures) { 176 catalog.catflags |= LOAD_MEAS; 177 } 182 catalog.catflags |= needMeasures ? LOAD_MEAS : SKIP_MEAS; 178 183 catalog.Nsecfilt = 0; 179 184 … … 181 186 182 187 // an error exit status here is a significant error 183 if (!dvo_catalog_open (&catalog, NULL, FALSE, "r")) {188 if (!dvo_catalog_open (&catalog, NULL, VERBOSE2, "r")) { 184 189 gprint (GP_ERR, "ERROR: failure to open catalog file %s\n", catalog.filename); 185 190 exit (2);
Note:
See TracChangeset
for help on using the changeset viewer.
