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.

Returns:
name : str

The name of the key.

Notes

Motivation: 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.