Skip to content

RasterioIOError for LitPop #1078

@Adventurer-E

Description

@Adventurer-E

Describe the bug
A clear and concise description of what the bug is.
I encountered RasterioIOError when using climada.entity.exposures.LitPop.from_countries()

To Reproduce
Steps to reproduce the behavior/error:

  1. Follow the tutorial 1_main_climada.ipynb
  2. Make sure gpw-v4-population-count-rev11_2020_30_sec_tif.zip is downloaded in the current directory and unzipped (I checked this several times)
  3. Run the code below.

Code example:

exp_litpop = LitPop.from_countries(
    ["United States"], res_arcsec=120
)

Note: The tutorial-given code uses "Puerto Rico", which works just fine. Once changing it to "United States" RasterioIOError occurs

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Climada Version: [Version or branch]

System Information (please complete the following information):

  • Operating system and version: [e.g. Ubuntu 22.04, macOS 14.3.1, Windows 10]
  • Python version: [e.g. 3.10]
    (to obtain this information execute > import sys >print(sys.version))

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions