allow false for max_depth
This commit is contained in:
parent
67d878d1d7
commit
8837ba6a5f
@ -256,7 +256,7 @@ if __name__ == "__main__":
|
|||||||
snakemake.input.ship_density, codes=func, crs=4326, allow_no_overlap=True
|
snakemake.input.ship_density, codes=func, crs=4326, allow_no_overlap=True
|
||||||
)
|
)
|
||||||
|
|
||||||
if "max_depth" in config:
|
if config.get('max_depth'):
|
||||||
# lambda not supported for atlite + multiprocessing
|
# lambda not supported for atlite + multiprocessing
|
||||||
# use named function np.greater with partially frozen argument instead
|
# use named function np.greater with partially frozen argument instead
|
||||||
# and exclude areas where: -max_depth > grid cell depth
|
# and exclude areas where: -max_depth > grid cell depth
|
||||||
|
Loading…
Reference in New Issue
Block a user