Quantcast
Channel: Forums - Geoprocessing
Viewing all articles
Browse latest Browse all 1952

Raster Iteration and Raster Calculator Model

$
0
0
I have 2 raster datasets and I am trying to iterate through a "simple" raster calculation (Precipitation Grid + Residual Grid) for several hundred rasters.
I have created one Iterator model for the Residuals and used that as a sub model embedded in the main model which has an iterator for the Precipitation and the raster calculation. I've set parameters in my sub model so that I can call it in my main model and set the output name using inline variables to verify that the the model runs a one to one raster calculation but every way I've tried this it only adds the last raster in my sub-model to each iteration of the main model. I've tired a singular workspace using wild cards and variations of sub-model iterations all with no luck. I've also tried taking it back a step to a previous model where I created the precipitation grids and tried to embed an iterator sub-model there that adds the residual grid but also with no luck. I've attached my models but perhaps I am trying to go about this the wrong way...

HOW can I perform a one to one raster calculation for several hundred rasters?

Please, any help would be appreciated.
Thanks,
Melissa
Attached Thumbnails
Click image for larger version

Name:	Rmodel.jpg‎
Views:	N/A
Size:	57.4 KB
ID:	33869   Click image for larger version

Name:	PModel.jpg‎
Views:	N/A
Size:	102.7 KB
ID:	33870   Click image for larger version

Name:	output.png‎
Views:	N/A
Size:	18.0 KB
ID:	33871  

Viewing all articles
Browse latest Browse all 1952

Trending Articles