Changeset 7385 for trunk/psastro/src
- Timestamp:
- Jun 6, 2006, 5:37:11 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroMosaicHeaders.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroMosaicHeaders.c
r7333 r7385 9 9 psMetadata *recipe = psMetadataLookupPtr (NULL, config->recipes, "PSASTRO"); 10 10 if (!recipe) { 11 psErrorStackPrint(stderr, "Can't find PSASTRO recipe!\n");12 exit(EXIT_FAILURE);11 psErrorStackPrint(stderr, "Can't find PSASTRO recipe!\n"); 12 exit(EXIT_FAILURE); 13 13 } 14 14 … … 16 16 pmFPAfile *input = psMetadataLookupPtr (NULL, config->files, "PSASTRO.INPUT"); 17 17 if (!input) { 18 psErrorStackPrint(stderr, "Can't find input data!\n");19 exit(EXIT_FAILURE);18 psErrorStackPrint(stderr, "Can't find input data!\n"); 19 exit(EXIT_FAILURE); 20 20 } 21 21 … … 31 31 psTrace (__func__, 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process); 32 32 if (!chip->process || !chip->file_exists) { continue; } 33 33 34 34 // read WCS data from the corresponding header 35 35 pmHDU *hdu = pmFPAviewThisHDU (view, fpa); 36 36 37 pmAstromWriteBilevelChip (chip->toFPA, hdu->header, plateScale);37 pmAstromWriteBilevelChip (chip->toFPA, hdu->header, plateScale); 38 38 } 39 39 40 40 psMetadata *mosaic = pmAstromWriteBilevelMosaic (fpa->projection, fpa->toTangentPlane, plateScale); 41 41 42 42 psFits *fits = psFitsOpen (mosastro, "w"); 43 psFitsWrite HeaderNotImage(fits, mosaic);43 psFitsWriteBlank(fits, mosaic); 44 44 psFitsClose (fits); 45 45
Note:
See TracChangeset
for help on using the changeset viewer.
