abc
climatebenchpress.data_loader.datasets.abc
Classes:
-
Dataset–Abstract base class for datasets.
Dataset
Bases: ABC
Abstract base class for datasets.
Each dataset has a unique name associated with it that will be used to name the directory where the dataset is stored.
The dataset should implement the download and open methods to handle downloading
the dataset (in whatever data format the original data comes) and opening it as an xarray
Dataset, respectively.
Methods:
-
download–Download the dataset to the specified path. The download function is responsible
-
open–Open the dataset from the specified path as an xarray Dataset.
download
abstractmethod
staticmethod
Download the dataset to the specified path. The download function is responsible for checking whether the download is complete or not. If the previous download was interrupted, it will resume the download. If the download is complete, it will skip the download.
| Parameters: |
|---|