closest_available_cell | R Documentation |
Determine the closest non-NA pixel given [lon,lat] and a lut raster
closest_available_cell( x = dplyr::tibble(lon = c(0.1, 0.6, 0.9, 0.1), lat = c(0.3, 0.1, 0.8, 0.9)), lut = make_raster_lut() )
x |
the data frame with lon and lat coordinates |
lut |
the raster look-up with precomputed closest non-NA cells |
tibble with lon and lat columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.