You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the current main branch or the latest release. Please indicate.
I am running on an up-to-date pypsa-earth environment. Update via conda env update -f envs/environment.yaml.
Describe the Bug
The workflow fail to download the data through the rule retrieve_databundle_light.
Steps to reproduce the error:
Clone the main branch of the repo.
run snakemake -j 1 solve_all_networks
Error Message
If applicable, paste any terminal output to help illustrating your problem. In some cases it may also be useful to share your list of installed packages: conda list.
rule retrieve_databundle_light:
output: data/eia_hydro_annual_generation.csv, data/ssp2-2.6/2030/era5_2013/Africa.nc, data/eez/eez_v11.gpkg, data/costs.csv, data/gebco/GEBCO_2021_TID.nc, data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif, data/custom_powerplants.csv, data/hydro_capacities.csv, data/natura.tiff, cutouts/cutout-2013-era5.nc, data/landcover
log: logs/retrieve_databundle.log
jobid: 9
benchmark: benchmarks/retrieve_databundle_light
reason: Missing output files: data/eia_hydro_annual_generation.csv, data/ssp2-2.6/2030/era5_2013/Africa.nc, data/gebco/GEBCO_2021_TID.nc, data/eez/eez_v11.gpkg, data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif, data/custom_powerplants.csv, data/hydro_capacities.csv, data/natura.tiff, cutouts/cutout-2013-era5.nc
resources: tmpdir=/tmp
INFO:snakemake.logging:rule retrieve_databundle_light:
output: data/eia_hydro_annual_generation.csv, data/ssp2-2.6/2030/era5_2013/Africa.nc, data/eez/eez_v11.gpkg, data/costs.csv, data/gebco/GEBCO_2021_TID.nc, data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif, data/custom_powerplants.csv, data/hydro_capacities.csv, data/natura.tiff, cutouts/cutout-2013-era5.nc, data/landcover
log: logs/retrieve_databundle.log
jobid: 9
benchmark: benchmarks/retrieve_databundle_light
reason: Missing output files: data/eia_hydro_annual_generation.csv, data/ssp2-2.6/2030/era5_2013/Africa.nc, data/gebco/GEBCO_2021_TID.nc, data/eez/eez_v11.gpkg, data/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif, data/custom_powerplants.csv, data/hydro_capacities.csv, data/natura.tiff, cutouts/cutout-2013-era5.nc
resources: tmpdir=/tmp
INFO:snakemake.logging:
Can't find the repo path.INFO:__main__:Retrieving data for 2 countries.WARNING:__main__:DISCLAIMER LICENSES: the use of PyPSA-Earth is conditioned to the acceptance of its multiple licenses. The use of the code automatically implies that you accept all the licenses. See our documentation for more information. Link: https://pypsa-earth.readthedocs.io/en/latest/introduction.html#licenceINFO:__main__:Bundles to be downloaded: bundle_data_earth bundle_cutouts_africa bundle_natura_earth bundle_landcover_africaINFO:__main__:Downloading bundle bundle_data_earth - Host zenodoINFO:__main__:Downloading resource 'common' from cloud 'https://sandbox.zenodo.org/record/1183583/files/data_v0.1.zip?download=1' 0%| | 0/100 [00:00<?, ?it/s]WARNING:__main__:Failed download resource 'common' from cloud 'https://sandbox.zenodo.org/record/1183583/files/data_v0.1.zip?download=1'. 0%| | 0/100 [00:00<?, ?it/s]INFO:__main__:Downloading bundle bundle_data_earth - Host gdriveDownloading 1jN5iV_iaRa5lc1XOaEtletKPUgPNOVuf into /tempfile.zip... WARNING:__main__:Error in downloading bundle bundle_data_earth - host gdriveERROR:__main__:Bundle bundle_data_earth cannot be downloadedINFO:__main__:Downloading bundle bundle_cutouts_africa - Host zenodoINFO:__main__:Downloading resource 'cutouts' from cloud 'https://sandbox.zenodo.org/record/1223907/files/cutouts_africa.zip?download=1' 0%| | 0/100 [00:00<?, ?it/s]WARNING:__main__:Failed download resource 'cutouts' from cloud 'https://sandbox.zenodo.org/record/1223907/files/cutouts_africa.zip?download=1'. 0%| | 0/100 [00:00<?, ?it/s]INFO:__main__:Downloading bundle bundle_cutouts_africa - Host gdriveDownloading 1WHv5Dm1GtrDZj-AxJZd3T-NMIBXty3eV into /tempfile.zip... WARNING:__main__:Error in downloading bundle bundle_cutouts_africa - host gdriveERROR:__main__:Bundle bundle_cutouts_africa cannot be downloadedINFO:__main__:Downloading bundle bundle_natura_earth - Host zenodoINFO:__main__:Downloading resource 'natura' from cloud 'https://sandbox.zenodo.org/record/1183583/files/natura_global.zip?download=1' 0%| | 0/100 [00:00<?, ?it/s]WARNING:__main__:Failed download resource 'natura' from cloud 'https://sandbox.zenodo.org/record/1183583/files/natura_global.zip?download=1'. 0%| | 0/100 [00:00<?, ?it/s]INFO:__main__:Downloading bundle bundle_natura_earth - Host gdriveDownloading 1WmAAwY0TAcHg8YZyAGof0bPewFacm7my into /tempfile.zip... WARNING:__main__:Error in downloading bundle bundle_natura_earth - host gdriveERROR:__main__:Bundle bundle_natura_earth cannot be downloadedINFO:__main__:Downloading bundle bundle_landcover_africa - Host zenodoINFO:__main__:Downloading resource 'landcover' from cloud 'https://sandbox.zenodo.org/record/1183583/files/landcover_africa.zip?download=1' 0%| | 0/100 [00:00<?, ?it/s]WARNING:__main__:Failed download resource 'landcover' from cloud 'https://sandbox.zenodo.org/record/1183583/files/landcover_africa.zip?download=1'. 0%| | 0/100 [00:00<?, ?it/s]INFO:__main__:Downloading bundle bundle_landcover_africa - Host gdriveDownloading 1qnJ0HAWZ4z_9q3PtDEUrFmZWBZYg-WNW into /tempfile.zip... WARNING:__main__:Error in downloading bundle bundle_landcover_africa - host gdriveERROR:__main__:Bundle bundle_landcover_africa cannot be downloadedINFO:__main__:Bundle successfully loaded and unzipped: bundle_data_earth bundle_cutouts_africa bundle_natura_earth bundle_landcover_africaWaiting at most 5 seconds for missing files.WARNING:snakemake.logging:Waiting at most 5 seconds for missing files.MissingOutputException in rule retrieve_databundle_light in file /nfs/home/haz43975/pypsa-earth-EG/Snakefile, line 147:Job 9 completed successfully, but some output files are missing. Missing files after 5 seconds. This might be due to filesystem latency. If that is the case, consider to increase the wait time with --latency-wait:data/eia_hydro_annual_generation.csvdata/ssp2-2.6/2030/era5_2013/Africa.ncdata/eez/eez_v11.gpkgdata/costs.csvdata/gebco/GEBCO_2021_TID.ncdata/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tifdata/custom_powerplants.csvdata/hydro_capacities.csvdata/natura.tiffcutouts/cutout-2013-era5.ncdata/landcoverERROR:snakemake.logging:MissingOutputException in rule retrieve_databundle_light in file /nfs/home/haz43975/pypsa-earth-EG/Snakefile, line 147:Job 9 completed successfully, but some output files are missing. Missing files after 5 seconds. This might be due to filesystem latency. If that is the case, consider to increase the wait time with --latency-wait:data/eia_hydro_annual_generation.csvdata/ssp2-2.6/2030/era5_2013/Africa.ncdata/eez/eez_v11.gpkgdata/costs.csvdata/gebco/GEBCO_2021_TID.ncdata/copernicus/PROBAV_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tifdata/custom_powerplants.csvdata/hydro_capacities.csvdata/natura.tiffcutouts/cutout-2013-era5.ncdata/landcoverShutting down, this might take some time.WARNING:snakemake.logging:Shutting down, this might take some time.Exiting because a job execution failed. Look above for error messageERROR:snakemake.logging:Exiting because a job execution failed. Look above for error messageComplete log: .snakemake/log/2023-07-25T124343.200107.snakemake.logWARNING:snakemake.logging:Complete log: .snakemake/log/2023-07-25T124343.200107.snakemake.log
The text was updated successfully, but these errors were encountered:
I think Leon caught the issue. This probably happens when you rename the repo after you download it. If that's true, then it's better to either incorporate my suggestion or improve the error message to be more descriptive. @davide-f
So, my feeling is that I would get rid of the set_path_to_root function. I think that's the main issue.
Probably, we could revise that function to take as input a integer number stating how many folders you want to go backwards and use that.
Checklist
main
branch or the latest release. Please indicate.pypsa-earth
environment. Update viaconda env update -f envs/environment.yaml
.Describe the Bug
The workflow fail to download the data through the rule
retrieve_databundle_light
.Steps to reproduce the error:
snakemake -j 1 solve_all_networks
Error Message
If applicable, paste any terminal output to help illustrating your problem.
In some cases it may also be useful to share your list of installed packages:
conda list
.The text was updated successfully, but these errors were encountered: