In June, I presented the new defects handling in the following post: Changes to how defects are handled: implementation of RFC-595.
With DM-21155 landing today, there are a few refinements to the way curated calibrations are handled in general. I have generalized the calibration ingest script so that it can handle anything that:
- has the correct metadata as described in the previous post
- can be read by
The result is that I renamed the ingest script and the task it calls. Now the task is
IngestCuratedCalibsTask as opposed to
IngestDefectsTask and the command line script is
The other (much less user visible) change is that now the function that reads the files form the
obs_*_data repositories has changed from
read_all_defects to just
read_all and now returns a dictionary of the calibration objects and the calibration type as a tuple where before it returned just a dictionary of
I think these changes should make it easier to add new calibration types in the future.