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

The butler incorrectly caches dataTypes such as calexp_sub

    Details

    • Type: Story
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: butler
    • Labels:
      None
    • Templates:
    • Team:
      Data Access and Database

      Description

      The butler appears to incorrectly cache images retrieved using a `_sub` variant – if a different BoundingBox is specified the old version is used. For example,

      exp1 = butler.get('calexp_sub', dataId, bbox=bbox1)
      exp2 = butler.get('calexp_sub', dataId, bbox=bbox2)
      

      return an identical portion of the image, even if bbox1 != bbox2.

      Discussion on slack revealed that the bbox is part of the dataId, but only the part used to look up the data is used when caching.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rhl Robert Lupton
                Watchers:
                John Swinbank, Nate Pease, Robert Lupton
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel