uncomment ship raster, since otherwise not computing
This commit is contained in:
parent
6b10bfa9a6
commit
e9348b8e23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user