Skip to content

Commit

Permalink
remove deprecated n_chunks prarameter from prepare_gas_network
Browse files Browse the repository at this point in the history
  • Loading branch information
hazemakhalek committed Mar 4, 2024
1 parent 0e50a09 commit 23d1164
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/prepare_gas_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ def gadm(
out_logging=False,
year=2020,
nprocesses=None,
nchunks=None,
):
if out_logging:
logger.info("Stage 4/4: Creation GADM GeoDataFrame")
Expand Down Expand Up @@ -545,7 +544,6 @@ def load_bus_region(onshore_path, pipelines):
contended_flag = config_pypsa_earth["build_shape_options"]["contended_flag"]
geo_crs = config_pypsa_earth["crs"]["geo_crs"]
distance_crs = config_pypsa_earth["crs"]["distance_crs"]
nchunks = config_pypsa_earth["build_shape_options"]["nchunks"]

bus_regions_onshore = gadm(
countries_list,
Expand All @@ -556,7 +554,6 @@ def load_bus_region(onshore_path, pipelines):
out_logging,
year,
nprocesses=nprocesses,
nchunks=nchunks,
)

# bus_regions_onshore = bus_regions_onshore.reset_index()
Expand Down

0 comments on commit 23d1164

Please sign in to comment.