Changeset 41499 for trunk/psastro/src/psastroMosaicChipAstrom.c
- Timestamp:
- Feb 18, 2021, 4:08:42 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroMosaicChipAstrom.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroMosaicChipAstrom.c
r41498 r41499 14 14 # define NONLIN_TOL 0.001 ///< tolerance in pixels 15 15 16 bool psastroMosaicChipAstrom (pmFPA *fpa, psMetadata * recipe, int iteration) {16 bool psastroMosaicChipAstrom (pmFPA *fpa, psMetadata *stats, psMetadata *recipe, int iteration) { 17 17 18 18 bool status; … … 83 83 if (fGood < minGoodChipFraction) { 84 84 psWarning ("Too few good chips (%d of %d = %.2f), setting bad quality for this exposure\n", nChipGood, (nChipGood + nChipFail), fGood); 85 // return false; 85 // NOTE: set bad data quality here 86 if (stats && psMetadataLookupS32(NULL, stats, "QUALITY") == 0) { 87 psMetadataAddS32(stats, PS_LIST_TAIL, "QUALITY", PS_META_REPLACE, "Mosaic astrometry failed", PSASTRO_ERR_DATA); 88 } 86 89 } 87 90
Note:
See TracChangeset
for help on using the changeset viewer.
