Changeset 18421 for trunk/psLib/src/fits/psFitsTable.c
- Timestamp:
- Jul 3, 2008, 5:18:06 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fits/psFitsTable.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsTable.c
r18144 r18421 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 2$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-0 6-16 21:40:06 $9 * @version $Revision: 1.33 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-07-04 03:18:06 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 640 640 psFree(colSpecs); 641 641 642 // This forces a re-scan of the header to ensure everything's kosher. We found this occassionally 643 // necessary for compressed images, which are tables, so perhaps it helps here too. I guess it can't 644 // hurt. 645 ffrdef(fits->fd, &status); 646 if (psFitsError(status, true, "Could not re-scan HDU.")) { 647 return false; 648 } 649 642 650 return true; 643 651 } … … 685 693 psFree(iter); 686 694 695 // This forces a re-scan of the header to ensure everything's kosher. We found this occassionally 696 // necessary for compressed images, which are tables, so perhaps it helps here too. I guess it can't 697 // hurt. 698 ffrdef(fits->fd, &status); 699 if (psFitsError(status, true, "Could not re-scan HDU.")) { 700 return false; 701 } 702 687 703 return true; 688 704 }
Note:
See TracChangeset
for help on using the changeset viewer.
