Branch: refs/heads/master
Home: https://github.com/Starlink/starjava
Commit: 9b6b2ccb9d838596cbc08bcde2e6a53562af098b
https://github.com/Starlink/starjava/commit/9b6b2ccb9d838596cbc08bcde2e6a53562af098b
Author: Mark Taylor <[log in to unmask]>
Date: 2014-12-16 (Tue, 16 Dec 2014)
Changed paths:
M fits/src/main/uk/ac/starlink/fits/VariableFitsTableSerializer.java
M topcat/src/docs/sun253.xml
M ttools/src/docs/sun256.xml
Log Message:
-----------
fits: fix PCOUNT bug in fits-var writer
In the VariableFitsTableSerializer, which uses P and Q output descriptors
to write variable-length arrays into the FITS HDU heap area,
I was writing the wrong value for the PCOUNT header card.
It was using the size of the heap, but it must include also the size
of any gap between the end of the data area and the start of the heap.
Fixed.
|