Changeset 15137 for trunk/ppImage/src/ppImageAstrom.c
- Timestamp:
- Sep 30, 2007, 4:20:08 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageAstrom.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageAstrom.c
r15136 r15137 19 19 PS_ASSERT (input, false); 20 20 21 // deactivate the psastro files, reactive when needed22 // XXX ??? pmFPAfileActivate (config->files, true, "PSASTRO.OUTPUT");23 24 21 // convert the output sources created by psphot into astrometry objects 25 22 if (!psastroConvertFPA (input->fpa, recipe)) { … … 33 30 } 34 31 32 // deactivate the psastro files, reactive when needed 33 pmFPAfileActivate (config->files, false, NULL); 34 pmFPAfileActivate (config->files, true, "PSASTRO.OUTPUT"); 35 36 // loop over all chips and perform IO needed 37 pmFPAview *view = pmFPAviewAlloc(0);// View for level of interest 38 while ((chip = pmFPAviewNextChip(view, input->fpa, 1)) != NULL) { 39 psLogMsg ("ppImageLoop", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process); 40 41 // Output and Close at Chip level 42 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) { 43 psFree(view); 44 return false; 45 } 46 } 47 48 // Output and Close FPA 49 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) { 50 psFree(view); 51 return false; 52 } 53 54 // deactivate the PSASTRO files, re-active all else 55 // XXX do we need a way to activate / deactivate other groups? 56 pmFPAfileActivate (config->files, true, NULL); 57 pmFPAfileActivate (config->files, false, "PSASTRO.OUTPUT"); 58 35 59 return true; 36 60 }
Note:
See TracChangeset
for help on using the changeset viewer.
