submission_cli.load_interim_or_abort

submission_cli.load_interim_or_abort(logger)

Read the combined DE-total interim CSV, aborting if it is missing.

Delegates to :func:spotforecast2_safe.downloader.entsoe.load_interim (sf2-safe 22.10.0) with mode="combined". Wraps :exc:FileNotFoundError in :exc:SubmissionAbort with reason=AbortReason.INTERIM_MISSING.

Parameters

logger : logging.Logger Script-level logger; emits an INFO line with row count and index bounds (byte-identical to the lecture-script log line).

Returns

pd.DataFrame The combined DE-total interim DataFrame indexed by UTC timestamps.

Raises

SubmissionAbort With reason=AbortReason.INTERIM_MISSING when the interim CSV does not exist.

Examples:

::: {#4e0fe8c5 .cell execution_count=1}
``` {.python .cell-code}
import logging
from spotforecast2_safe.submission_cli import load_interim_or_abort

logger = logging.getLogger("example")
interim = load_interim_or_abort(logger)
print(interim.shape)
```
:::