Description Usage Arguments Details Value
Get four or sixteen nearest gridpoints for a lon/lat pair.
1 | nearest_points(coords, netcdf, data_set = "ts401", npoints = 4)
|
coords |
the coordinates to find the nearest gridpoints for as list with $lon and $lat in decimal degrees (negative for degrees west/south) |
netcdf |
the ncdf object holding the relevant data |
data_set |
the kind of data used (see ?supported_sets) for details |
The returned list of gridpoint coordinates can be used for interpolation
a list holding four or sixteen lists, with each holding a lat/lot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.