Select to view content in your preferred language

Model Builder - Summing daily rasters by week

398
0
04-04-2019 05:03 PM
SarahMcCabe
Occasional Contributor

I have a set of about 150 daily rasters derived from MODIS images (to start with, really 16 years worth).  I want to make a model that will take seven at a time and sum them, so there is a weekly summary.

I am working with model builder, and I think I have several sub-tasks:

  1. Select seven rasters 
  2. Run them (with Feedback) through the Sum tool
  3. Name the sum (based on the last day of my selection).
  4. Select the next seven rasters ...
  5. Until my file of rasters is empty.

I was wondering about making sure my iterator did not start at the top again.I have been messing with the raster iterator, the For tool, and have had minimal success.     Any advice?

I have been considering trying to do this with python, which is a minimal skill for me, or doing it with brute force.

0 Kudos
0 Replies