CamelsDE

class hy2dl.datasetzoo.camelsde.CAMELS_DE(cfg: Config, time_period: str, gauge_id: str | list[str] | None = None)

Bases: BaseDataset

Class to process data from [version 1.0.0 of the CAMELS Germany dataset] (https://doi.org/10.5281/zenodo.13837553) by [1] [2] .

The class inherits from BaseDataset to execute the operations on how to load and process the data. However here we code the _read_attributes and _read_data methods, that specify how we should read the information from CAMELS DE.

Parameters:
  • cfg (Config) – Configuration file.

  • period ({'training', 'validation', 'testing'}) – Defines the period for which the data will be loaded.

  • gauge_id (Optional[str | list[str]], default=None) – Id of gauge(s) to be loaded.

References