Closed TomFer97 closed 10 months ago
main
pypsa-earth
conda env update -f pypsa-earth/envs/environment.yaml
When I do the snake_make I get this error. It seems related to the script file.
This is the script of the log from pypsa-earth
Config file configs/bundle_config.yaml is extended by additional config specified via the command line. Building DAG of jobs... Nothing to be done (all requested files are present and up to date). Complete log: .snakemake/log/2023-10-06T172017.365715.snakemake.log Executing main workflow. Using shell: /usr/bin/bash Provided cores: 1 (use --cores to define parallelism) Rules claiming more threads will be scaled down. Job stats: job count ------------------------ ------- add_electricity 1 build_renewable_profiles 2 solve_network 1 total 4 Select jobs to execute... [Fri Oct 6 17:20:22 2023] rule build_renewable_profiles: input: /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/resources/natura.tiff, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/data/gebco/GEBCO_2021_TID.nc, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/resources/shapes/country_shapes.geojson, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/resources/shapes/offshore_shapes.geojson, pypsa-earth/data/hydro_capacities.csv, pypsa-earth/data/eia_hydro_annual_generation.csv, resources/powerplants.csv, resources/shapes/microgrid_bus_shapes.geojson, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/cutouts/africa-2013-era5-tutorial.nc output: resources/renewable_profiles/profile_onwind.nc log: logs/build_renewable_profile_onwind.log jobid: 2 benchmark: benchmarks/build_renewable_profiles_onwind reason: Updated input files: pypsa-earth/data/hydro_capacities.csv wildcards: technology=onwind resources: tmpdir=/tmp, mem_mb=20000, mem_mib=19074 [Fri Oct 6 17:20:39 2023] Finished job 2. 1 of 4 steps (25%) done Select jobs to execute... [Fri Oct 6 17:20:39 2023] rule build_renewable_profiles: input: /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/resources/natura.tiff, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/data/gebco/GEBCO_2021_TID.nc, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/resources/shapes/country_shapes.geojson, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/resources/shapes/offshore_shapes.geojson, pypsa-earth/data/hydro_capacities.csv, pypsa-earth/data/eia_hydro_annual_generation.csv, resources/powerplants.csv, resources/shapes/microgrid_bus_shapes.geojson, /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/pypsa-earth/cutouts/africa-2013-era5-tutorial.nc output: resources/renewable_profiles/profile_solar.nc log: logs/build_renewable_profile_solar.log jobid: 4 benchmark: benchmarks/build_renewable_profiles_solar reason: Updated input files: pypsa-earth/data/hydro_capacities.csv wildcards: technology=solar resources: tmpdir=/tmp, mem_mb=20000, mem_mib=19074 [Fri Oct 6 17:21:00 2023] Finished job 4. 2 of 4 steps (50%) done Select jobs to execute... [Fri Oct 6 17:21:00 2023] rule add_electricity: input: resources/renewable_profiles/profile_onwind.nc, resources/renewable_profiles/profile_solar.nc, networks/base.nc, data/costs.csv, resources/demand/microgrid_load.csv, resources/powerplants.csv output: networks/elec.nc log: logs/add_electricity.log jobid: 1 benchmark: benchmarks/add_electricity reason: Input files updated by another job: resources/renewable_profiles/profile_solar.nc, resources/renewable_profiles/profile_onwind.nc resources: tmpdir=/tmp, mem_mb=3000, mem_mib=2862 [Fri Oct 6 17:21:07 2023] Finished job 1. 3 of 4 steps (75%) done Select jobs to execute... [Fri Oct 6 17:21:07 2023] rule solve_network: input: networks/elec.nc output: networks/results/elec.nc log: logs/solve_network.log jobid: 0 benchmark: benchmarks/solve_network reason: Input files updated by another job: networks/elec.nc resources: tmpdir=/tmp, mem_mb=3000, mem_mib=2862 [Fri Oct 6 17:21:14 2023] Error in rule solve_network: jobid: 0 input: networks/elec.nc output: networks/results/elec.nc log: logs/solve_network.log (check log file(s) for error details) RuleException: CalledProcessError in file /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/Snakefile, line 225: Command 'set -euo pipefail; /home/tomma/anaconda3/envs/pypsa-earth/bin/python3.10 /mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/.snakemake/scripts/tmpq3s8g4cb.solve_network.py' returned non-zero exit status 1. File "/mnt/c/Users/tomma/OneDrive/Desktop/PYPSA/pypsa-distribution/Snakefile", line 225, in __rule_solve_network File "/home/tomma/anaconda3/envs/pypsa-earth/lib/python3.10/concurrent/futures/thread.py", line 58, in run Shutting down, this might take some time. Exiting because a job execution failed. Look above for error message Complete log: pypsa-earth/.snakemake/log/2023-10-06T172017.365715.snakemake.log
Checklist
main
branch or the latest release. Please indicate.pypsa-earth
environment. Update viaconda env update -f pypsa-earth/envs/environment.yaml
.Describe the Bug
When I do the snake_make I get this error. It seems related to the script file.
Error Message
This is the script of the log from pypsa-earth