IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 5:10:34 PM (20 years ago)
Author:
eugene
Message:

all sorts of error handling fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroMosaicSetMatch.c

    r9374 r9574  
    1616    // this loop selects the matched stars for all chips
    1717    while ((chip = pmFPAviewNextChip (view, fpa, 1)) != NULL) {
    18         psTrace (__func__, 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process);
     18        psTrace ("psastro", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process);
    1919        if (!chip->process || !chip->file_exists) { continue; }
    2020       
    2121        while ((cell = pmFPAviewNextCell (view, fpa, 1)) != NULL) {
    22             psTrace (__func__, 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process);
     22            psTrace ("psastro", 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process);
    2323            if (!cell->process || !cell->file_exists) { continue; }
    2424
     
    3535                psArray *refstars = psMetadataLookupPtr (NULL, readout->analysis, "PSASTRO.REFSTARS");
    3636                if (refstars == NULL) { continue; }
    37                 psTrace (__func__, 4, "Trying %ld refstars\n", refstars->n);
     37                psTrace ("psastro", 4, "Trying %ld refstars\n", refstars->n);
    3838
    3939                // use small radius to match stars (assume starting astrometry is good)
    4040                // XXX should this take a (double radius)?
    4141                psArray *matches = pmAstromRadiusMatchChip (rawstars, refstars, recipe);
    42                 psTrace (__func__, 4, "Matched %ld refstars\n", matches->n);
     42                psTrace ("psastro", 4, "Matched %ld refstars\n", matches->n);
    4343
    4444                sprintf (name, "raw.%02d.dat", view->chip);
Note: See TracChangeset for help on using the changeset viewer.