- Timestamp:
- May 3, 2010, 8:50:52 AM (16 years ago)
- Location:
- branches/simtest_nebulous_branches
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psastro/src/psastroChipAstrom.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/simtest_nebulous_branches
- Property svn:mergeinfo changed
-
branches/simtest_nebulous_branches/psastro/src/psastroChipAstrom.c
r24036 r27840 56 56 57 57 // select the raw objects for this readout 58 psArray *rawstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.RAWSTARS ");58 psArray *rawstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.RAWSTARS.SUBSET"); 59 59 if (rawstars == NULL) { continue; } 60 60 61 61 // select the raw objects for this readout 62 psArray *refstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.REFSTARS ");62 psArray *refstars = psMetadataLookupPtr (&status, readout->analysis, "PSASTRO.REFSTARS.SUBSET"); 63 63 if (refstars == NULL) { continue; } 64 64 … … 66 66 if ((rawstars->n < 4) || (refstars->n < 4)) { 67 67 readout->data_exists = false; 68 psLogMsg ("psastro", 3, "insufficient rawstars (%ld) or refstars (%ld)", 69 rawstars->n, refstars->n); 68 psLogMsg ("psastro", 3, "insufficient rawstars (%ld) or refstars (%ld)", rawstars->n, refstars->n); 70 69 continue; 71 70 } … … 87 86 } 88 87 // XXX update the header with info to reflect the failure 89 if (!psastroOneChipFit (fpa, chip, re fstars, rawstars, recipe, updates)) {88 if (!psastroOneChipFit (fpa, chip, readout, refstars, rawstars, recipe, updates)) { 90 89 readout->data_exists = false; 91 90 psLogMsg ("psastro", 3, "failed to find a solution\n"); … … 97 96 // write the elapsed time here; this will be updated in psastroMosaicAstrometry, if called 98 97 psMetadataAddF32 (updates, PS_LIST_TAIL, "DT_ASTR", PS_META_REPLACE, "elapsed psastro time", psTimerMark ("psastroAnalysis")); 99 98 99 fpa->wcsCDkeys = psMetadataLookupBool(&status, recipe , "PSASTRO.WCS.USECDKEYS"); 100 100 pmAstromWriteWCS (updates, fpa, chip, NONLIN_TOL); 101 101
Note:
See TracChangeset
for help on using the changeset viewer.
