libera_utils.obsids.get_obsid_spec#

libera_utils.obsids.get_obsid_spec(source: NomHkObsidSource, obsid: int) ObsIdSpec#

Return the registry entry for (source, obsid).

Parameters:
  • source (NomHkObsidSource) – NOM-HK ObsID field that owns this ObsID namespace.

  • obsid (int) – Software ObsID value.

Returns:

Matching catalog entry.

Return type:

ObsIdSpec

Raises:

KeyError – If the pair is not in OBSID_REGISTRY.