remapnn problem with missing values
Added by Alvaro Santamaría over 12 years ago
Hello,
I'm trying to extract the value of the nearest grid point to a given lon/lat coordinates.
I'm using remapnn, but for some locations it extracts the FillValue as no other valid value is closer.
Is there a way to extract the nearest valid grid point from a given location?
Thanks in advance,
Alvaro.
Replies (2)
RE: remapnn problem with missing values - Added by Alvaro Santamaría over 12 years ago
Hello,
I have managed to extract the mean value (where missing points are not considered) of a small area near the point of interest.
Yet an operator to extract the closest single point with a valid value would be worth implementing.
Very good tool anyway.
Alvaro.
RE: remapnn problem with missing values - Added by Maryam Tabatabaee over 3 years ago
Hello
I had the same problem. As I extracted time series for a set of points, it missed the value for some lon/lat coordinates. I solved this problem with rounding the lon/lat decimal values to 4 decimals places.
I hope it work for everyone that has the same problem
Mary.