- Timestamp:
- Nov 29, 2012, 2:15:01 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120905
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/src/ppstampParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120905
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20120905/pstamp/src/ppstampParseCamera.c
r33504 r34735 120 120 } 121 121 122 // Set up the input and output sources files if needed 123 if (options->writeCMF) { 124 bool status; 125 126 // see if -sources file was supplied. 127 // If so define the file. 128 psPtr sourcesFile = psMetadataLookupStr(&status, config->arguments, "SOURCES"); 129 if (sourcesFile) { 130 pmFPAfile *sources = pmFPAfileBindFromArgs(&status, input, config, "PPSTAMP.INPUT.SOURCES", "SOURCES"); 131 if (!status) { 132 psError(psErrorCodeLast(), false, "Failed to load file definition for PPSTAMP.INPUT.SOURCES"); 133 return false; 134 } 135 if (!sources && !astrom) { 136 psError(psErrorCodeLast(), false, "Failed to define input sources file"); 137 return false; 138 } 139 } else { 140 psLogMsg ("ppstamp", PS_LOG_INFO, "output sources file requested but no input supplied. Will try the supplied astrometry file.\n"); 141 } 142 143 pmFPAfile *outputSources = NULL; 144 outputSources = pmFPAfileDefineSkycell(config, output->fpa, "PPSTAMP.OUTPUT.SOURCES"); 145 if (!outputSources) { 146 psError(psErrorCodeLast(), false, "Failed to define output sources file"); 147 return false; 148 } 149 outputSources->save = true; 150 } 151 122 152 pmFPAfile *chipImage = pmFPAfileDefineChipMosaic(config, input->fpa, "PPSTAMP.CHIP"); 123 153 if (!chipImage) {
Note:
See TracChangeset
for help on using the changeset viewer.
