View source: R/get_max_eto_at_location.R
get_max_eto_at_location | R Documentation |
Extract maximum reference evapotranspiration (max ETo) values for one or more locations of interest, using data from the dataset provided by Dias (2018).
get_max_eto_at_location(img, lat, long)
img |
SpatRaster with the maximum reference evapotranspiration (ETo) grid downloaded from max_eto_grid_download. |
lat |
Numeric. Latitude of the location in decimal degrees. |
long |
Numeric. Longitude of the location in decimal degrees. |
A 'data.frame' object containing the maximum reference evapotranspiration (ETo) values per pair of coordinates.
Roberto Filgueiras.
## Not run:
# Visualize Brazilian states (optional)
max_eto_df <- get_max_reference_eto_by_location(img,
long = c(-51.95, -43.23),
lat = c(-23.52, -21.34))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.