Changeset 35513
- Timestamp:
- May 6, 2013, 6:24:22 AM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130419/pswarp/src
- Files:
-
- 2 edited
-
pswarpLoop.c (modified) (1 diff)
-
pswarpParseCamera.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130419/pswarp/src/pswarpLoop.c
r35512 r35513 89 89 90 90 pmFPAview *view = pmFPAviewAlloc(0); 91 92 // XXX : need to generate a list of input cells for each output cell93 // XXX : psList *cells = psListAlloc(NULL); // List of cells, for concepts averaging94 91 95 92 // files associated with the science image -
branches/eam_branches/ipp-20130419/pswarp/src/pswarpParseCamera.c
r35449 r35513 67 67 } 68 68 69 // XXX I should allow the astrometry input to be either WCS or CMF 70 // Define the input astrometry file(s) 69 // Define the input astrometry file(s) (may be either WCS or CMF) 71 70 bool status = false; 72 71 pmFPAfile *astrom = pmFPAfileDefineFromArgs(&status, config, "PSWARP.ASTROM", "ASTROM"); … … 140 139 output->save = true; 141 140 142 // XXX for a test, skip these 143 # if (0) 144 pmFPAfile *outMask = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.MASK"); 141 // pmFPAfile *outMask = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.MASK"); 142 pmFPAfile *outMask = pmFPAfileDefineOutputForFormat(config, output->fpa, "PSWARP.OUTPUT.MASK", skycell->cameraName, skycell->formatName); 145 143 if (!outMask) { 146 144 psError(psErrorCodeLast(), false, "Failed to build FPA from PSWARP.OUTPUT.MASK"); … … 150 148 151 149 if (inVariance) { 152 pmFPAfile *outVariance = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.VARIANCE"); 150 // pmFPAfile *outVariance = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.VARIANCE"); 151 pmFPAfile *outVariance = pmFPAfileDefineOutputForFormat(config, output->fpa, "PSWARP.OUTPUT.VARIANCE", skycell->cameraName, skycell->formatName); 153 152 if (!outVariance) { 154 153 psError(psErrorCodeLast(), false, "Failed to build FPA from PSWARP.OUTPUT.VARIANCE"); … … 158 157 } 159 158 159 # if (0) 160 // XXX wait on sources 160 161 if (astrom && psMetadataLookupBool(&mdok, recipe, "SOURCES")) { 161 162 pmFPAfile *outSources = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.SOURCES"); … … 180 181 } 181 182 182 /// XXX TEST183 /// XXX re-enable after sources work 183 184 if (false && psMetadataLookupBool(&mdok, recipe, "PSF")) { 184 185 // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
Note:
See TracChangeset
for help on using the changeset viewer.
