Changeset 17302 for trunk/Mars/mcore


Ignore:
Timestamp:
10/21/13 21:59:41 (11 years ago)
Author:
tbretz
Message:
fRealRowWidth is know already before the header is written, so it can be updated. That has the advantage that the files headers can be read with fitsdump (I hope) even if the file is not yet closed - otherwise it gives an error that the column size mismatches.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/zofits.h

    r17301 r17302  
    143143        {
    144144            reallocateBuffers();
     145
     146            SetInt("ZNAXIS1", fRealRowWidth);
    145147
    146148            ofits::WriteTableHeader(name);
Note: See TracChangeset for help on using the changeset viewer.