Merge pull request #1020 from PyPSA/cleanup_data_structure
Cleaning up data and resources
This commit is contained in:
commit
a4d58b70f5
@ -1,25 +0,0 @@
|
|||||||
hour,weekday,weekend
|
|
||||||
0,0.9181438689,0.9421512708
|
|
||||||
1,0.9172359071,0.9400891069
|
|
||||||
2,0.9269464481,0.9461062015
|
|
||||||
3,0.9415047932,0.9535084941
|
|
||||||
4,0.9656299507,0.9651094993
|
|
||||||
5,1.0221166443,0.9834676747
|
|
||||||
6,1.1553090493,1.0124171051
|
|
||||||
7,1.2093411031,1.0446615927
|
|
||||||
8,1.1470295942,1.088203419
|
|
||||||
9,1.0877191341,1.1110334576
|
|
||||||
10,1.0418327372,1.0926752822
|
|
||||||
11,1.0062977133,1.055488209
|
|
||||||
12,0.9837030359,1.0251266112
|
|
||||||
13,0.9667570278,0.9990015154
|
|
||||||
14,0.9548320932,0.9782897278
|
|
||||||
15,0.9509232061,0.9698167237
|
|
||||||
16,0.9636973319,0.974288587
|
|
||||||
17,0.9799372563,0.9886456216
|
|
||||||
18,1.0046501848,1.0084159643
|
|
||||||
19,1.0079452419,1.0171243296
|
|
||||||
20,0.9860566481,0.9994722379
|
|
||||||
21,0.9705228074,0.982761591
|
|
||||||
22,0.9586485819,0.9698167237
|
|
||||||
23,0.9335023778,0.9515079292
|
|
|
@ -1,31 +0,0 @@
|
|||||||
ct,TWh
|
|
||||||
AT,
|
|
||||||
BA,
|
|
||||||
BE,
|
|
||||||
BG,
|
|
||||||
CH,
|
|
||||||
CZ,
|
|
||||||
DE,4500
|
|
||||||
DK,700
|
|
||||||
EE,
|
|
||||||
ES,350
|
|
||||||
FI,
|
|
||||||
FR,
|
|
||||||
GB,1050
|
|
||||||
GR,120
|
|
||||||
HR,
|
|
||||||
HU,
|
|
||||||
IE,
|
|
||||||
IT,
|
|
||||||
LT,
|
|
||||||
LU,
|
|
||||||
LV,
|
|
||||||
NL,150
|
|
||||||
NO,
|
|
||||||
PL,120
|
|
||||||
PT,400
|
|
||||||
RO,
|
|
||||||
RS,
|
|
||||||
SE,
|
|
||||||
SI,
|
|
||||||
SK,
|
|
|
@ -1,14 +1,12 @@
|
|||||||
description,file/folder,licence,source
|
description,file/folder,licence,source
|
||||||
JRC IDEES database,jrc-idees-2015/,CC BY 4.0,https://ec.europa.eu/jrc/en/potencia/jrc-idees
|
JRC IDEES database,jrc-idees-2015/,CC BY 4.0,https://ec.europa.eu/jrc/en/potencia/jrc-idees
|
||||||
urban/rural fraction,urban_percent.csv,unknown,unknown
|
urban/rural fraction,urban_percent.csv,unknown,unknown
|
||||||
JRC biomass potentials,biomass/,unknown,https://doi.org/10.2790/39014
|
|
||||||
JRC ENSPRESO biomass potentials,remote,CC BY 4.0,https://data.jrc.ec.europa.eu/dataset/74ed5a04-7d74-4807-9eab-b94774309d9f
|
JRC ENSPRESO biomass potentials,remote,CC BY 4.0,https://data.jrc.ec.europa.eu/dataset/74ed5a04-7d74-4807-9eab-b94774309d9f
|
||||||
EEA emission statistics,eea/UNFCCC_v23.csv,EEA standard re-use policy,https://www.eea.europa.eu/data-and-maps/data/national-emissions-reported-to-the-unfccc-and-to-the-eu-greenhouse-gas-monitoring-mechanism-16
|
EEA emission statistics,eea/UNFCCC_v23.csv,EEA standard re-use policy,https://www.eea.europa.eu/data-and-maps/data/national-emissions-reported-to-the-unfccc-and-to-the-eu-greenhouse-gas-monitoring-mechanism-16
|
||||||
Eurostat Energy Balances,eurostat-energy_balances-*/,Eurostat,https://ec.europa.eu/eurostat/web/energy/data/energy-balances
|
Eurostat Energy Balances,eurostat-energy_balances-*/,Eurostat,https://ec.europa.eu/eurostat/web/energy/data/energy-balances
|
||||||
Swiss energy statistics from Swiss Federal Office of Energy,switzerland-sfoe/,unknown,http://www.bfe.admin.ch/themen/00526/00541/00542/02167/index.html?dossier_id=02169
|
Swiss energy statistics from Swiss Federal Office of Energy,switzerland-sfoe/,unknown,http://www.bfe.admin.ch/themen/00526/00541/00542/02167/index.html?dossier_id=02169
|
||||||
BASt emobility statistics,emobility/,unknown,http://www.bast.de/DE/Verkehrstechnik/Fachthemen/v2-verkehrszaehlung/Stundenwerte.html?nn=626916
|
BASt emobility statistics,emobility/,unknown,http://www.bast.de/DE/Verkehrstechnik/Fachthemen/v2-verkehrszaehlung/Stundenwerte.html?nn=626916
|
||||||
BDEW heating profile,heat_load_profile_BDEW.csv,unknown,https://github.com/oemof/demandlib
|
BDEW heating profile,heat_load_profile_BDEW.csv,unknown,https://github.com/oemof/demandlib
|
||||||
heating profiles for Aarhus,heat_load_profile_DK_AdamJensen.csv,unknown,Adam Jensen MA thesis at Aarhus University
|
|
||||||
co2 budgets,co2_budget.csv,CC BY 4.0,https://arxiv.org/abs/2004.11009
|
co2 budgets,co2_budget.csv,CC BY 4.0,https://arxiv.org/abs/2004.11009
|
||||||
existing heating potentials,existing_infrastructure/existing_heating_raw.csv,unknown,https://energy.ec.europa.eu/publications/mapping-and-analyses-current-and-future-2020-2030-heatingcooling-fuel-deployment-fossilrenewables-1_en
|
existing heating potentials,existing_infrastructure/existing_heating_raw.csv,unknown,https://energy.ec.europa.eu/publications/mapping-and-analyses-current-and-future-2020-2030-heatingcooling-fuel-deployment-fossilrenewables-1_en
|
||||||
IRENA existing VRE capacities,existing_infrastructure/{solar|onwind|offwind}_capcity_IRENA.csv,unknown,https://www.irena.org/Statistics/Download-Data
|
IRENA existing VRE capacities,existing_infrastructure/{solar|onwind|offwind}_capcity_IRENA.csv,unknown,https://www.irena.org/Statistics/Download-Data
|
||||||
|
|
@ -360,7 +360,6 @@ rule build_hydro_profile:
|
|||||||
+ ".nc",
|
+ ".nc",
|
||||||
output:
|
output:
|
||||||
profile=resources("profile_hydro.nc"),
|
profile=resources("profile_hydro.nc"),
|
||||||
eia_hydro=resources("eia_hydro_stats.csv"),
|
|
||||||
log:
|
log:
|
||||||
logs("build_hydro_profile.log"),
|
logs("build_hydro_profile.log"),
|
||||||
resources:
|
resources:
|
||||||
|
@ -198,8 +198,6 @@ if __name__ == "__main__":
|
|||||||
fn = snakemake.input.era5_runoff
|
fn = snakemake.input.era5_runoff
|
||||||
eia_stats = approximate_missing_eia_stats(eia_stats, fn, countries)
|
eia_stats = approximate_missing_eia_stats(eia_stats, fn, countries)
|
||||||
|
|
||||||
eia_stats.to_csv(snakemake.output.eia_hydro)
|
|
||||||
|
|
||||||
contained_years = pd.date_range(freq="YE", **snakemake.params.snapshots).year
|
contained_years = pd.date_range(freq="YE", **snakemake.params.snapshots).year
|
||||||
norm_year = config_hydro.get("eia_norm_year")
|
norm_year = config_hydro.get("eia_norm_year")
|
||||||
missing_years = contained_years.difference(eia_stats.index)
|
missing_years = contained_years.difference(eia_stats.index)
|
||||||
|
Loading…
Reference in New Issue
Block a user