I am trying to calculate a con function for a couple hundred rasters (Meridional and Zonal raster data for wind, each being their own raster file). Is there a way to use model builder with the raster calculator and do a loop to go through all the files? I know I need to start off with the iterate raster input; but am lost after that. Also, the files are different: Zonal_04_01_2011_0000 and Meridional_04_01_2011_0000 (for each hour through 2300). each con function uses the zonal and meridional files. If there is a way to do a batch in model builder, when the function continues onto the next files, will it automatically use the files for the 0100 hour meridional and zonal? I hope all this makes sense. I have also looked up ways to do this and a lot of them use python, however, I do not know any python. So if there is a way to compute this without python, that would be great.
using this con function within rater calculator:
Con(("Zonal_4_01_2011_0000.tif" < 0) & ("Meridional_4_01_2011_0000.tif" >= 0), 180- ((ATan(("Meridional_4_01_2011_0000.tif")/("Zonal_4_01_2011_0000.tif"))*57.296), Con(bla bla bla with the same files))
The last four digits in the files are the hour: 0000 is midnight and the files go to 2300 hours.
I need the model builder to go through each of the hours and output a raster file. So after the function goes through the "Zonal_4_01_2011_0000.tif" and "Meridional_4_01_2011_0000.tif" files, the next ones to be used at the same time are "Zonal_4_01_2011_0100.tif" and "Meridional_4_01_2011_0000.tif".