Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-21832

lsst.obs.base.FilterDefinition should raise if abstract_filter is not set

    XMLWordPrintable

    Details

    • Story Points:
      1
    • Team:
      Data Release Production
    • Urgent?:
      No

      Description

      Gen3 calib production for latiss fails due to empty SQL results due to missing entries in the `abstract_filter` table.  The query contains "... AND raw.abstract_filter = abstract_filter.name", which is always false when both sides are NULL.

      The fast solution is to alter `obs_lsst`/filters.py to have abstract_filter="UNKNOWN" entries.  The correct solution probably is to force `obs_base` to require those entries when calling FilterDefinition.

        Attachments

          Issue Links

            Activity

            czw Christopher Waters created issue -
            swinbank John Swinbank made changes -
            Field Original Value New Value
            Team Data Release Production [ 10301 ]
            jbosch Jim Bosch made changes -
            Link This issue relates to DM-21840 [ DM-21840 ]
            jbosch Jim Bosch made changes -
            Labels gen3-middleware
            jbosch Jim Bosch made changes -
            Labels gen3-middleware gen2-deprecation-blocker gen3-middleware
            tjenness Tim Jenness made changes -
            Story Points 1
            Urgent? off
            gruendl Robert Gruendl [X] (Inactive) made changes -
            Remote Link This issue links to "Page (Confluence)" [ 25778 ]
            krzys Krzysztof Findeisen made changes -
            Labels gen2-deprecation-blocker gen3-middleware filter-remake gen2-deprecation-blocker gen3-middleware

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              czw Christopher Waters
              Watchers:
              Andrés Alejandro Plazas Malagón, Christopher Waters, Jim Bosch, John Parejko, Nate Lust
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.