- Timestamp:
- Jan 29, 2009, 3:01:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_20090128/pswarp/src/pswarpParseCamera.c
r20331 r21225 45 45 } 46 46 47 pmFPAfile *in Weight = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.WEIGHT", "WEIGHT");47 pmFPAfile *inVariance = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.VARIANCE", "VARIANCE"); 48 48 if (!status) { 49 49 psError (PS_ERR_UNKNOWN, false, "failed to load find definition"); 50 50 return NULL; 51 51 } 52 if (!in Weight) {53 psLogMsg ("pswarp", 3, "no weightsupplied\n");52 if (!inVariance) { 53 psLogMsg ("pswarp", 3, "no variance supplied\n"); 54 54 } 55 55 … … 78 78 outMask->save = true; 79 79 80 if (in Weight) {81 pmFPAfile *out Weight = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.WEIGHT");82 if (!out Weight) {83 psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT. WEIGHT");80 if (inVariance) { 81 pmFPAfile *outVariance = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.VARIANCE"); 82 if (!outVariance) { 83 psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.VARIANCE"); 84 84 return false; 85 85 } 86 out Weight->save = true;86 outVariance->save = true; 87 87 } 88 88
Note:
See TracChangeset
for help on using the changeset viewer.
