KSTAR can produces RICE compressed files with the extension .fits. This doesn't match with utilities Fpack and Funpack. These utilities change the extension to .fits.fz and when unpacking return it to .fits. If you unpack a KSTAR compressed fits files with Funpack you and up with no extension unless you use an extra option. Suggest to follow this tradition and give compressed files the extension .fits.fz See Fpack and Funpack User's Guide, FITS Image Compression Utilities https://arxiv.org/ftp/arxiv/papers/1112/1112.2671.pdf >>> The compressed output file name is usually constructed by appending “.fz” to the input file name
IIRC, only sample focus images are compressed. What else is compressed in KStars?
The files I received where from the focus routine. The problem is that for focus analysing routine ASTAP cannot unpack them using the Funpack utility unless using special parameters. But there is no easy way to detect these files are compressed files. That's why .fits.fz extension was introduced by CFITSIO library. If the compression is only used for focusing why are they then compressed and normal lights not? Han
You mean the focus logging images? in ~/.local/share/kstars/autofocus ?
(In reply to Jasem Mutlaq from comment #3) > You mean the focus logging images? in ~/.local/share/kstars/autofocus ? Yes autofocus images. You can download one image from this forum in the first post: https://sourceforge.net/p/astap-program/discussion/general/thread/4363768443/
Git commit 80ea2a68d2539ffee252cafffa349d6f92dc5673 by Jasem Mutlaq. Committed on 30/10/2022 at 08:15. Pushed by mutlaqja into branch 'master'. Add .fz to compressed focus images. M +1 -1 kstars/ekos/focus/focus.cpp https://invent.kde.org/education/kstars/commit/80ea2a68d2539ffee252cafffa349d6f92dc5673
Git commit 8f0fa5b767f168f3e641933fe6d7bb6a1007b9d3 by Jasem Mutlaq. Committed on 31/10/2022 at 06:51. Pushed by mutlaqja into branch 'stable-3.6.1'. Add .fz to compressed focus images. M +1 -1 kstars/ekos/focus/focus.cpp https://invent.kde.org/education/kstars/commit/8f0fa5b767f168f3e641933fe6d7bb6a1007b9d3