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

restrict rasterio version #372

Merged
merged 3 commits into from
Jun 3, 2022
Merged

restrict rasterio version #372

merged 3 commits into from
Jun 3, 2022

Conversation

pz-max
Copy link
Collaborator

@pz-max pz-max commented Jun 3, 2022

There is an issue in Atlite related to the rasterio version. The rasterio version 2.1.10 is causing troubles in the exclusion raster downsampling part: PyPSA/atlite#238 . We solved this in Atlite already but need to wait for a new Atlite release. Until then the exclusion raster error can occur in PyPSA-Eur.

Changes proposed in this Pull Request

Until we update the Atlite version we should change the environment and constrain the rasterio version

Checklist

  • I tested my contribution locally and it seems to work fine.
  • Code and workflow changes are sufficiently documented.
  • Newly introduced dependencies are added to envs/environment.yaml.
  • A note for the release notes doc/release_notes.rst is amended in the format of previous release notes.

@fneum fneum merged commit 3d6702a into PyPSA:master Jun 3, 2022
@fneum
Copy link
Member

fneum commented Jun 3, 2022

Thanks @pz-max for this temporary fix! One could have also thought of installing the master of atlite instead (until the next version is released), as the fix is a bit indirect this way. But: This PR does what it ought to.

@pz-max
Copy link
Collaborator Author

pz-max commented Jun 3, 2022 via email

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.

2 participants