Best CDO commands for spatial interpolation
Added by Giorgio Sperandio about 4 years ago
Dears,
I am working with hourly data on wheather (air temperature, rainfall) and soil (soil humidity and soil temperature) downloaded from the ERA5 land hourly database.
I am interested in the Italian domain and I would like to interpolate these data to a non regular grid (i.e. a set of scattered points).
Please, could you suggest me some methods and commands that suits best with the different type of variables?
I know that the commands remapdis or remapnn can be helpful when re-gridding to a set of scattered point, but I was wondering wether they might be used with all the different variables that I would like to interpolate.
Thank you very much for the support.
Best,
Giorgio
Replies (2)
RE: Best CDO commands for spatial interpolation - Added by Ralf Mueller about 4 years ago
hi! Giorgio!
I think all interpolations should work except the conservative and the area-weighted remapping because both need tar cells with an area.
by default the interpolation works on all variables of the given input file. if you like to apply certain interpolations to certain variables, you have to select them first like this:
cdo -remapdis,ItalyGrid.txt -selname,rainFall <ifile> italy_rain.nc cdo -remapbil,ItalyGrid.txt -selname,temperature <ifile> italy_temp.nc
cheers
ralf
RE: Best CDO commands for spatial interpolation - Added by Giorgio Sperandio over 3 years ago
Dear Ralf,
Thank you very much for your reply.
Best,
Giorgio