Skip to content

Commit

Permalink
Merge pull request #240 from pz-max/fix-reprojection
Browse files Browse the repository at this point in the history
Fix rasterio reprojection bug. Appears with 1.2.10
  • Loading branch information
FabianHofmann authored May 31, 2022
2 parents de20027 + d4ae3eb commit 3c7b4b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

0 comments on commit 3c7b4b8

Please sign in to comment.