A Space & astronomy forum. SpaceBanter.com

Go Back   Home » SpaceBanter.com forum » Astronomy and Astrophysics » FITS
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Extra byte(s) after last HDU



 
 
Thread Tools Display Modes
  #1  
Old June 30th 10, 11:52 AM posted to sci.astro.fits
Yannick Copin
external usenet poster
 
Posts: 1
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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 09:43 PM
Extra! Extra! Read all about it! Warhol Misc 0 January 11th 07 11:02 PM
Extra food? Eric Carlisle Space Shuttle 9 December 21st 06 05:49 AM
Extra food? Eric Carlisle Space Station 1 December 20th 06 09:26 AM


All times are GMT +1. The time now is 09:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 SpaceBanter.com.
The comments are property of their posters.