Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter to optionally gzip all output fits files #15

Open
henryroe opened this issue Oct 5, 2015 · 0 comments
Open

Add parameter to optionally gzip all output fits files #15

henryroe opened this issue Oct 5, 2015 · 0 comments

Comments

@henryroe
Copy link

henryroe commented Oct 5, 2015

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:

  • Somehow in to the recipe_log files?
  • As a command line flag? e.g.: python ./igr_pipe.py flat 20140316 --gzip-output

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

Thanks,
-Henry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant