Changeset 14874 for trunk/pswarp/src/pswarpParseCamera.c
- Timestamp:
- Sep 17, 2007, 4:19:23 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpParseCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpParseCamera.c
r14768 r14874 4 4 5 5 bool status; 6 bool mdok; // Status of MD lookup 6 7 pmFPAfile *skycell = NULL; 7 8 pmConfig *skyConfig = NULL; … … 89 90 } 90 91 92 if (psMetadataLookupBool(&mdok, config->arguments, "PSF")) { 93 // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by 94 // psphotDefineFiles 95 pmFPAfile *psphotInput = pmFPAfileDefineFromFPA(config, output->fpa, 1, 1, "PSPHOT.INPUT"); 96 if (!psphotInput) { 97 psError(PS_ERR_IO, false, _("Unable to generate output file from PSPHOT.INPUT")); 98 return false; 99 } 100 101 // Define associated psphot input/output files 102 if (!psphotDefineFiles(config, psphotInput)) { 103 psError(PSPHOT_ERR_CONFIG, false, 104 "Unable to define the additional input/output files for psphot"); 105 return false; 106 } 107 } 91 108 92 109 // Chip selection: turn on only the chips specified 93 bool mdok; // Status of MD lookup94 110 char *chipLine = psMetadataLookupStr(&mdok, config->arguments, "CHIP_SELECTIONS"); 95 111 if (mdok) {
Note:
See TracChangeset
for help on using the changeset viewer.
