Changeset 3375 for trunk/stac/src/stacErrorImages.c
- Timestamp:
- Mar 4, 2005, 11:37:01 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/stacErrorImages.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stacErrorImages.c
r2500 r3375 35 35 #ifdef TESTING 36 36 // Write error image out to check 37 char errfile[MAXCHAR]; // Filename of error image 38 sprintf(errfile,"%s.err",config->inputs->data[i]); 39 psImageWriteSection(error,0,0,0,NULL,0,errfile); 37 char errName[MAXCHAR]; // Filename of error image 38 sprintf(errName,"%s.err",config->inputs->data[i]); 39 psFits *errorFile = psFitsAlloc(errName); 40 if (!psFitsWriteImage(errorFile, NULL, error, 0, NULL)) { 41 psErrorStackPrint(stderr, "Unable to write image: %s\n", errName); 42 } 43 psTrace("stac", 1, "Error image written to %s\n", errName); 44 psFree(errorFile); 40 45 #endif 41 46
Note:
See TracChangeset
for help on using the changeset viewer.
