|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Extra byte(s) after last HDU
Hi,
I have a table that was generated with cfitsio (whatever version, does not seem to make any difference). Unfortunately, it seems to be non- FITS compliant, according to http://fits.gsfc.nasa.gov/fits_verify.html: End-of-File *** Error: File has extra byte(s) after last HDU at byte 20160. I don't have the slightest idea what is causing this in the first place. fv and cfitsio do not have any problem opening and using the file, but latest pyfits will complain about "Header missing END card", while there *is* a END card... Comparing the original file to the pyfits-generated FITS-compliant file, the difference are just 2880 null bytes. Is there a way to clean the original fits file to remove the extra useless bytes? Cheers. PS: let me know if you want me to send you a copy of the file. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where did the extra mass come from? | Greatest Mining Pioneer of Australia of all Times | Astronomy Misc | 0 | October 12th 08 03:33 AM |
What could you do with an extra $250/week? | herself | Misc | 0 | January 13th 07 08:43 PM |
Extra! Extra! Read all about it! | Warhol | Misc | 0 | January 11th 07 10:02 PM |
Extra food? | Eric Carlisle | Space Shuttle | 9 | December 21st 06 04:49 AM |
Extra food? | Eric Carlisle | Space Station | 1 | December 20th 06 08:26 AM |