abc

climatebenchpress.data_loader.datasets.cmip6.abc

Classes:

Cmip6Dataset

Bases: Dataset

Abstract base class for CMIP6 datasets.

Defines some shared functionality for downloading and opening CMIP6 datasets. All data is downloaded as Zarr files from the Google Cloud Platform.

Methods:

model_id instance-attribute

model_id: str

ssp_id instance-attribute

ssp_id: str

variable_id instance-attribute

variable_id: str

table_id instance-attribute

table_id: str

download_with staticmethod

download_with(
    download_path: Path,
    model_id: str,
    ssp_id: str,
    variable_id: str,
    table_id: str,
    variable_selector: Optional[list[str]] = None,
    progress: bool = True,
)

open staticmethod

open(download_path: Path) -> xr.Dataset

Cmip6AtmosphereDataset

Bases: Cmip6Dataset

variable_id class-attribute instance-attribute

variable_id = 'ta'

table_id class-attribute instance-attribute

table_id = 'Amon'

Cmip6OceanDataset

Bases: Cmip6Dataset

variable_id class-attribute instance-attribute

variable_id = 'tos'

table_id class-attribute instance-attribute

table_id = 'Omon'