- Timestamp:
- Mar 28, 2012, 8:49:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/opihi/dvo/mextract.c
r33615 r33616 25 25 selection = NULL; 26 26 27 fprintf (stderr, "start...");27 // fprintf (stderr, "start..."); 28 28 if ((N = get_argument (argc, argv, "-h"))) goto help; 29 29 if ((N = get_argument (argc, argv, "--help"))) goto help; … … 39 39 remove_argument (N, &argc, argv); 40 40 PARALLEL = TRUE; 41 } 42 43 // this is used to NOT save the results in the results file 44 // use this option when mextract is used in a script which does its 45 // own job of packaging the results 46 int SKIP_RESULTS = FALSE; 47 if ((N = get_argument (argc, argv, "-skip-results"))) { 48 remove_argument (N, &argc, argv); 49 SKIP_RESULTS = TRUE; 41 50 } 42 51 … … 146 155 interrupt = FALSE; 147 156 148 fprintf (stderr, "done setup...");157 // fprintf (stderr, "done setup..."); 149 158 150 159 for (i = 0; (i < skylist[0].Nregions) && !interrupt; i++) { … … 171 180 /* XXX need to call dvo_catalog_chipcoords here passing the loaded images */ 172 181 173 fprintf (stderr, "done read...");182 // fprintf (stderr, "done read..."); 174 183 175 184 for (j = 0; (j < catalog.Naverage) && !interrupt; j++) { … … 223 232 interrupt = FALSE; 224 233 225 fprintf (stderr, "done load...");234 // fprintf (stderr, "done load..."); 226 235 227 236 for (n = 0; n < Nreturn; n++) { … … 230 239 231 240 // write vectors to a table (this is used by parallel dvo operations, but can be used elsewhere) 232 if (RESULT_FILE ) {241 if (RESULT_FILE && !SKIP_RESULTS) { 233 242 int status = WriteVectorTableFITS (RESULT_FILE, "RESULT", vec, Nreturn, FALSE, NULL); 234 243 if (!status) goto escape; … … 244 253 FreeSkyRegionSelection (selection); 245 254 246 fprintf (stderr, "done extr...\n");255 // fprintf (stderr, "done extr...\n"); 247 256 return (TRUE); 248 257
Note:
See TracChangeset
for help on using the changeset viewer.
