Skip to content

Commit 7b503d1

Browse files
authored
correctly parse XK, MD, MK countries with pycountry (#198)
1 parent ac4852c commit 7b503d1

File tree

4 files changed

+22462
-22397
lines changed

4 files changed

+22462
-22397
lines changed

doc/release-notes.rst

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
Release Notes
22
==============
33

4-
.. Upcoming Version
5-
.. ----------------
4+
Upcoming Version
5+
----------------
6+
7+
Version 0.5.18 (30.08.2024)
8+
---------------------------
9+
10+
* Treat Kosovo as separate country and do not assign powerplants to Serbia.
11+
12+
* Correctly reference North Macedonia and Moldova for ``pycountry`` matching.
13+
14+
* See full list of changes `here <https://github.com/PyPSA/powerplantmatching/releases/tag/v0.5.18>`__.
615

716
Version 0.5.17 (23.08.2024)
817
---------------------------

powerplantmatching/package_data/config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,12 @@ target_countries:
243243
- Hungary
244244
- Ireland
245245
- Italy
246+
- Kosovo
246247
- Latvia
247248
- Lithuania
248249
- Luxembourg
249-
- Macedonia, Republic of
250-
- Moldova
250+
- North Macedonia
251+
- Moldova, Republic of
251252
- Montenegro
252253
- Netherlands
253254
- Norway

powerplantmatching/package_data/parsed_locations.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1994,15 +1994,15 @@ Gasturbiner Malmö,Sweden,55.604981,13.003822
19941994
Gasturbiner Halmstad,Sweden,56.6743748,12.8577884
19951995
TENT B,Serbia,44.6540082,20.0084405
19961996
HE DJERDAP II,Serbia,44.016521,21.005859
1997-
TE KOSOVO B,Serbia,42.6937069,21.0583365
1997+
TE KOSOVO B,Kosovo,42.6937069,21.0583365
19981998
TETO ZRENJANIN,Serbia,45.3834283,20.3906166
19991999
HE BAJINA BASTA,Serbia,43.9636192,19.409811
20002000
HE ZVORNIK,Serbia,44.016521,21.005859
20012001
TE MORAVA,Serbia,44.20574536720186,21.22756176735834
20022002
TE KOSTOLAC A,Serbia,44.7230391,21.1707377
20032003
TENT A,Serbia,44.6715234,20.1562261
20042004
TETO NOVI SAD,Serbia,45.2396085,19.8227056
2005-
TE KOSOVO A,Serbia,44.016521,21.005859
2005+
TE KOSOVO A,Kosovo,42.6937069,21.0583365
20062006
HE Kokin Brod,Serbia,43.5187092,19.8115693
20072007
RHE BAJINA BASTA,Serbia,43.9711484,19.5661113
20082008
TE KOLUBARA,Serbia,44.4611502789004,20.09957550924858

0 commit comments

Comments
 (0)