Skip to content

Commit

Permalink
Use latest common-definitions and add European regions (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored Nov 28, 2024
1 parent 2854dc9 commit 964a4da
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 7 deletions.
49 changes: 49 additions & 0 deletions definitions/region/european-countries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This file was created using the script `data/write-countries.py`
# DO NOT ALTER THIS FILE MANUALLY!

# List of countries
- Countries:
- Albania
- Austria
- Belarus
- Belgium
- Bosnia and Herzegovina
- Bulgaria
- Croatia
- Cyprus
- Czechia
- Denmark
- Estonia
- Finland
- France
- Germany
- Greece
- Hungary
- Iceland
- Ireland
- Italy
- Kosovo
- Latvia
- Liechtenstein
- Lithuania
- Luxembourg
- Malta
- Moldova
- Monaco
- Montenegro
- Netherlands
- North Macedonia
- Norway
- Poland
- Portugal
- Romania
- Russian Federation
- Serbia
- Slovakia
- Slovenia
- Spain
- Sweden
- Switzerland
- Turkey
- Ukraine
- United Kingdom
35 changes: 35 additions & 0 deletions definitions/region/european-regions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- European Regions:

# generic definitions of Europe
- Europe (excl. Turkey)
- Europe (incl. Turkey)

# definitions of European regions and groups of countries
- EU27 & UK:
description: European Union and the United Kingdom (formerly EU28)
countries: [
Austria, Belgium, Bulgaria, Croatia, Cyprus, Czechia, Denmark, Estonia, Finland,
France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg,
Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain,
Sweden, United Kingdom
]
- EU27:
countries: [
Austria, Belgium, Bulgaria, Croatia, Cyprus, Czechia, Denmark, Estonia, Finland,
France, Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg,
Malta, Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden
]
- EU27 (excl. Malta & Cyprus):
countries: [
Austria, Belgium, Bulgaria, Croatia, Czechia, Denmark, Estonia, Finland, France,
Germany, Greece, Hungary, Ireland, Italy, Latvia, Lithuania, Luxembourg,
Netherlands, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden
]
- EFTA:
description: European Free Trade Association
countries: [Iceland, Liechtenstein, Norway, Switzerland]
source: https://en.wikipedia.org/wiki/European_Free_Trade_Association
- Non-EU-Balkans:
countries: [
Albania, Bosnia and Herzegovina, Montenegro, North Macedonia, Serbia, Kosovo
]
Empty file removed definitions/variable/.gitkeep
Empty file.
10 changes: 7 additions & 3 deletions definitions/variable/variables.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- Emissions|CO2:
description: Total net emissions of carbon dioxide (CO2)
unit: Mt CO2/yr
# This file provides variables with different units compared to "common-definitions"
- Price|Carbon:
description: Price of carbon
unit: EUR_2020/t CO2
tier: 1
drop_negative_weights: false
weight: Emissions|CO2
10 changes: 7 additions & 3 deletions nomenclature_template.yaml → nomenclature.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
dimensions:
- variable
- region
repositories:
common-definitions:
url: https://github.com/IAMconsortium/common-definitions.git/
definitions:
variable:
repository: common-definitions
region:
repository: common-definitions
repository:
name: common-definitions
exclude:
- name: Price|Carbon
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pyam-iamc >= 2.1 # the `pyam` package is released on pypi under this name
nomenclature-iamc >= 0.16
nomenclature-iamc >= 0.21

0 comments on commit 964a4da

Please sign in to comment.