Crop an OpenDAP resource file to a given AOI and time bound
dap_crop(
URL = NULL,
catolog = NULL,
AOI = NULL,
startDate = NULL,
endDate = NULL,
varname = NULL,
verbose = TRUE
)
local file path or dodC URL
subset of open.dap catolog
sf object
start date (YYYY-MM-DD)
end date (YYYY- MM-DD)
name of variable to extract. If NULL, then get all
Should dap_summary be printed?
data.frame
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.