Subject: Modelbuilder - Interation - raster calculator - take next raster in a folder
I made a runoff model which combines 3hourly rainfall raster data with daily soil moisture data in a raster calculator tool.
My modelling period is 30 days. So I have two folders, one with 240 (30 x 8 per day) rainfall and another one with 30 soil moisture datasets.
Thus I took the Iterator "Iterate Rasters" in the Modelbuilder and gave as input the folder with my 240 rainfall rasters. Then I put a "Raster Calculator Tools" where it should calculate with my rainfall and soil moisture data.
In other words: My model iterates one after one rainfall raster out of the folder, but cannot take another "raster container" where I takes my soil moisture rasters one after another as my raster calculator inputs after every iterator. Instead it can only take every time the same raster dataset and not a container where I take the next one after each iteration.
Has anybody an idea how to solve my problem?
I struggled with this problem for days now, so it would be a great help for me, if somebody could give me some hints how to solve this problem.