Dear colleagues.
I've a netcdf file (variable:temperature monthly data for country Size: 17x30x248 Dimensions: lon,lat,time).
I would like to use interpolation with a goal to calculate a value in the centre of each province in the counrty.
To do this, we have to find the 4 points closest to the center on the grid .Maybe,it's possible to use a linear combination.
Could you tell me please,maybe you can to suggest me some code?(preferably,Mathlab or R).
Thank you very much