- Timestamp:
- Jul 3, 2013, 1:43:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/pswarp/src/pswarpLoadAstrometry.c
r35563 r35747 38 38 psTrace ("pswarp", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process); 39 39 if (!chip->process || !chip->file_exists) { continue; } 40 pmChip *targetChip = pmFPAviewThisChip(view, target->fpa); // < Chip in the output 41 if (!targetChip || !targetChip->process || !targetChip->file_exists) { 42 continue; // only load astrometry into output chips which exist! 43 } 40 44 if (!pmFPAfileRead (astrom, view, config)) { 41 45 psError(psErrorCodeLast(), false, "failed READ at CHIP %s", astrom->name); … … 109 113 if (!chip->process || !chip->file_exists) { continue; } 110 114 115 pmChip *targetChip = pmFPAviewThisChip(view, target->fpa); // < Chip in the output 116 if (!targetChip || !targetChip->process || !targetChip->file_exists) { 117 continue; // only load astrometry into output chips which exist! 118 } 119 111 120 // we've got the astrom header 112 121 pmHDU *hdu = pmHDUFromChip(chip); ///< HDU for source … … 116 125 return false; 117 126 } 118 119 // We read from the astrometry source into the target.120 pmChip *targetChip = pmFPAviewThisChip(view, target->fpa); ///< Chip in the output121 if (!targetChip) continue; // only load astrometry into output chips which exist!122 127 123 128 if (bilevelAstrometry) {
Note:
See TracChangeset
for help on using the changeset viewer.
