def _read(filename, format=None, **kwargs): """ Reads a single event file into a ObsPy Catalog object. """ catalog, format = _read_from_plugin('event', filename, format=format, **kwargs) for event in catalog: event._format = format return catalog