I've been trying to build a model in model builder (ArcGIS 10.1) which can do the following task:
I have a folder full of ca. 16,000 raster files (.asc) representing mean temperatures for each day of 40+ years with names like 19800101, 19800102 (first two days of January 1980) etc. Now I want:
- import each .asc to raster
- reclassify each raster (e.g. temperature x = 0, temperature y = 1)
- do a weighted sum of all rasters of one year (to get the number of all days with temperature y)
- write resulting yearly rasters to a different folder
I tried different things but nothing worked for the whole process. I can get 1) and 2) working in a model but fail to do 3) and 4) along with it automated and had to do it by hand which is very time consuming. I suppose it comes down to using different iterators, but I just can't find a way to get it working for days now. I'm a little desperate by now :)
Does anyone of you can point me in the right direction for doing this task automated and efficient in model builder? Help would be very much appreciated. Thank you.