Skip to content

Add support for non-linear darks to dark_night #2571

@sbailey

Description

@sbailey

We now generate a nightly linear dark using desi_compute_dark_night. However, at the start of DESI we needed to use non-linear darks generated by desi_compute_dark_nonlinear. AFAIK neither the pipeline wrapper nor desi_compute_dark_night knows when or how to fallback to using a non-linear dark when needed. To make matters worse, I don't think we have any automated way to know if a non-linear dark was needed, so we might just need to hardcode 30 dates before which non-linear darks are required.

To do:

  • determine those dates when we can start using linear darks
  • update the nightly dark logic in the pipeline so that future prods will know whether to make a non-linear or a linear dark night

This is a blocking factor for Matterhorn, and thus high priority.

@jbanovetz please take the lead on this, consulting with @akremin and @julienguy as needed.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions