Changeset 13272 for trunk/ppStac/src
- Timestamp:
- May 4, 2007, 3:51:25 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStac/src/ppStacCombine.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStac/src/ppStacCombine.c
r13247 r13272 16 16 psRegion region = psRegionSet(0, 0, 0, 0); // Region to read 17 17 for (int i = 0; i < inputs->n; i++) { 18 psString resolved = pmConfigConvertFilename(options->inFiles->data[i], options->config, false);19 18 psImage *image = psFitsReadImage(options->inFiles->data[i], region, 0); 20 19 if (!image) { 21 psError(PS_ERR_IO, false, "Unable to read image %s\n", resolved); 22 psFree(resolved); 20 psError(PS_ERR_IO, false, "Unable to read image %d\n", i); 23 21 return false; 24 22 } 25 psFree(resolved);26 23 inputs->data[i] = image; 27 24 }
Note:
See TracChangeset
for help on using the changeset viewer.
