×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

Is there something odd in the FIts header?

  • Posts: 97
  • Thank you received: 12
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 Indi server, Raspberry Pi 4B 4GB test server
Linux client
1 month 3 weeks ago #73971

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

  • Posts: 97
  • Thank you received: 12
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 Indi server, Raspberry Pi 4B 4GB test server
Linux client
1 month 3 weeks ago #73972

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

  • Posts: 777
  • Thank you received: 101
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
1 month 1 week ago #74232

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

  • Posts: 97
  • Thank you received: 12
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 Indi server, Raspberry Pi 4B 4GB test server
Linux client
1 month 1 week ago #74249

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

Time to create page: 0.569 seconds