H5S_source {rhdf5client}R Documentation

H5S_source identifies an HDF5/HSDS server and manages some metadata about contents

Description

H5S_source identifies an HDF5/HSDS server and manages some metadata about contents

construct H5S_source

Usage

H5S_source(serverURL, domain, ...)

## S4 method for signature 'H5S_source,character'
x[[i, j]]

dataset(h5s, tag)

Arguments

serverURL

a URL for a port for HDF5Server

domain

character string with path to file for HSDS

...

not used

x

instance of H5S_source

i

character string intended to identify dataset on server

j

not used

h5s

instance of H5S_source

tag

character string identifying a dataset

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

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, note : if the domain is known, pass as character string
hsdsCon
getReq(hsdsCon)

[Package rhdf5client version 1.2.3 Index]