Changeset 18421
- Timestamp:
- Jul 3, 2008, 5:18:06 PM (18 years ago)
- Location:
- trunk/psLib/src/fits
- Files:
-
- 3 edited
-
psFitsHeader.c (modified) (2 diffs)
-
psFitsImage.c (modified) (2 diffs)
-
psFitsTable.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fits/psFitsHeader.c
r17587 r18421 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.4 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-0 5-08 21:40:25$9 * @version $Revision: 1.46 $ $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 … … 79 79 { "ZEXTEND", "EXTEND" }, 80 80 { "ZBLOCKED", "BLOCKED"}, 81 { "ZPCOUNT", "PCOUNT" },82 { "ZGCOUNT", "GCOUNT" },81 // { "ZPCOUNT", "PCOUNT" }, 82 // { "ZGCOUNT", "GCOUNT" }, 83 83 { "ZHECKSUM", "CHECKSUM"}, 84 84 { "ZDATASUM", "DATASUM" }, -
trunk/psLib/src/fits/psFitsImage.c
r18420 r18421 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-07-04 03:1 0:36 $9 * @version $Revision: 1.34 $ $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 … … 785 785 } 786 786 787 // This forces a re-scan of the header to ensure everything's kosher. We found this occassionally 788 // necessary for compressed images, which are tables, so perhaps it helps here too. I guess it can't 789 // hurt. 790 ffrdef(fits->fd, &status); 791 if (psFitsError(status, true, "Could not re-scan HDU.")) { 792 goto UPDATE_FAIL; 793 } 794 787 795 return true; 788 796 -
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.
