dap | R Documentation |
this function provides a consistenet data access protocol (dap) to a wide range of local and remote resources including VRT, TDS, NetCDF
Define and get data from a DAP resource
dap( URL = NULL, catalog = NULL, AOI = NULL, startDate = NULL, endDate = NULL, varname = NULL, g = NULL, start = NULL, end = NULL, toptobottom = FALSE, verbose = TRUE )
URL |
local file path or dodC URL |
catalog |
subset of open.dap catalog |
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 |
start |
for non "dated" items, start can be called by index |
end |
for non "dated" items, end can be called by index |
toptobottom |
should data be inverse? |
verbose |
Should dap_summary be printed? |
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.
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.