Changeset 7917 for trunk/Ohana/src/opihi/dvo/fitsed.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/fitsed.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/fitsed.c
r7892 r7917 187 187 /* loop over regions, extract data for each region */ 188 188 // XXX add interrupt checks 189 fprintf (stderr, "using %d possible regions\n", skylist[0].Nregions);189 gprint (GP_ERR, "using %d possible regions\n", skylist[0].Nregions); 190 190 for (k = 0; k < skylist[0].Nregions; k++) { 191 191 /* lock, load, unlock catalog */ … … 326 326 KiiCursorOn (fd); 327 327 while (KiiCursorRead (fd, &X, &Y, key)) { 328 fprintf (stderr, "window: %f %f (%s)\n", X, Y, key);328 gprint (GP_ERR, "window: %f %f (%s)\n", X, Y, key); 329 329 if (!strcasecmp (key, "Q")) { 330 330 KiiCursorOff (fd); … … 343 343 unlock_catalog (&catalog); 344 344 } 345 fprintf (stderr, "fitted %d stars\n", Nfit);345 gprint (GP_ERR, "fitted %d stars\n", Nfit); 346 346 status = TRUE; 347 347 goto finish; 348 348 349 349 usage: 350 fprintf (stderr, "USAGE: fitset (sedtable) : (F) - (F)\n");350 gprint (GP_ERR, "USAGE: fitset (sedtable) : (F) - (F)\n"); 351 351 goto escape; 352 352 353 353 table_missing: 354 fprintf (stderr, "ERROR: can't open the SED table\n");354 gprint (GP_ERR, "ERROR: can't open the SED table\n"); 355 355 goto escape; 356 356 357 357 color_missing: 358 fprintf (stderr, "ERROR: reference color not in SED table\n");358 gprint (GP_ERR, "ERROR: reference color not in SED table\n"); 359 359 goto escape; 360 360 361 361 color_undefined: 362 fprintf (stderr, "ERROR: undefined photcode in reference color\n");362 gprint (GP_ERR, "ERROR: undefined photcode in reference color\n"); 363 363 goto escape; 364 364 365 365 code_missing: 366 fprintf (stderr, "ERROR: undefined photcode in SED table\n");366 gprint (GP_ERR, "ERROR: undefined photcode in SED table\n"); 367 367 goto escape; 368 368
Note:
See TracChangeset
for help on using the changeset viewer.
