teuben / nemo

a Stellar Dynamics Toolbox (Not Everybody Must Observe)
https://astronemo.readthedocs.io
GNU General Public License v2.0
56 stars 40 forks source link

handle fits.gz files #43

Open teuben opened 3 years ago

teuben commented 3 years ago

fits.gz files are getting pretty common now.
Would a solution be to use memory mapped files?

teuben commented 3 years ago

Another popular compression format are the .fz files, where fpack/funpack is needed. The compression levels here are much higher, but the cfitsio tool are needed for this (e.g. ubuntu: libcfitsio-bin)

teuben commented 1 year ago

If fitsio_nemo is compiled with CFITSIO enabled, and the $NEMO/inc/cfitsio is not in the way, this already works in fitsccd

teuben commented 1 year ago

For cfitsio 4.1.0 I found I needed -lcfitsio -lz -lcurl -lbz2
which is inconsistent with $NEMO/opt/lib/pkgconfig/cfitsio.pc - this is probably an upstream bug.