You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the closest distance to the next grid point can be obtained by looking at the lat and lon value seperately.
For finding the closest grid coordinate
look at lat and lon seperately
For the index
numpy's searchsorted() may be helpful since the values are sorted. It would work for getting the index of a grid point for each coordinate (lat and lon).
I think the closest distance to the next grid point can be obtained by looking at the lat and lon value seperately.
For finding the closest grid coordinate
look at lat and lon seperately
For the index
numpy's
searchsorted()
may be helpful since the values are sorted. It would work for getting the index of a grid point for each coordinate (lat and lon).The text was updated successfully, but these errors were encountered: