CDORemap with startR
I'm trying to load and directly interpolate data through the startR function, but I don't manage to do it correctly.
The resulting dataset keeps its original lon/lat but when you print the attr(data_init_interp, 'Variables')$dat1$lat or lon, it gives you what the correct (interpolated) lon/lat. The extra lon/lat from the initial grid are just filled with NaN in the resulting dataset.
When I plot the associated climatology with PlotEquiMap, it gives me indeed a 2D lon/lat maps in the bottom left of the map with the other grid-points filled of NaN.
You can find the script here: /home/Earth/acarreri/Scripts_tuning_exp/Test_startR_CDOremap.R
What am I doing wrong?