Hi everyone,
I have a list of rasters named: "ih1", "ih2", "ih3", ..., "ih28" that represent the interpolated rainfall height in the corresponding time step (hour). I want to calculate the cumulative rainfall height in each time step which is the sum of the rainfall in the same step and the cumulative rain of the previous one, e.g. CumRain(i) = ih(i) + CumRain(i-1). I am trying to code this in arcpy yet the "i" thing does not work for rasters.
If you have any idea how this could be solved, let me know.
Thanks a lot !