read_sidecar¶
- astro_metadata_translator.indexing.read_sidecar(path: str) ObservationInfo | MutableMapping[str, Any] ¶
Read a metadata sidecar file.
- Parameters:
- path
str
Path to the sidecar file.
- path
- Returns:
- info
ObservationInfo
ordict
of [str
,dict
] If the sidecar file referred to
ObservationInfo
this will return anObservationInfo
, otherwise adict
will be returned.
- info