H5write_array

Synopsis

Write a single array to a HDF5 file.

module H5write_array {
string+Iparam filename;
string+Iparam variable;
int+read+IPort2 newfile = 1;
prim+Iparam inArr[];
omethod+notify_val+notify_inst update<status=1> =
"HDF5write_array_update";
};

Description

Write a single array to a HDF5 file.

Input

filename

string. The name of the file to read in.

variable

string. Name of the "dataset" in the HDF5 file to write out.

newfile

int. If 1 overwrite any pre-existing file with same name. if 0, merge new data elements into existing file.

inArr[]

prim. The array to write out.

Output

none

Example

Not available.

File

v/hdf5.v

See also

H5list_vars
H5read_field, H5read_time_field
H5read_array
H5write_field, H5write_time_field