correct syntax errors

This commit is contained in:
Fabian Neumann 2021-11-12 12:50:46 +01:00
parent 44ea5ef48a
commit b39a852d3b
2 changed files with 3 additions and 3 deletions

View File

@ -104,10 +104,10 @@ if config["sector"]["gas_network"]:
lng="data/gas_network/scigrid-gas/data/IGGIELGN_LNGs.geojson",
entry="data/gas_network/scigrid-gas/data/IGGIELGN_BorderPoints.geojson",
production="data/gas_network/scigrid-gas/data/IGGIELGN_Productions.geojson",
planned_lng="data/gas_network/planned_LNGs.csv"
planned_lng="data/gas_network/planned_LNGs.csv",
regions_onshore=pypsaeur("resources/regions_onshore_elec_s{simpl}_{clusters}.geojson"),
output:
gas_input_nodes="resources/gas_input_locations_s{simpl}_{clusters}.geojson"
gas_input_nodes="resources/gas_input_locations_s{simpl}_{clusters}.geojson",
gas_input_nodes_simplified="resources/gas_input_locations_s{simpl}_{clusters}_simplified.csv"
resources: mem_mb=2000,
script: "scripts/build_gas_input_locations.py"

View File

@ -1123,7 +1123,7 @@ def add_storage_and_grids(n, costs):
# remove fossil generators where there is neither
# production, LNG terminal, nor entry-point beyond system scope
fn = snakemake.input.gas_input_nodes
fn = snakemake.input.gas_input_nodes_simplified
gas_input_nodes = pd.read_csv(fn, index_col=0)
unique = gas_input_nodes.index.unique()