I have a netcdf4 data set that contains array and information about latitude and longitude which can be accessed with the following R command:
ncvar_get(dataname, 'lon'); ncvar_get(dataname, 'lat');
dataname <- nc_open(paste(filename,".nc",sep=""))
I have another file containing the location (with latitude and longitude also) of the grid contained in
I'd like to implement interpolation (spline, kriging, etc.) using these two files but can't find any tutorial which is clear about the subject.
Could anyone guide me?
(package that should be used, I have seen
gam but examples provided are far away similar to what I want to do, practical implementation)
Thanks in advance.