Update scripts/plot_summary.py
Co-authored-by: Fabian Hofmann <hofmann@fias.uni-frankfurt.de>
This commit is contained in:
parent
eed52d04ae
commit
49b2cd382d
@ -387,19 +387,9 @@ def historical_emissions(countries):
|
|||||||
countries.remove("GB")
|
countries.remove("GB")
|
||||||
countries.append("UK")
|
countries.append("UK")
|
||||||
|
|
||||||
# Albania (AL) and Bosnia Herzegovina (BA), Montenegro (ME), Macedonia (MK) and Serbia (RS)
|
# remove countries which are not included in eea historical emission dataset
|
||||||
# not included in eea historical emission dataset
|
countries_to_remove = {"AL", "BA", "ME", "MK", "RS"}
|
||||||
if "AL" in countries:
|
countries = list(set(countries) - countries_to_remove)
|
||||||
countries.remove("AL")
|
|
||||||
if "BA" in countries:
|
|
||||||
countries.remove("BA")
|
|
||||||
if "ME" in countries:
|
|
||||||
countries.remove("ME")
|
|
||||||
if "MK" in countries:
|
|
||||||
countries.remove("MK")
|
|
||||||
if "RS" in countries:
|
|
||||||
countries.remove("RS")
|
|
||||||
|
|
||||||
year = np.arange(1990, 2018).tolist()
|
year = np.arange(1990, 2018).tolist()
|
||||||
|
|
||||||
idx = pd.IndexSlice
|
idx = pd.IndexSlice
|
||||||
|
Loading…
Reference in New Issue
Block a user