esheldon / fitsio

A python package for FITS input/output wrapping cfitsio
GNU General Public License v2.0
134 stars 58 forks source link

fix bug not writing qlevel #386

Closed esheldon closed 1 year ago

esheldon commented 1 year ago

closes #385

Even when set to 0 we need to write it. This support lossless compression

Note however this has uncovered a second bug, where for the lossless gzip compression the data are not being flushed/finalized while the fits object is open