-
Notifications
You must be signed in to change notification settings - Fork 41
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
Remove unnecessary output files from bias/readnoise monitors #936
Remove unnecessary output files from bias/readnoise monitors #936
Conversation
Hello @bsunnquist, Thank you for updating !
Comment last updated at 2022-04-22 20:48:37 UTC |
@bsunnquist thanks for submitting this! I was curious about the removing the uncal files if the pipeline fails. Does that mean future monitor runs will pick up these files and attempt to process them again? |
@mfixstsci Yeah that's correct, as long as the filename isn't in the monitor database (i.e. completed processing) it will keep trying each day. I figured it was best to delete the uncal's between runs though so they aren't hanging around, because like we saw recently, if the pipeline fails this can result in a lot of large data files taking up space on our servers |
Are there any other pipeline products that may need to be removed? I'm thinking about e.g. trapsfilled, if the pipeline is run far enough. |
I don't think so - these just run dq/superbias/refpix |
This PR looks good to me. @mfixstsci do you agree? |
@bhilbert4 it does look good, I forgot to fully submit my review 😓 I wanted to ask @bsunnquist a question about the |
This PR addresses #930, to remove fits files from the bias/readnoise monitors that are no longer needed once processing completes, to save memory space on our servers. It also removes the uncal files if pipeline processing fails so they aren't just hanging around taking up space.
The web app only needs the output pngs and database entries to construct the webpages, which is why it's fine to remove these.