Tutorial example Sector-Coupled does not run through: Error in rule plot_power_network
fhg-isi opened this issue · 0 comments
Checklist
[x ] I am using the current master branch or the latest release. Please indicate.
[x ] I am running on an up-to-date pypsa-eur environment. Update via conda env update -f envs/environment.yaml.
Describe the Bug
I tried to follow
https://pypsa-eur.readthedocs.io/en/latest/tutorial_sector.html#
and run
snakemake -call all --configfile config/test/config.overnight.yaml
and got the error below. Then I run the command again and it worked.
=> Seems it has been some temporal / timing issue.
a) Please check if the issue can be avoided by including some additional checks etc.
b) Sometimes I face the warning
WARNING:pypsa.components:The following buses have no attached components, which can break the lopf:
{'EU'}
(also see below) and I am not sure if should ignore it. Maybe you could include some explanation in the documentation on known warnings/issues.
Error Message
[Mon Jul 8 10:17:29 2024]
localrule build_solar_thermal_profiles:
input: resources/test/pop_layout_total.nc, resources/test/regions_onshore_elec_s_5.geojson, cutouts/be-03-2013-era5.nc
output: resources/test/solar_thermal_total_elec_s_5.nc
log: logs/test/build_solar_thermal_profiles_total_s_5.log
jobid: 35
benchmark: benchmarks/test/build_solar_thermal_profiles/total_s_5
reason: Missing output files: resources/test/solar_thermal_total_elec_s_5.nc; Input files updated by another job: resources/test/pop_layout_total.nc, resources/test/regions_onshore_elec_s_5.geojson
wildcards: scope=total, simpl=, clusters=5
threads: 16
resources: tmpdir=/tmp, mem_mb=20000, mem_mib=19074
2024-07-08 10:17:35,987 - distributed.worker - ERROR - Failed to communicate with scheduler during heartbeat.
Traceback (most recent call last):
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/comm/tcp.py", line 225, in read
frames_nosplit_nbytes_bin = await stream.read_bytes(fmt_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tornado.iostream.StreamClosedError: Stream is closed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/worker.py", line 1250, in heartbeat
response = await retry_operation(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/utils_comm.py", line 459, in retry_operation
return await retry(
^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/utils_comm.py", line 438, in retry
return await coro()
^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/core.py", line 1398, in send_recv_from_rpc
return await send_recv(comm=comm, op=key, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/core.py", line 1157, in send_recv
response = await comm.read(deserializers=deserializers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/comm/tcp.py", line 236, in read
convert_stream_closed_error(self, e)
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/distributed/comm/tcp.py", line 142, in convert_stream_closed_error
raise CommClosedError(f"in {obj}: {exc}") from exc
distributed.comm.core.CommClosedError: in <TCP (closed) ConnectionPool.heartbeat_worker local=tcp://127.0.0.1:38568 remote=tcp://127.0.0.1:40461>: Stream is closed
[Mon Jul 8 10:17:37 2024]
Finished job 35.
42 of 55 steps (76%) done
Select jobs to execute...
Execute 1 jobs...
[Mon Jul 8 10:17:37 2024]
localrule build_solar_thermal_profiles:
input: resources/test/pop_layout_rural.nc, resources/test/regions_onshore_elec_s_5.geojson, cutouts/be-03-2013-era5.nc
output: resources/test/solar_thermal_rural_elec_s_5.nc
log: logs/test/build_solar_thermal_profiles_rural_s_5.log
jobid: 64
benchmark: benchmarks/test/build_solar_thermal_profiles/rural_s_5
reason: Missing output files: resources/test/solar_thermal_rural_elec_s_5.nc; Input files updated by another job: resources/test/pop_layout_rural.nc, resources/test/regions_onshore_elec_s_5.geojson
wildcards: scope=rural, simpl=, clusters=5
threads: 16
resources: tmpdir=/tmp, mem_mb=20000, mem_mib=19074
[Mon Jul 8 10:17:45 2024]
Finished job 64.
43 of 55 steps (78%) done
Select jobs to execute...
Execute 1 jobs...
[Mon Jul 8 10:17:45 2024]
localrule build_solar_thermal_profiles:
input: resources/test/pop_layout_urban.nc, resources/test/regions_onshore_elec_s_5.geojson, cutouts/be-03-2013-era5.nc
output: resources/test/solar_thermal_urban_elec_s_5.nc
log: logs/test/build_solar_thermal_profiles_urban_s_5.log
jobid: 63
benchmark: benchmarks/test/build_solar_thermal_profiles/urban_s_5
reason: Missing output files: resources/test/solar_thermal_urban_elec_s_5.nc; Input files updated by another job: resources/test/pop_layout_urban.nc, resources/test/regions_onshore_elec_s_5.geojson
wildcards: scope=urban, simpl=, clusters=5
threads: 16
resources: tmpdir=/tmp, mem_mb=20000, mem_mib=19074
[Mon Jul 8 10:17:54 2024]
Finished job 63.
44 of 55 steps (80%) done
Select jobs to execute...
Execute 3 jobs...
[Mon Jul 8 10:17:54 2024]
localrule time_aggregation:
input: resources/test/networks/elec_s_5_ec_lv1.5_.nc, resources/test/hourly_heat_demand_total_elec_s_5.nc, resources/test/solar_thermal_total_elec_s_5.nc
output: resources/test/snapshot_weightings_elec_s_5_ec_lv1.5_.csv
log: logs/test/time_aggregation_elec_s_5_ec_lv1.5_.log
jobid: 29
benchmark: benchmarks/test/time_aggregation_elec_s_5_ec_lv1.5_
reason: Missing output files: resources/test/snapshot_weightings_elec_s_5_ec_lv1.5_.csv; Input files updated by another job: resources/test/hourly_heat_demand_total_elec_s_5.nc, resources/test/networks/elec_s_5_ec_lv1.5_.nc, resources/test/solar_thermal_total_elec_s_5.nc
wildcards: simpl=, clusters=5, ll=v1.5, opts=
resources: tmpdir=/tmp, mem_mb=5000, mem_mib=4769
[Mon Jul 8 10:17:54 2024]
localrule build_transport_demand:
input: resources/test/pop_layout_elec_s_5.csv, resources/test/pop_weighted_energy_totals_s_5.csv, resources/test/transport_data.csv, data/bundle/emobility/KFZ__count, data/bundle/emobility/Pkw__count, resources/test/temp_air_total_elec_s_5.nc
output: resources/test/transport_demand_s_5.csv, resources/test/transport_data_s_5.csv, resources/test/avail_profile_s_5.csv, resources/test/dsm_profile_s_5.csv
log: logs/test/build_transport_demand_s_5.log
jobid: 44
reason: Missing output files: resources/test/avail_profile_s_5.csv, resources/test/transport_data_s_5.csv, resources/test/transport_demand_s_5.csv, resources/test/dsm_profile_s_5.csv; Input files updated by another job: resources/test/pop_weighted_energy_totals_s_5.csv, resources/test/temp_air_total_elec_s_5.nc, resources/test/transport_data.csv, resources/test/pop_layout_elec_s_5.csv
wildcards: simpl=, clusters=5
resources: tmpdir=/tmp, mem_mb=2000, mem_mib=1908
[Mon Jul 8 10:17:54 2024]
localrule build_cop_profiles:
input: resources/test/temp_soil_total_elec_s_5.nc, resources/test/temp_soil_rural_elec_s_5.nc, resources/test/temp_soil_urban_elec_s_5.nc, resources/test/temp_air_total_elec_s_5.nc, resources/test/temp_air_rural_elec_s_5.nc, resources/test/temp_air_urban_elec_s_5.nc
output: resources/test/cop_soil_total_elec_s_5.nc, resources/test/cop_soil_rural_elec_s_5.nc, resources/test/cop_soil_urban_elec_s_5.nc, resources/test/cop_air_total_elec_s_5.nc, resources/test/cop_air_rural_elec_s_5.nc, resources/test/cop_air_urban_elec_s_5.nc
log: logs/test/build_cop_profiles_s_5.log
jobid: 62
benchmark: benchmarks/test/build_cop_profiles/s_5
reason: Missing output files: resources/test/cop_air_urban_elec_s_5.nc, resources/test/cop_soil_urban_elec_s_5.nc, resources/test/cop_soil_total_elec_s_5.nc, resources/test/cop_soil_rural_elec_s_5.nc, resources/test/cop_air_total_elec_s_5.nc, resources/test/cop_air_rural_elec_s_5.nc; Input files updated by another job: resources/test/temp_soil_total_elec_s_5.nc, resources/test/temp_soil_rural_elec_s_5.nc, resources/test/temp_air_total_elec_s_5.nc, resources/test/temp_air_rural_elec_s_5.nc, resources/test/temp_air_urban_elec_s_5.nc, resources/test/temp_soil_urban_elec_s_5.nc
wildcards: simpl=, clusters=5
resources: tmpdir=/tmp, mem_mb=20000, mem_mib=19074
[Mon Jul 8 10:17:56 2024]
Finished job 44.
45 of 55 steps (82%) done
[Mon Jul 8 10:17:56 2024]
Finished job 62.
46 of 55 steps (84%) done
INFO:pypsa.io:Imported network elec_s_5_ec_lv1.5_.nc has buses, carriers, generators, global_constraints, lines, links, loads, shapes, storage_units, stores
INFO:main:Averaging every 24h hours
[Mon Jul 8 10:17:58 2024]
Finished job 29.
47 of 55 steps (85%) done
Select jobs to execute...
Execute 1 jobs...
[Mon Jul 8 10:17:58 2024]
localrule prepare_sector_network:
input: resources/test/profile_offwind-ac.nc, resources/test/profile_offwind-dc.nc, resources/test/profile_offwind-float.nc, resources/test/gas_network_elec_s_5.csv, resources/test/gas_input_locations_s_5.geojson, resources/test/gas_input_locations_s_5_simplified.csv, resources/test/snapshot_weightings_elec_s_5_ec_lv1.5_.csv, resources/test/networks/elec_s_5_ec_lv1.5_.nc, data/eurostat/Balances-April2023, resources/test/pop_weighted_energy_totals_s_5.csv, resources/test/pop_weighted_heat_totals_s_5.csv, resources/test/shipping_demand_s_5.csv, resources/test/transport_demand_s_5.csv, resources/test/transport_data_s_5.csv, resources/test/avail_profile_s_5.csv, resources/test/dsm_profile_s_5.csv, resources/test/co2_totals.csv, data/bundle/eea/UNFCCC_v23.csv, resources/test/biomass_potentials_s_5_2030.csv, resources/test/costs_2030.csv, resources/test/salt_cavern_potentials_s_5.csv, resources/test/busmap_elec_s.csv, resources/test/busmap_elec_s_5.csv, resources/test/pop_layout_elec_s_5.csv, resources/test/pop_layout_elec_s.csv, resources/test/industrial_energy_demand_elec_s_5_2030.csv, resources/test/hourly_heat_demand_total_elec_s_5.nc, resources/test/district_heat_share_elec_s_5_2030.csv, resources/test/temp_soil_total_elec_s_5.nc, resources/test/temp_soil_rural_elec_s_5.nc, resources/test/temp_soil_urban_elec_s_5.nc, resources/test/temp_air_total_elec_s_5.nc, resources/test/temp_air_rural_elec_s_5.nc, resources/test/temp_air_urban_elec_s_5.nc, resources/test/cop_soil_total_elec_s_5.nc, resources/test/cop_soil_rural_elec_s_5.nc, resources/test/cop_soil_urban_elec_s_5.nc, resources/test/cop_air_total_elec_s_5.nc, resources/test/cop_air_rural_elec_s_5.nc, resources/test/cop_air_urban_elec_s_5.nc, resources/test/solar_thermal_total_elec_s_5.nc, resources/test/solar_thermal_urban_elec_s_5.nc, resources/test/solar_thermal_rural_elec_s_5.nc
output: results/test-sector-overnight/prenetworks/elec_s_5_lv1.5___2030.nc
log: results/test-sector-overnight/logs/prepare_sector_network_elec_s_5_lv1.5___2030.log
jobid: 4
benchmark: results/test-sector-overnight/benchmarks/prepare_sector_network/elec_s_5_lv1.5___2030
reason: Missing output files: results/test-sector-overnight/prenetworks/elec_s_5_lv1.5___2030.nc; Input files updated by another job: resources/test/temp_soil_total_elec_s_5.nc, resources/test/networks/elec_s_5_ec_lv1.5_.nc, resources/test/temp_soil_rural_elec_s_5.nc, resources/test/industrial_energy_demand_elec_s_5_2030.csv, resources/test/pop_weighted_energy_totals_s_5.csv, resources/test/temp_air_rural_elec_s_5.nc, resources/test/temp_air_urban_elec_s_5.nc, resources/test/cop_air_rural_elec_s_5.nc, resources/test/gas_input_locations_s_5_simplified.csv, resources/test/avail_profile_s_5.csv, resources/test/solar_thermal_total_elec_s_5.nc, resources/test/biomass_potentials_s_5_2030.csv, resources/test/cop_soil_urban_elec_s_5.nc, resources/test/pop_layout_elec_s_5.csv, resources/test/cop_soil_total_elec_s_5.nc, resources/test/pop_weighted_heat_totals_s_5.csv, resources/test/cop_air_total_elec_s_5.nc, resources/test/profile_offwind-float.nc, resources/test/district_heat_share_elec_s_5_2030.csv, resources/test/transport_data_s_5.csv, resources/test/solar_thermal_urban_elec_s_5.nc, resources/test/co2_totals.csv, resources/test/pop_layout_elec_s.csv, resources/test/profile_offwind-ac.nc, resources/test/salt_cavern_potentials_s_5.csv, resources/test/busmap_elec_s_5.csv, resources/test/shipping_demand_s_5.csv, resources/test/temp_soil_urban_elec_s_5.nc, resources/test/transport_demand_s_5.csv, resources/test/dsm_profile_s_5.csv, resources/test/hourly_heat_demand_total_elec_s_5.nc, resources/test/cop_air_urban_elec_s_5.nc, resources/test/gas_network_elec_s_5.csv, resources/test/busmap_elec_s.csv, resources/test/profile_offwind-dc.nc, resources/test/snapshot_weightings_elec_s_5_ec_lv1.5_.csv, resources/test/cop_soil_rural_elec_s_5.nc, resources/test/temp_air_total_elec_s_5.nc, resources/test/solar_thermal_rural_elec_s_5.nc, resources/test/gas_input_locations_s_5.geojson
wildcards: simpl=, clusters=5, ll=v1.5, opts=, sector_opts=, planning_horizons=2030
resources: tmpdir=/tmp, mem_mb=2000, mem_mib=1908
INFO:pypsa.io:Imported network elec_s_5_ec_lv1.5_.nc has buses, carriers, generators, global_constraints, lines, links, loads, shapes, storage_units, stores
INFO:main:Removing buses with carrier ['H2']
INFO:main:Removing links with carrier ['DC', 'H2 electrolysis', 'H2 fuel cell', 'H2 pipeline']
INFO:main:Removing generators with carrier ['CCGT', 'biomass', 'oil', 'ror']
INFO:main:Removing storage_units with carrier ['PHS', 'battery', 'hydro']
INFO:main:Removing stores with carrier ['H2']
INFO:main:Added connection cost of 178-178 Eur/MW/a to offwind-dc
INFO:main:Added connection cost of 70-70 Eur/MW/a to offwind-ac
INFO:main:Added connection cost of 128-128 Eur/MW/a to offwind-float
WARNING:pypsa.components:Bus has no attribute location, ignoring this passed value.
WARNING:pypsa.components:Bus has no attribute location, ignoring this passed value.
INFO:main:Adding electricity generation
INFO:main:Add hydrogen storage
INFO:main:Adding hydrogen fuel cell for re-electrification.
INFO:main:Add natural gas infrastructure, incl. LNG terminals, production, storage and entry-points.
INFO:main:Add retrofitting options of existing CH4 pipes to H2 pipes.
INFO:main:Add options for new hydrogen pipelines.
INFO:main:Add land transport
INFO:main:fuel_cell share: 0%
INFO:main:electric share: 30.0%
INFO:main:ice share: 70.0%
INFO:main:Add heat sector
INFO:main:Assumed space heat reduction of 9.00%
INFO:main:Add biomass
INFO:main:Add industrial demand
INFO:main:Add possibility to use industrial waste heat in district heating
INFO:main:Add agriculture, forestry and fishing sector.
INFO:main:Adding CO2 budget limit as per unit of 1990 levels of 0.297
INFO:main:Limiting new HVAC and HVDC extensions to 20000 MW
INFO:main:Inserting electricity distribution grid with investment cost factor of 1.00
INFO:main:Deducting distribution losses from electricity demand: 3.0%
INFO:main:Inserting gas distribution grid with investment cost factor of 1.0
INFO:main:Specified losses for H2 pipeline transmission (static: 1, per 1000km: 1, compression per 1000km: 0.018). Splitting bidirectional links.
/home/projekt-resilient03/pypsa-eur/.snakemake/scripts/tmp6xx_cb6w.prepare_sector_network.py:3725: FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version. Call result.infer_objects(copy=False) instead. To opt-in to the future behavior, set pd.set_option('future.no_silent_downcasting', True)
n.links["reversed"] = n.links["reversed"].fillna(False).infer_objects(copy=False)
INFO:main:Specified losses for gas pipeline transmission (static: 1, per 1000km: 1, compression per 1000km: 0.01). Splitting bidirectional links.
INFO:main:Specified losses for electricity distribution grid transmission (static: 0.97, per 1000km: 1, compression per 1000km: 0). Splitting bidirectional links.
INFO:main:Removing 0 line(s) with properties conflicting with transmission losses functionality.
INFO:main:Cluster residential and service heat buses.
WARNING:add_electricity:tech_colors for carriers ['', 'none', 'rural solar thermal', 'rural water tanks', 'urban decentral heat', 'urban decentral solar thermal', 'urban decentral water tanks', 'non-sequestered HVC', 'urban decentral water tanks discharger', 'rural resistive heater', 'urban decentral gas boiler', 'urban decentral resistive heater', 'urban decentral biomass boiler', 'urban decentral water tanks charger', 'rural air heat pump', 'rural water tanks charger', 'rural ground heat pump', 'rural gas boiler', 'urban decentral air heat pump', 'rural water tanks discharger', 'rural biomass boiler'] not defined in config.
INFO:pypsa.io:Exported network elec_s_5_lv1.5___2030.nc has shapes, generators, lines, carriers, buses, loads, links, stores, global_constraints
[Mon Jul 8 10:18:04 2024]
Finished job 4.
48 of 55 steps (87%) done
Select jobs to execute...
Execute 1 jobs...
[Mon Jul 8 10:18:04 2024]
localrule solve_sector_network:
input: results/test-sector-overnight/prenetworks/elec_s_5_lv1.5___2030.nc
output: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, results/test-sector-overnight/configs/config.elec_s_5_lv1.5___2030.yaml
log: results/test-sector-overnight/logs/elec_s_5_lv1.5___2030_solver.log, results/test-sector-overnight/logs/elec_s_5_lv1.5___2030_memory.log, results/test-sector-overnight/logs/elec_s_5_lv1.5___2030_python.log
jobid: 3
benchmark: results/test-sector-overnight/benchmarks/solve_sector_network/elec_s_5_lv1.5___2030
reason: Missing output files: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc; Input files updated by another job: results/test-sector-overnight/prenetworks/elec_s_5_lv1.5___2030.nc
wildcards: simpl=, clusters=5, ll=v1.5, opts=, sector_opts=, planning_horizons=2030
threads: 4
resources: tmpdir=/tmp, mem_mb=30000, mem_mib=28611, runtime=360
INFO:pypsa.io:Imported network elec_s_5_lv1.5___2030.nc has buses, carriers, generators, global_constraints, lines, links, loads, shapes, stores
WARNING:pypsa.components:The following buses have no attached components, which can break the lopf:
{'EU'}
WARNING:pypsa.components:The following buses have no attached components, which can break the lopf:
{'EU'}
INFO:linopy.model: Solve problem using Glpk solver
INFO:linopy.model:Solver logs written to results/test-sector-overnight/logs/elec_s_5_lv1.5___2030_solver.log
.
INFO:linopy.io: Writing time: 0.14s
INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 3514 primals, 7204 duals
Objective: 5.39e+08
Solver model: not available
Solver message: optimal
INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Generator-ext-p-lower, Generator-ext-p-upper, Line-ext-s-lower, Line-ext-s-upper, Link-fix-p-lower, Link-fix-p-upper, Link-ext-p-lower, Link-ext-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-ext-e-lower, Store-ext-e-upper, Kirchhoff-Voltage-Law, Store-energy_balance, Line-loss_upper, Line-loss_tangents-1--1, Line-loss_tangents-1-1, Line-loss_tangents-2--1, Line-loss_tangents-2-1 were not assigned to the network.
INFO:main:Maximum memory usage: (524.62109375, 1720426693.0804055)
INFO:pypsa.io:Exported network elec_s_5_lv1.5___2030.nc has loads, generators, shapes, carriers, global_constraints, links, stores, lines, buses
[Mon Jul 8 10:18:15 2024]
Finished job 3.
49 of 55 steps (89%) done
Select jobs to execute...
Execute 3 jobs...
[Mon Jul 8 10:18:15 2024]
localrule plot_hydrogen_network:
input: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, resources/test/regions_onshore_elec_s_5.geojson
output: results/test-sector-overnight/maps/elec_s_5_lv1.5__-h2_network_2030.pdf
log: results/test-sector-overnight/logs/plot_hydrogen_network/elec_s_5_lv1.5___2030.log
jobid: 67
benchmark: results/test-sector-overnight/benchmarks/plot_hydrogen_network/elec_s_5_lv1.5___2030
reason: Missing output files: results/test-sector-overnight/maps/elec_s_5_lv1.5__-h2_network_2030.pdf; Input files updated by another job: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, resources/test/regions_onshore_elec_s_5.geojson
wildcards: simpl=, clusters=5, ll=v1.5, opts=, sector_opts=, planning_horizons=2030
threads: 2
resources: tmpdir=/tmp, mem_mb=10000, mem_mib=9537
[Mon Jul 8 10:18:15 2024]
localrule plot_power_network:
input: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, resources/test/regions_onshore_elec_s_5.geojson
output: results/test-sector-overnight/maps/elec_s_5_lv1.5__-costs-all_2030.pdf
log: results/test-sector-overnight/logs/plot_power_network/elec_s_5_lv1.5___2030.log
jobid: 66
benchmark: results/test-sector-overnight/benchmarks/plot_power_network/elec_s_5_lv1.5___2030
reason: Missing output files: results/test-sector-overnight/maps/elec_s_5_lv1.5__-costs-all_2030.pdf; Input files updated by another job: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, resources/test/regions_onshore_elec_s_5.geojson
wildcards: simpl=, clusters=5, ll=v1.5, opts=, sector_opts=, planning_horizons=2030
threads: 2
resources: tmpdir=/tmp, mem_mb=10000, mem_mib=9537
[Mon Jul 8 10:18:15 2024]
localrule plot_gas_network:
input: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, resources/test/regions_onshore_elec_s_5.geojson
output: results/test-sector-overnight/maps/elec_s_5_lv1.5__-ch4_network_2030.pdf
log: results/test-sector-overnight/logs/plot_gas_network/elec_s_5_lv1.5___2030.log
jobid: 68
benchmark: results/test-sector-overnight/benchmarks/plot_gas_network/elec_s_5_lv1.5___2030
reason: Missing output files: results/test-sector-overnight/maps/elec_s_5_lv1.5__-ch4_network_2030.pdf; Input files updated by another job: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, resources/test/regions_onshore_elec_s_5.geojson
wildcards: simpl=, clusters=5, ll=v1.5, opts=, sector_opts=, planning_horizons=2030
threads: 2
resources: tmpdir=/tmp, mem_mb=10000, mem_mib=9537
INFO:pypsa.io:Imported network elec_s_5_lv1.5___2030.nc has buses, carriers, generators, global_constraints, lines, links, loads, shapes, stores
INFO:pypsa.io:Imported network elec_s_5_lv1.5___2030.nc has buses, carriers, generators, global_constraints, lines, links, loads, shapes, stores
INFO:pypsa.io:Imported network elec_s_5_lv1.5___2030.nc has buses, carriers, generators, global_constraints, lines, links, loads, shapes, stores
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/mpl/feature_artist.py:144: UserWarning: facecolor will have no effect as it has been defined as "never".
warnings.warn('facecolor will have no effect as it has been '
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/mpl/feature_artist.py:144: UserWarning: facecolor will have no effect as it has been defined as "never".
warnings.warn('facecolor will have no effect as it has been '
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/mpl/feature_artist.py:144: UserWarning: facecolor will have no effect as it has been defined as "never".
warnings.warn('facecolor will have no effect as it has been '
INFO:main:Dropping non-buses ['', 'EU HVC', 'EU agriculture', 'EU coal', 'EU gas', 'EU industry', 'EU kerosene', 'EU land', 'EU methanol', 'EU naphtha', 'EU oil', 'EU process', 'EU shipping', 'EU solid', 'H2 pipeline', 'gas pipeline', 'process', 'solid']
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/mpl/feature_artist.py:144: UserWarning: facecolor will have no effect as it has been defined as "never".
warnings.warn('facecolor will have no effect as it has been '
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/io/init.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_land.zip
warnings.warn(f'Downloading: {url}', DownloadWarning)
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/io/init.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_land.zip
warnings.warn(f'Downloading: {url}', DownloadWarning)
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/io/init.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_land.zip
warnings.warn(f'Downloading: {url}', DownloadWarning)
ERROR:fiona._env:Error in fread() reading object of size 792 at offset 20460 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1096 at offset 21252 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1672 at offset 22348 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1640 at offset 24020 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 488 at offset 25660 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 408 at offset 26148 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 712 at offset 26556 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 472 at offset 27268 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1192 at offset 27740 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 824 at offset 28932 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 872 at offset 29756 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 888 at offset 30628 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 904 at offset 31516 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 936 at offset 32420 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 760 at offset 33356 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 856 at offset 34116 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 408 at offset 34972 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1256 at offset 35380 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 552 at offset 36636 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1432 at offset 37188 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 792 at offset 38620 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1592 at offset 39412 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 440 at offset 41004 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 632 at offset 41444 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 968 at offset 42076 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 760 at offset 43044 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1112 at offset 43804 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 584 at offset 44916 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 648 at offset 45500 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1064 at offset 46148 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 488 at offset 47212 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 696 at offset 47700 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 440 at offset 48396 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 360 at offset 48836 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 440 at offset 49196 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 296 at offset 49636 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1160 at offset 49932 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 904 at offset 51092 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 840 at offset 51996 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 616 at offset 52836 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1080 at offset 53452 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 408 at offset 54532 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 600 at offset 54940 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 648 at offset 55540 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1176 at offset 56188 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 472 at offset 57364 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 856 at offset 57836 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 616 at offset 58692 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 616 at offset 59308 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 408 at offset 59924 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1320 at offset 60332 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 616 at offset 61652 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 824 at offset 62268 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 584 at offset 63092 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 968 at offset 63676 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 936 at offset 64644 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 872 at offset 65580 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 984 at offset 66452 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1096 at offset 67436 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 376 at offset 68532 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 488 at offset 68908 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1336 at offset 69396 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1032 at offset 70732 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 696 at offset 71764 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 648 at offset 72460 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 824 at offset 73108 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 712 at offset 73932 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2056 at offset 74644 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 856 at offset 76700 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 520 at offset 77556 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1704 at offset 78076 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 760 at offset 79780 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1032 at offset 80540 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 920 at offset 81572 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 904 at offset 82492 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 520 at offset 83396 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 984 at offset 83916 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 872 at offset 84900 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1288 at offset 85772 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 904 at offset 87060 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1784 at offset 87964 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1096 at offset 89748 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2648 at offset 90844 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1096 at offset 93492 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1656 at offset 94588 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1624 at offset 96244 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2008 at offset 97868 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 616 at offset 99876 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 776 at offset 100492 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 4776 at offset 101268 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 5240 at offset 106044 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2456 at offset 165836 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1032 at offset 168292 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1240 at offset 169324 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 279020 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1272 at offset 170564 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 472 at offset 279236 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 456 at offset 279708 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 4072 at offset 171836 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 280164 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 175908 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 280316 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 176092 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 280580 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 176340 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 312 at offset 280748 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 632 at offset 176508 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 281060 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 600 at offset 177140 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 281228 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1720 at offset 177740 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 281428 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1064 at offset 179460 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 312 at offset 281596 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 3384 at offset 180524 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 281908 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 328 at offset 282172 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2984 at offset 183908 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 282500 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 3672 at offset 186892 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 520 at offset 282668 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2056 at offset 190564 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 283188 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 5000 at offset 192620 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 283388 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1368 at offset 197620 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 504 at offset 283572 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1032 at offset 198988 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 284076 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1496 at offset 200020 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 536 at offset 284228 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 952 at offset 201516 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 440 at offset 284764 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2712 at offset 202468 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 285204 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 2520 at offset 205180 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 296 at offset 285356 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1256 at offset 207700 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 285652 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 8184 at offset 208956 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 4744 at offset 217140 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 285836 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 286052 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 5480 at offset 221884 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 286300 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 7304 at offset 227364 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 296 at offset 286516 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 234668 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 488 at offset 286812 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 234820 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 392 at offset 287300 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 235004 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 287692 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 235188 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 287892 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 235372 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 288092 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 235556 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 1000 at offset 288308 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 235708 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 488 at offset 289308 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 136 at offset 235892 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 664 at offset 289796 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 236028 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 312 at offset 290460 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 236196 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 236380 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 424 at offset 290772 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 312 at offset 291196 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 236548 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 328 at offset 291508 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 236716 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 291836 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 236900 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 456 at offset 292100 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 237100 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 296 at offset 292556 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 237268 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 776 at offset 292852 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 237452 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 360 at offset 293628 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 237716 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 293988 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 237932 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 294236 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 238116 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 294388 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 238316 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 376 at offset 294588 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 238516 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 232 at offset 238780 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 294964 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 232 at offset 239012 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 295180 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 239244 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 295348 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 295532 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 239412 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 295684 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 239612 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 295868 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 239780 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 296036 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 239964 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 376 at offset 296300 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 240148 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 296676 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 240348 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 296844 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 240548 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 297060 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 240700 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 280 at offset 297244 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 297524 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 240868 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 241036 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 297724 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 297876 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 241236 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 241436 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 312 at offset 298044 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 298356 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 241604 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 241772 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 298572 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 298740 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 241924 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 242092 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 299004 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 296 at offset 299268 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 242260 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 280 at offset 299564 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 242476 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 299844 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 242644 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 242828 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 300028 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 300212 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 312 at offset 242996 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 243308 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 300380 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 243492 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 300532 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 243660 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 300780 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 300932 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 243828 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 244012 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 301148 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 280 at offset 244180 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 301396 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 244460 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 301564 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 244644 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 376 at offset 301780 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 244812 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 302156 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 244964 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 302356 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 245180 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 302604 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 302788 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 245348 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 245532 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 280 at offset 303004 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 296 at offset 303284 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 232 at offset 245716 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 245948 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 280 at offset 303580 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 360 at offset 303860 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 246148 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 246332 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 304220 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 152 at offset 304404 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 246548 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 304556 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 246732 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 246932 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 328 at offset 304740 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 247116 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 328 at offset 305068 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 247332 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 520 at offset 305396 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 392 at offset 247596 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 504 at offset 305916 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 216 at offset 247988 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 306420 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 248 at offset 306668 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 536 at offset 248204 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 280 at offset 306916 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 264 at offset 248740 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 200 at offset 307196 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 184 at offset 249004 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 456 at offset 307396 from .shp file
ERROR:fiona._env:Error in fread() reading object of size 168 at offset 307852 from .shp file
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/io/init.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_ocean.zip
warnings.warn(f'Downloading: {url}', DownloadWarning)
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/io/init.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_ocean.zip
warnings.warn(f'Downloading: {url}', DownloadWarning)
/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/io/init.py:241: DownloadWarning: Downloading: https://naturalearth.s3.amazonaws.com/50m_physical/ne_50m_ocean.zip
warnings.warn(f'Downloading: {url}', DownloadWarning)
ERROR:fiona._env:.shx file is unreadable, or corrupt.
ERROR:root:Uncaught exception
Traceback (most recent call last):
File "fiona/ogrext.pyx", line 136, in fiona.ogrext.gdal_open_vector
File "fiona/_err.pyx", line 291, in fiona._err.exc_wrap_pointer
fiona._err.CPLE_OpenFailedError: .shx file is unreadable, or corrupt.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/projekt-resilient03/pypsa-eur/.snakemake/scripts/tmp_zyf08pc.plot_power_network.py", line 277, in
plot_map(n)
File "/home/projekt-resilient03/pypsa-eur/.snakemake/scripts/tmp_zyf08pc.plot_power_network.py", line 247, in plot_map
fig.savefig(snakemake.output.map, bbox_inches="tight")
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/figure.py", line 3388, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/backend_bases.py", line 2189, in print_figure
self.figure.draw(renderer)
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/artist.py", line 95, in draw_wrapper
result = draw(artist, renderer, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/artist.py", line 72, in draw_wrapper
return draw(artist, renderer)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/figure.py", line 3155, in draw
mimage._draw_list_compositing_images(
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images
a.draw(renderer)
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/artist.py", line 72, in draw_wrapper
return draw(artist, renderer)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw
return super().draw(renderer=renderer, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/artist.py", line 72, in draw_wrapper
return draw(artist, renderer)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 3109, in draw
mimage.draw_list_compositing_images(
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/image.py", line 132, in draw_list_compositing_images
a.draw(renderer)
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/matplotlib/artist.py", line 72, in draw_wrapper
return draw(artist, renderer)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw
geoms = self.feature.intersecting_geometries(extent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/feature/init.py", line 309, in intersecting_geometries
return super().intersecting_geometries(extent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/feature/init.py", line 112, in intersecting_geometries
return (geom for geom in self.geometries() if
^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/feature/init.py", line 294, in geometries
geometries = tuple(shapereader.Reader(path).geometries())
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/cartopy/io/shapereader.py", line 199, in init
with fiona.open(filename, **kwargs) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/fiona/env.py", line 457, in wrapper
return f(*args, **kwds)
^^^^^^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/fiona/init.py", line 292, in open
colxn = Collection(
^^^^^^^^^^^
File "/home/projekt-resilient03/conda/envs/pypsa-eur/lib/python3.11/site-packages/fiona/collection.py", line 243, in init
self.session.start(self, **kwargs)
File "fiona/ogrext.pyx", line 588, in fiona.ogrext.Session.start
File "fiona/ogrext.pyx", line 143, in fiona.ogrext.gdal_open_vector
fiona.errors.DriverError: .shx file is unreadable, or corrupt.
RuleException:
CalledProcessError in file /home/projekt-resilient03/pypsa-eur/rules/postprocess.smk, line 52:
Command 'set -euo pipefail; /home/projekt-resilient03/conda/envs/pypsa-eur/bin/python3.11 /home/projekt-resilient03/pypsa-eur/.snakemake/scripts/tmp_zyf08pc.plot_power_network.py' returned non-zero exit status 1.
[Mon Jul 8 10:18:23 2024]
Error in rule plot_power_network:
jobid: 66
input: results/test-sector-overnight/postnetworks/elec_s_5_lv1.5___2030.nc, resources/test/regions_onshore_elec_s_5.geojson
output: results/test-sector-overnight/maps/elec_s_5_lv1.5-costs-all_2030.pdf
log: results/test-sector-overnight/logs/plot_power_network/elec_s_5_lv1.5___2030.log (check log file(s) for error details)
conda-env: /home/projekt-resilient03/pypsa-eur/.snakemake/conda/fbcf67a17049d57630792c1af3753c25
[Mon Jul 8 10:18:32 2024]
Finished job 68.
50 of 55 steps (91%) done
[Mon Jul 8 10:18:34 2024]
Finished job 67.
51 of 55 steps (93%) done
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2024-07-08T101543.760491.snakemake.log
WorkflowError:
At least one job did not complete successfully.
(pypsa-eur) projekt-resilient03@ubuntu-22-04-lts-temp:~/pypsa-eur$