Skip to contents

gridMET is a dataset of daily high-spatial resolution (~4-km, 1/24th degree) surface meteorological data covering the contiguous US from 1979-yesterday. These data are updated daily.

Usage

getGridMET(
  AOI,
  varname,
  startDate,
  endDate = NULL,
  verbose = FALSE,
  ID = NULL,
  dryrun = FALSE
)

Arguments

AOI

an sf of SpatVect point or polygon to extract data for

varname

variable name to extract (e.g. tmin)

startDate

a start date given as "YYYY-MM-DD" to extract data for

endDate

an end date given as "YYYY-MM-DD" to extract data for

verbose

Should messages be emited?

ID

a column of unique identifiers

dryrun

Return summary of data prior to retrieving it

Value

if AOI is polygon a list of SpatRasters, if AOI is a point then a data.frame of modeled records.