Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the rule retrieve_osm_prebuild #1499

Closed
wants to merge 2 commits into from

Conversation

LTBK23
Copy link

@LTBK23 LTBK23 commented Jan 15, 2025

Closes #1497 .

Changes proposed in this Pull Request

# update rule to use the correct version
rule retrieve_osm_prebuilt:
    input:
        [
            storage(
                f"https://zenodo.org/records/{OSM_ZENODO_IDS[OSM_VERSION]}/files/{component}.csv"
            ) if component != "map" else
            storage(
                f"https://zenodo.org/records/{OSM_ZENODO_IDS[OSM_VERSION]}/files/{component}.html"
            )
            for component in OSM_COMPONENTS
        ],
    output:
        [
            f"data/osm-prebuilt/{OSM_VERSION}/{component}.csv" if component != "map" else
            f"data/osm-prebuilt/{OSM_VERSION}/{component}.html"
            for component in OSM_COMPONENTS
        ],

Checklist

  • [x ] I tested my contribution locally and it works as intended.

simple bug fix for data path, no more documentation needed

@FabianHofmann
Copy link
Contributor

@LTBK23 I took already over in #1498, there was another issue with missing keys (we actually have to define a dictionary, fixed https://github.com/PyPSA/pypsa-eur/pull/1498/files#diff-5cc0dcd5546a6dd1cabbb1d1576ba80872bf93ac503afc778ce43e225982e404R565), so I hope you don't mind when we go for #1498

@LTBK23 LTBK23 closed this Jan 15, 2025
@LTBK23 LTBK23 deleted the Fix-the-retrieve-osm_data-rule branch January 15, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error during Retrieve OSM data caused by: fix: make previous OSM versions compatible (#1495)
2 participants