re-sampling 2d DEM data into a regular local-level array I’m a late-in-life learner of code, so please be gentle.