A direct Dataset representation that subclasses from ThreddsNode
thredds::ThreddsNode
-> DatasetNode
name
character, often the filename
dataSize
numeric, size in bytes
date
character, modification date
Inherited methods
new()
initialize an instance of ServiceNode
DatasetNode$new(x, ...)
x
url or xml2::xml_node
...
arguments for superclass initialization
GET()
Overrides the GET method of the superclass. GET is not permitted
DatasetNode$GET()
NULL
get_url()
Retrieve the relative URL for a dataset.
DatasetNode$get_url(
service = c("dap", "opendap", "wms")[1],
sep = c("/", "")[2],
...
)
service
character, the service to use. (default 'dap' equivalent to 'opendap') Ignored if `urlPath` or `href` is in the nodes' attributes.
sep
character, typically "/" or "" (default), used for joined base_url to relative url
...
other arguments for DatasetNode$list_access
character
list_access()
list access methods
DatasetNode$list_access(xpath = build_xpath("access", prefix = self$prefix))
xpath
charcater, xpath descriptor
named list of character vectors or NULL
prefix
character, to be printed before each line of output (like spaces)
...
other arguments for superclass
clone()
The objects of this class are cloneable with this method.
DatasetNode$clone(deep = FALSE)
deep
Whether to make a deep clone.