getCcdKeyName

lsst.validate.drp.util.getCcdKeyName(dataid)

Return the key in a dataId that’s referring to the CCD or moral equivalent.

Parameters:
dataid : dict

A dictionary that will be searched for a key that matches an entry in the hardcoded list of possible names for the CCD field.

Notes

Motiviation: Different camera mappings use different keys to indicate
the different amps/ccds in the same exposure. This function looks through the reference dataId to locate a field that could be the one.