diff --git a/scripts/build_renewable_profiles.py b/scripts/build_renewable_profiles.py index c0288aee..b0d92729 100644 --- a/scripts/build_renewable_profiles.py +++ b/scripts/build_renewable_profiles.py @@ -246,14 +246,14 @@ if __name__ == "__main__": snakemake.input.corine, codes=codes, buffer=buffer, crs=3035 ) - if "ship_threshold" in config: - shipping_threshold = ( - config["ship_threshold"] * 8760 * 6 - ) # approximation because 6 years of data which is hourly collected - func = functools.partial(np.less, shipping_threshold) - excluder.add_raster( - snakemake.input.ship_density, codes=func, crs=4326, allow_no_overlap=True - ) + # if "ship_threshold" in config: + # shipping_threshold = ( + # config["ship_threshold"] * 8760 * 6 + # ) # approximation because 6 years of data which is hourly collected + # func = functools.partial(np.less, shipping_threshold) + # excluder.add_raster( + # snakemake.input.ship_density, codes=func, crs=4326, allow_no_overlap=True + # ) if config.get("max_depth"): # lambda not supported for atlite + multiprocessing