era5
ERA5 Data Extraction
check_extract_year_floor(years: Sequence[str], *, allow_pre_floor: bool) -> None
Refuse a run that reaches below cdc.EXTRACT_YEAR_FLOOR unless asked to.
build_task_lists treats a missing output file as work to do, so after ERF's Sep2026
deletion every pre-1980 extract looks like a gap. The runner's --year defaults to
ALL, which means the bare invocation would refill 3,238 files and silently undo the
reclamation -- days of Copernicus queue to recover from. Guarding the outcome rather
than the default also catches an explicitly typed --year ALL.
Source code in src/climate_data/extract/era5.py
variables_for_full_expansion(era5_variables: Sequence[str]) -> list[str]
Drop never-read variables when the whole variable set was requested.
--era5-variable ALL resolves to every declared variable, so the default invocation
downloads and stores surface_pressure for every month of every year although no
stage opens it. Naming a variable explicitly still extracts it; this only narrows the
meaning of "all" to "all the ones we use".