seismometer.api.download_example_dataset

seismometer.api.download_example_dataset(dataset_name, branch_name='main')

Downloads an example dataset from the specified branch to local data/ directory.

Parameters:
  • dataset_name (str) – The name of the dataset to download.

  • branch_name (str, optional) – The branch from which to download the dataset. Defaults to “main”.

Raises:

ValueError – If the specified dataset is not available in the example datasets.