igrins / plp

IGRINS pipeline package v3
18 stars 16 forks source link

Add parameter to optionally gzip all output fits files #15

Open henryroe opened 8 years ago

henryroe commented 8 years ago

My preference is to keep all my fits files gzip'd on disk to save disk space.

I created Issue #13 (and pull request #14) to allow for raw fits files in the indata directory to be gzip'd.

It would be great to have a parameter to control the output of plp and optionally gzip all output fits files as well.

The straight-forward part of this is adding to the libs/fits.py to write gzip'd fits files. What I'm less certain of is where the parameter controlling gzip'd vs. not-gzip'd output should go:

If someone tells me the preferred method for passing a parameter to plp, I'll implement it and submit a pull request.

Thanks, -Henry