Define and get data from a DAP resource

dap(
  URL = NULL,
  catolog = NULL,
  AOI = NULL,
  startDate = NULL,
  endDate = NULL,
  varname = NULL,
  verbose = TRUE
)

Arguments

URL

local file path or dodC URL

catolog

subset of open.dap catolog

AOI

sf object

startDate

start date (YYYY-MM-DD)

endDate

end date (YYYY- MM-DD)

varname

name of variable to extract. If NULL, then get all

verbose

Should dap_summary be printed?

Value

data.frame

Details

Wraps dap_get and dap_crop into one. If AOI is NULL no spatial crop is executed. If startDate AND endDate are NULL, no temporal crop is executed. If just endDate is NULL it defaults to the startDate.