Skip to content

Commit

Permalink
Merge pull request #288 from openego/fixes/#279-missing-municipalities
Browse files Browse the repository at this point in the history
Remove manual deleting of municipalities
  • Loading branch information
ClaraBuettner authored Jun 30, 2021
2 parents b62d628 + a63dc2f commit 2842307
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,5 @@ Bug fixes
`#248 <https://github.com/openego/eGon-data/issues/248>`_
* Change order of osmtgmod tasks
`#253 <https://github.com/openego/eGon-data/issues/253>`_
* Fix missing municipalities
`#279 <https://github.com/openego/eGon-data/issues/279>`_
2 changes: 1 addition & 1 deletion src/egon/data/datasets/vg250/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class Vg250(Dataset):
def __init__(self, dependencies):
super().__init__(
name="VG250",
version=self.filename + "-0.0.0",
version=self.filename + "-0.0.1",
dependencies=dependencies,
tasks=(
download_files,
Expand Down
3 changes: 1 addition & 2 deletions src/egon/data/datasets/vg250/cleaning_and_preparation.sql
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,7 @@ UPDATE boundaries.vg250_gem_clean AS t1

-- remove holes
DELETE FROM boundaries.vg250_gem_clean
WHERE is_hole IS TRUE OR
id = '9251' OR id = '8362'; -- Two special cases deleted manualy
WHERE is_hole IS TRUE;

/*
-- metadata
Expand Down

0 comments on commit 2842307

Please sign in to comment.