I have a 4km gridded dataset with each grid cell value as a measurement of precipitation. I would like to update it with a point shapefile of more precise precipitation values.

Aside from converting the grid to shape and then spatially joining the data (i am looking at doing this for 7 months/year X 30 years), is there a way in ArcMap (View) or QGIS to directly update the grid cell values with the point values (where the points fall within the grid cell locations)?

1 Answer 1


It's almost always a lot more computationally efficient to convert the points to a grid and apply a conditional grid operator. This assumes--as appears to be the case in the question--that there is at most one point per grid cell (for otherwise the conversion of points to a grid is problematic with Arc* software).

All grid processing frameworks need a way to know the desired output format. Stipulate that in advance: you want the output to have the same origin, dimensions, cellsize, and coordinate system as the original gridded dataset.

ESRI software uses runlength encoding for integral grids. Thus, the conversion of a few scattered points with integral values to grid format will be extremely fast and use little RAM (or disk space if it has to be made permanent). Because even precise precipitation values are rarely given to a greater precision than 1 mm, it can streamline the computation (perhaps a lot) to convert the original grid to integer format and to round the point attribute values if need be. Change the units of measurement if you have to: for instance, if precipitation is in inches, you might convert to thousands of an inch (just multiply everything by 1000 and round). Afterwards it's a simple and fast matter to change the units back to the original ones.

Your Answer

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

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