diff --git a/Snakefile b/Snakefile index bc6d6c069..ee044742e 100644 --- a/Snakefile +++ b/Snakefile @@ -57,7 +57,9 @@ COSTDIR = config["costs_dir"] load_data_paths = get_load_paths_gegis("data", config) if config["enable"].get("retrieve_cost_data", True): - COSTS = "resources/" + RDIR + "costs.csv" + COSTS = ( + "resources/" + RDIR + "costs_{year}.csv".format(year=config["costs"]["year"]) + ) else: COSTS = "data/costs.csv" ATLITE_NPROCESSES = config["atlite"].get("nprocesses", 4) @@ -405,20 +407,6 @@ if config["enable"].get("retrieve_cost_data", True): run: move(input[0], output[0]) - rule retrieve_cost_data_flexible: - input: - HTTP.remote( - f"raw.githubusercontent.com/PyPSA/technology-data/{config['costs']['version']}/outputs/costs" - + "_{planning_horizons}.csv", - keep_local=True, - ), - output: - costs=COSTDIR + "costs_{planning_horizons}.csv", - resources: - mem_mb=5000, - run: - move(input[0], output[0]) - rule build_demand_profiles: params: