Skip to content

Commit

Permalink
Merge pull request #1160 from openego/fixes/#1159_era5_crs
Browse files Browse the repository at this point in the history
Fixes/#1159 era5 crs
  • Loading branch information
nesnoj authored Jan 16, 2024
2 parents bad66e7 + b05fb83 commit 7cf077b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,8 @@ Bug Fixes
* Fix URL of eGon data-bundle dataset
`#1154 <https://github.com/openego/eGon-data/issues/1154>`_
* Fix URLs of MaStR datasets
* Fix CRS in ERA5 transformation
`#1159 <https://github.com/openego/eGon-data/issues/1159>`_

.. _PR #692: https://github.com/openego/eGon-data/pull/692
.. _#343: https://github.com/openego/eGon-data/issues/343
Expand Down
2 changes: 1 addition & 1 deletion src/egon/data/datasets/era5.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def import_cutout(boundary="Europe"):
"SELECT geometry as geom FROM boundaries.vg250_sta_bbox",
db.engine(),
)
.to_crs(4623)
.to_crs(4326)
.geom
)
xs = slice(geom_de.bounds.minx[0], geom_de.bounds.maxx[0])
Expand Down

0 comments on commit 7cf077b

Please sign in to comment.