×

INDI Library v1.9.6 Released (21 May 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Is there something odd in the FIts header?

  • Posts: 125
  • Thank you received: 14
I'm trying to read the cards from a fits file made by indi. CCfits only reads 39 cards. There are 52 in the header. One of the cards it won't read is "BZERO". The reason I ask if it is wonky is that I expected 36 cards in the primary header and the rest in an extension. I may very well be reading the docs wrong, but CCfits is having trouble reading it. I've looked at Fits files from other sources, but haven't found any that exceed the 36 cards yet.

Thanks,
Dave
Dave Allmon

Meade 12" LX600, William Optics GT81 IV, Stellarvue F080M3 (guidescope)
SBIG STF-8300EN, ASI 290mm mini (guide camera)
Raspberry Pi 4B 8GB w/Stellarmate out on the scope, Raspberry Pi 4B 4GB test server
Linux client
11 months 17 hours ago #73971

Please Log in or Create an account to join the conversation.

  • Posts: 125
  • Thank you received: 14
I seem to have answered this. The Fits Verifier at fits.gsfc.nasa.gov/fits_verify.html says the Fits file is fine. I'm just not reading it corrrectly, I guess.
Dave Allmon

Meade 12" LX600, William Optics GT81 IV, Stellarvue F080M3 (guidescope)
SBIG STF-8300EN, ASI 290mm mini (guide camera)
Raspberry Pi 4B 8GB w/Stellarmate out on the scope, Raspberry Pi 4B 4GB test server
Linux client
11 months 16 hours ago #73972

Please Log in or Create an account to join the conversation.

  • Posts: 830
  • Thank you received: 108
Yes, indeed: The FITS header block size is 2880 bytes, or 36 lines of 80 characters. If the header is longer than 36 cards, a new block is started. There's (AFAIK) no limit to the number of header blocks. You just need to read until you hit the 'END' card.....
openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI2600/1600/290mini+EFW+EAF
10 months 3 weeks ago #74232

Please Log in or Create an account to join the conversation.

  • Posts: 125
  • Thank you received: 14
Thanks. I thought that was the case, and the FITS verifier worked, but CCFits would only read 39 of the 52 cards. I was using "readAllKeys()" method, which oddly enough, doesn't read all keys. Only certain categories and then only certain data types in those categories.
Dave Allmon

Meade 12" LX600, William Optics GT81 IV, Stellarvue F080M3 (guidescope)
SBIG STF-8300EN, ASI 290mm mini (guide camera)
Raspberry Pi 4B 8GB w/Stellarmate out on the scope, Raspberry Pi 4B 4GB test server
Linux client
10 months 3 weeks ago #74249

Please Log in or Create an account to join the conversation.

Time to create page: 0.549 seconds