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

Butler: add support for skymap based dataIds

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: butler
    • Labels:
      None
    • Templates:
    • Story Points:
      15
    • Team:
      Data Access and Database

      Description

      load the skymap from the repository and use it a la metadata lookup to complete lookups. for example if the script wants all the patches that are in tract x, look in the skymap to get that information.

      will be something like:
      create a skymap object given a configuration (in the repository) (it has its own dataset type)
      create a registry with that skymap object
      use that registry to lookup skymap related parameters. Might need to add to the policy file that a given configuration uses the skymap.

      requires that data is already indexable by tract & patch, the work is adds iteration over tract/patch specified by the skymap.

      example use case:

      {
          datasetType = 'coaddTempExp'
          key = (?)
          format = ['patch', 'visit']
          dataId = {'tract':<some numberOrId>}
          myButler.queryMetadata(datasetType, key, format, dataId)
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                npease Nate Pease
                Watchers:
                Hsin-Fang Chiang, Jim Bosch, Nate Pease
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel