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

Failure to fail when fallbackFilterName is None

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ip_isr
    • Labels:
      None
    • Templates:
    • Story Points:
      1
    • Sprint:
      DRP X16-3
    • Team:
      Data Release Production

      Description

      When no fallbackFilterName is set, we can get a confusing error message when failing to load a calib:

      RuntimeError: Unable to retrieve dark for {'filter': 'U', 'date': '2016-05-12T02:58:56.591', 'ccd': 0, 'basename': '2016-05-12skyflats_02', 'object': 'FLAT', 'visit': 883, 'expTime': 20.0006, 'channel': 16} and no fallback filter specified: Unknown value type for filter: <type 'NoneType'>
      

      This is unrelated to the calib load failure, and merely reflects the fact that fallbackFilterName=None.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                price Paul Price
                Reporter:
                price Paul Price
                Reviewers:
                Simon Krughoff
                Watchers:
                Merlin Fisher-Levine, Paul Price, Simon Krughoff
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel