GetValueAtPoint: GetValueAtPoint

Description Usage Arguments Value Examples

View source: R/SkyWiseNetCDF.R

Description

Returns the value of a grid at a given lat/lon

Usage

1
GetValueAtPoint(search_lat, search_lon, grid)

Arguments

search_lat

the latitude to find

search_lon

the longitude to find

grid

the grid containing the variable retrieved from the ExtractGrid call

Value

the value contained in the grid at the closest lat/lon matching point

Examples

1
## Not run:  val <- GetValueAtPoint(35, -97, grid) 

wdtinc/SkyWiseNetCDFR documentation built on May 30, 2019, 8:21 a.m.