H5read_array

Synopsis

H5read array is used to read an single array from an HDF5 field.

module H5read_array {
string+Iparam filename;
string+Iparam variable;
prim+Oparam outArr[];
omethod+notify_val+notify_inst update<status=1> =
"HDF5read_array_update";
};

Description

H5read array is used to read an single array from a HDF5 field.Its a different from the other modules in that it does *not* assume that its input is an Express field. Its analogous to NETCDF.NCread_array, which was added to XP6.0. The input parameter "variable" is simply the (full HDF path) name of the HDF5 dataset or HDF5 attribute that you want to read.

Input

filename.

string. The name of the file to read in.

variable

string. Name of the "dataset" or "attripbuet" in the HDF5 file to read in.

Output

outArr[]

prim. The output array. The type and dimensions of the array will be determined by the contents of the HDF5 file.

Example

Not available.

File

v/hdf5.v

See also

H5list_vars
H5read_field, H5read_time_field
H5write_array
H5write_field, H5write_time_field