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

Fix rasterio reprojection bug. Appears with 1.2.10 #240

Merged
merged 2 commits into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Release Notes
not opened and an error was thrown. The error did not occur if one or more shapes were included.
Error is corrected and geometry-only exclusions can now be calculated. (GH Issue #225)
* Atlite now includes the reference turbines from the NREL turbine archive (see: https://nrel.github.io/turbine-models/). Available turbines can be consulted using `atlite.windturbines` and can be passed as string argument, e.g. `coutout.wind(turbine)`.
* Bugfix: Downsampling the availability matrix (high resolution to low resolution) failed. Only rasters with 0 or 1
were produced. Expected are also floats between 0 and 1 (GH Issue #238). Changing the rasterio version solved this.
See solution (https://github.com/PyPSA/atlite/pull/240).

Version 0.2.7
==============
Expand Down
2 changes: 1 addition & 1 deletion environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
- geopandas
- cdsapi
- pyproj>=2.0
- rasterio>=1.0
- rasterio>=1.0,<1.2.10 # until 1.3.0 is released
- shapely
- progressbar2
- tqdm
Expand Down