removing the output file eia_hydro_stats.csv
This commit is contained in:
parent
7dd1d8fb59
commit
3b31b99dd2
@ -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