Hi everyone,
from a 2D simulation output, I want to combine the depth (dynamic) and duration layers as variables in the raster calculator. My goal is to mask out cells from the duration layer when they are flooded >2m for at least 10 consecutive days (my simulation is 365 days). So something like:
If depth in a cell is >=2m for >=10 consecutive days return NA for corresponding cell in duration layer
or something like:
If depth in a cell is >=2m for >=10 consecutive days return 1, else 0
so I can have a binary raster layer that could serve as a mask layer. The problem is that I have unfortunately no skills in coding. Can someone maybe help me out with the script?
Any help would be highly appreciated!
Thank you and kind regards,
Mark