load_liander_dataset#

openstef_core.testing.load_liander_dataset(*, target: str = 'mv_feeder/OS Gorredijk', repo_id: str = LIANDER_DATASET_REPO_ID, local_dir: Path = Path('./liander_dataset'), extra_files: list[str] | None = None) TimeSeriesDataset[source]#

Download and combine the Liander benchmark dataset into a single TimeSeriesDataset.

Downloads load measurements, weather forecasts, electricity prices, and standard load profiles from HuggingFace Hub, then combines them via left join.

Raises:

ImportError – When huggingface-hub is not installed.

Parameters:
  • target (str) – Sub-path within the repo identifying the installation (e.g. "mv_feeder/OS Gorredijk").

  • repo_id (str) – HuggingFace dataset repository ID.

  • local_dir (Path) – Local directory for caching downloaded files.

  • extra_files (list[str] | None) – Additional parquet files to download and include (paths relative to repo root).

  • target

  • repo_id

  • local_dir

  • extra_files

Returns:

Combined dataset with all features aligned by timestamp.

Return type:

TimeSeriesDataset