CamelsCH

class hy2dl.datasetzoo.camelsch.CAMELS_CH(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 Switzerland dataset] (https://10.5194/essd-15-5755-2023) by [1].

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 CH.

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