Merge pull request #376 from PyPSA/calc-landuse-wo-progressbar

build_renewable_profiles: set show progress default to False
This commit is contained in:
Fabian Neumann 2022-06-14 17:38:08 +02:00 committed by GitHub
commit 93827ace1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ if __name__ == '__main__':
pgb.streams.wrap_stderr() pgb.streams.wrap_stderr()
nprocesses = int(snakemake.threads) nprocesses = int(snakemake.threads)
noprogress = not snakemake.config['atlite'].get('show_progress', True) noprogress = not snakemake.config['atlite'].get('show_progress', False)
config = snakemake.config['renewable'][snakemake.wildcards.technology] config = snakemake.config['renewable'][snakemake.wildcards.technology]
resource = config['resource'] # pv panel config / wind turbine config resource = config['resource'] # pv panel config / wind turbine config
correction_factor = config.get('correction_factor', 1.) correction_factor = config.get('correction_factor', 1.)