<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Hi, I have a dataset with dimensions time x lat x lon. I need to find the 1-D time series from a location using the corresponds lat/lon index. In some cases, the dataset has missing values for the location, in which case I want to use the nearest grid instead. Can this be done in NCL (with a function in place)?<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Thanks!<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">Xin<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><br></div></div>