loadRunList

lsst.validate.drp.util.loadRunList(configFile)

Load run list from a YAML file.

Parameters:
configFile : str

YAML file that stores visit, filter, ccd,

Returns:
runList : list

run list lines.

Examples

An example YAML file would include entries of (for some CFHT data)
visits: [849375, 850587] filter: ‘r’ ccd: [12, 13, 14, 21, 22, 23]
or (for some DECam data)
visits: [176837, 176846] filter: ‘z’ ccdnum: [10, 11, 12, 13, 14, 15, 16, 17, 18]

Note ‘ccd’ for CFHT and ‘ccdnum’ for DECam. These entries will be used to build dataIds, so these fields should be as the camera mapping defines them.

visits and ccd (or ccdnum) must be lists, even if there’s only one element.