Changeset 40483 for branches/czw_branch/20170908/pswarp/src/pswarpLoop.c
- Timestamp:
- Jun 27, 2018, 3:31:55 PM (8 years ago)
- Location:
- branches/czw_branch/20170908
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pswarp/src/pswarpLoop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/pswarp/src/pswarpLoop.c
r36835 r40483 58 58 } 59 59 60 psString refcat = NULL; 60 61 // loop over this section once per input group 61 62 for (int i = 0; i < nInputs; i++) { … … 121 122 psMetadataAddPtr(readout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_DATA_ARRAY, "Sources from input astrometry", detections); 122 123 } 124 125 // Determine the reference catalog used 126 if ((!refcat)&&(astromRO)) { 127 if ((astromRO->parent->parent->hdu->header)&&(output->fpa->analysis)) { 128 psMetadataItem *refItem = psMetadataLookup(astromRO->parent->parent->hdu->header, "PSREFCAT"); 129 if (refItem) { 130 refcat = psMetadataLookupStr(NULL, astromRO->parent->parent->hdu->header, "PSREFCAT"); 131 psMetadataAddStr(output->fpa->analysis, PS_LIST_TAIL, "REFERENCE_CATALOG", PS_META_REPLACE, 132 "Reference catalog used for calibration.", refcat); 133 } 134 } 135 } 136 123 137 } 124 138
Note:
See TracChangeset
for help on using the changeset viewer.
