Qu

h5read

Builtin index · File I/O

result = h5read(path, dataset)

Input: path, dataset · Output: result

What it is

Reads one dataset from an HDF5 file with a built-in pure-Rust reader (no HDF5 library needed). dataset is its path inside the file, e.g. "/results/trace".

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = h5read(path, dataset)
path —not documented yet
dataset —not documented yet
result number, vector, matrix, string, or scalar
Returns a number, vector or matrix (integers and floats become numbers; HDF5 stores row-major, so a 2-d dataset keeps its shape), a string for a scalar string dataset, or a list of strings for a 1-d one. Contiguous, compact and chunked storage with the deflate, shuffle and fletcher32 filters are supported. Anything else -- compound, array or reference types, other filters (szip, LZF, Blosc, ...), dense link storage, external links -- is an error that names it; datasets over 2^27 elements are refused. *Added in v0.4.7*

Examples

No documentation example calls this form yet. The File I/O chapter is where one belongs.