H5S_source-class: H5S_source identifies an HDF5/HSDS server and manages some...

Description Usage Arguments Value Slots Note Examples

Description

This class is deprecated and will be defunct in the next release.

This function is deprecated and will be defunct in the next release.

Usage

1
H5S_source(serverURL, domain, ...)

Arguments

serverURL

a URL for a port for HDF5Server

domain

character string with path to file for HSDS

...

not used

Value

an initialized object of type H5S_source

Slots

serverURL

character string with a URL

dsmeta

DataFrame instance with metadata about content of h5serv server

dmains

DataFrame instance with metadata about the content of hsds server

getReq

DataFrame instance with metadata about hsds server

folderPath

character string with path to user's folder/file on hsds server

Note

The dsmeta slot holds a DataFrame with a column dsnames that is a list with ith element a character vector of all dsnames available for the ith group. There is no effort at present to search all groups for candidate datasets.

If the domain for the HSDS server is known, pass the domain path as a character string along with ther serverURL

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
bigec2 = H5S_source(URL_h5serv()) # h5serv 
bigec2
dsmeta(bigec2)[1:2,]       # two groups
dsmeta(bigec2)[1,2][[1]]   # all dataset candidates in group 1
hsdsCon = H5S_source(URL_hsds()) # hsds server connection
hsdsCon
getReq(hsdsCon)
setPath(hsdsCon,"/home/stvjc/hdf5_mat.h5") -> hsds
fetchDatasets(hsds)     # grab the dataset id of interest 
H5S_dataset2(hsds, "d-a9e4b71c-8ea2-11e8-9306-0242ac120022")

## End(Not run)

rhdf5client documentation built on Nov. 8, 2020, 5:55 p.m.