I have two grids.
One, call it A, is 4320x2160 cells and spans the whole globe.
The other, call it B is 8640x3432 and spans the circumference of the globe, but is clipped toward mid-latitudes.
Both files are in ArcGrid ASCII format. The clipped file has a header of:
Looking at the grids in QGis, I see that the B contains four cells for every cell of A.
I would like to sum each group of four cells in B to create a new grid that overlays directly with A and has a one-to-one correspondence of cells.
Is there a way to do this in Linux using either Python or command line only tools?