Keck-DataReductionPipelines / KCWI_DRP

KCWI python DRP
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Rti group mode update #113

Closed lfuhrman closed 2 years ago

lfuhrman commented 2 years ago

Update to group mode for RTI. The original grouping was entering an infinite loop of rescheduling when waiting on missing calibrations. Group mode now does not reschedule, but process files by type, binning, and exposure time (when relevant). The groups are processed sequentially with each group of files processed in parallel.

There were a few small changes to error handling of the primitives. One notable exception is from numpy nan methods, there is currently no handling of the exceptions raised by these methods. Added warnings in ExtractArcs. It might be worth adding these throughout the pipeline, I noticed several 'nanmin' without a catch of the exception it raises.

lfuhrman commented 2 years ago

closed, and re-submitting a new pull request with changes.