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

Allow gen2 butler lookups even when fields in the dataId are not in the registry

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Resolution: Done
    • None
    • daf_persistence
    • None
    • Data Release Production
    • No

    Description

      Given a template such as foo-%(visit)d-%(obsDate)s.fits[%(hdu)d] and a butler call such as butler.get('raw', visit=666, hdu=0) the butler fails to lookup obsDate from the registry as it includes the irrelevant hdu in the SQL query. Please make this work, by only querying on known columns.

      Attachments

        Activity

          rhl Robert Lupton added a comment - - edited

          This is designed to be merged to a v18 bug-fix branch (it was created as git branch 18.1.0 tickets/DM-31448) and has only been tested in that context. That being said, I think it'll probably work with master.

           https://github.com/lsst/daf_persistence/pull/130

          rhl Robert Lupton added a comment - - edited This is designed to be merged to a v18 bug-fix branch (it was created as git branch 18.1.0 tickets/ DM-31448 ) and has only been tested in that context. That being said, I think it'll probably work with master.   https://github.com/lsst/daf_persistence/pull/130
          price Paul Price added a comment -

          Looks good!

          price Paul Price added a comment - Looks good!

          People

            rhl Robert Lupton
            rhl Robert Lupton
            Paul Price
            Paul Price, Robert Lupton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.