R/dbGetClimateXY.R
climate_from_xy.Rd
Extract The climate values associated to a set of coordinates.
climate_from_xy(
long,
lat,
climate = accClimateVariables()[, 2],
resol = 0.25,
dbname = "gbif4crest_02"
)
The longitude of the site.
The latitude of the site.
The climate variables to extract the values from. Returns all possible values by default.
The resolution of the target climatology (default 0.25 degrees).
The name of the data source database.
A data frame containing the climate values.
if (FALSE) {
climate_from_xy(50, 10, c('bio1', 'ai'))
climate_from_xy(50, 10)
}