IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 18, 2006, 5:02:41 PM (20 years ago)
Author:
eugene
Message:

added error checks for psastroOneChip

File:
1 edited

Legend:

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

    r9627 r9644  
    5151                psMetadata *updates = psMetadataAlloc();
    5252
    53                 psastroOneChip (fpa, chip, refstars, rawstars, recipe, updates);
     53                if (!psastroOneChip (fpa, chip, refstars, rawstars, recipe, updates)) {
     54                    psError (PSASTRO_ERR_DATA, false, "failed to find a solution\n");
     55                    return false;
     56                }
    5457                pmAstromWriteWCS (chip->toFPA, fpa->toSky, updates, plateScale);
    5558                psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSASTRO.HEADER",  PS_DATA_METADATA, "psastro header stats", updates);
Note: See TracChangeset for help on using the changeset viewer.