Skip to content

[TASK] Point data_bundle at the new Zenodo record once the Zensus 2022 bundle is published #1531

Description

@jh-RLI

data_bundle/__init__.py fetches a fixed Zenodo record. The data bundle containing the Zensus 2022 files is currently in staging; it is to be published with a new version once the full-DE run has been checked. The URL in the code has to follow.

Until it does, a fresh dev checkout downloads a bundle without the 2022 files. The grid data then loads silently as 2011, because the filenames are unchanged, and hh_profiles fails hours later on the missing Zensus2022_Personen.csv that HouseholdDemands.sources.files now names. Part silent, part loud.

Worth considering alongside the URL change: a one-line assertion after the DataBundle task that zensus_households/Zensus2022_Personen.csv exists. That turns the silent half into an immediate failure and protects every future bundle swap, not just this one.

Whether #1374 may merge before the new bundle is public is a call for the reviewer, not something this issue presumes.

Refs #1240, #1374.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions