2

I have 365 rasters (daily) and therefore I summed them to form an annual raster using raster calculator in Arcgis. The original cell size of daily raster is 5*3.75 (col 72, row 48), while the cell size of the annual raster is 5*5 (col 72, row 36). The cell size became larger automatically. Does anybody know why?

1 Answer 1

2

You can control the cell size from the ArcToolbox -> Geoprocessing Environment -> Cell size. Also another way to sum all rasters is to use Cell Statistics tool with SUM type for such a task. Here is an illustration from the help page:

enter image description here

1
  • Thanks for the tips. But, the problem still remains. I controlled the cell size (set as Same as the daily raster layer), and I also used arcpy (arcpy.env.cellSize = "daily raster"). They both did not work. The potential reason might be the default output resolution was determined by the coarsest of X and Y of the cell size. Even though we can set the cell size equals to X(if X<Y), I did not find a solution to control X and Y at the same time. It seems that the cell size of output raster has to be a square (X=Y). May 20, 2019 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.