icecube.dataio package

icecube.dataio.I3Reader(tray: icetray.I3Tray, name: str, **kwargs: dict[str, Any]) None

Read an .i3 file. This supports remote files by specifying URLs and will stage them in an auto-configured local scratch directory.

Using a URL like file://home/user/file.i3 will stage local files, using plain filenames will read the files directly.

icecube.dataio.get_stagers(staging_directory: str | None = None, extra_stagers: Iterable[Type[I3FileStager]] = []) I3FileStagerCollection

Set up file stagers for all supported URL schemes.

Parameters:
  • staging_directory – use this directory for temporary files. If not specified, the staging directory will be guessed.

  • extra_stagers – a list of stager classes to instantiate in addition to the those included with the base distribution

Submodules