cgosmeyer / grizli

Grizli: The "Grism redshift and line" analysis software
MIT License
0 stars 0 forks source link

Time-stamped Outputs #3

Open cgosmeyer opened 7 years ago

cgosmeyer commented 7 years ago

All outputs of prep and interlacing should be stored in an automatically-generated outputs directory, so they cannot be accidentally overwritten. As in the CLEAR original pipeline, the extractions will be moved and sorted. The user should be able to set which outputs to use when running extractions. By default it should be the most recent run.

cgosmeyer commented 6 years ago

It's been implemented for the prep step by modifying the functions fresh_flt_file and process_direct_grism_visit in grizli.prep.py to include a parameter called "path_raw". I have then been able to implement output time-stamped directories in the CLEAR pipeline https://github.com/ivastar/clear/blob/master/clear_grizli_pipeline.py

I am conflicted whether to put these output-generating functions directly in grizli or keep in clear.