Project: datamanagement
Issue DM-4181: Butler: add support for skymap based dataIds
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: {code} { datasetType = 'coaddTempExp' key = (?) format = ['patch', 'visit'] dataId = {'tract':} myButler.queryMetadata(datasetType, key, format, dataId) } {code}
Story points: 15