Changeset 39926 for trunk/psastro/src/psastroAstromGuess.c
- Timestamp:
- Jan 6, 2017, 11:30:10 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psastro/src/psastroAstromGuess.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/czw_branch/20160809 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/psastro/src/psastroAstromGuess.c
r31333 r39926 75 75 pmFPA *fpa = input->fpa; 76 76 77 if (DEBUG) psastroDumpCorners ("corners.up.guess1.dat", "corners.dn.guess1.dat", fpa); 77 // this call only works if we have loaded a model : seg fault if not 78 if (DEBUG && useModel) psastroDumpCorners ("corners.up.guess1.dat", "corners.dn.guess1.dat", fpa); 78 79 79 80 // load mosaic-level astrometry? … … 91 92 if (!psastroAstromGuessSetChip (fpa, chip, view, pixelScale, bilevelAstrometry)) continue; 92 93 } 94 95 if (!chip->toFPA || !chip->fromFPA) { 96 char *name = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME"); 97 fprintf (stderr, "no astrom model for %s, skipping\n", name); 98 continue; 99 } 93 100 94 101 if (newFPA) { … … 312 319 while ((chip = pmFPAviewNextChip (view, fpa, 1)) != NULL) { 313 320 if (!chip->process || !chip->file_exists || !chip->data_exists) { continue; } 321 322 if (!chip->toFPA || !chip->fromFPA) { 323 char *name = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME"); 324 fprintf (stderr, "no astrom model for %s, skipping\n", name); 325 continue; 326 } 314 327 315 328 // XXX we are currently inconsistent with marking the good vs the bad data
Note:
See TracChangeset
for help on using the changeset viewer.
