H5write_field is a basic writing module. H5write_time_field is similar to H5write_field except that it writes out time-dependent fields.
module H5write_field {
string+Iparam filename;
string+read+IPort2 h5root = "/";
int+read+IPort2 newfile = 1;
int+read+IPort2 compress = 0;
Mesh+Node_Data_Opt+Cell_Data_Opt+Iparam &inFld;
omethod+notify_val+notify_inst update<status=1> =
"HDF5write_field_update";
};
module H5write_time_field {
string+Iparam filename;
string+read+IPort2 h5root = "/";
int+read+IPort2 compress = 0;
group+Iparam &inFld {
int nspace;
int nnodes;
int nsteps;
double time[nsteps];
};
omethod+notify_val+notify_inst update<status=1> =
"HDF5write_time_field_update";
};
The basic field writing module. It has only a few parameters; a filename parameter, a connection for the input field, the newfile flag and the compress flag. The entire field is always written out. There is no way to only write a subset of the field. The resulting files can be read back in with H5read_field, or Rd_HDF5_Field The files can also be examined with tools such as 'h5dump'. Note the effectiveness of data compression will vary widely from dataset to dataset. As a rule of thumb, floating point data will compress poorly. Also, using subsetting operations (crop/downsize) when reading a compressed dataset can be extremely slow.H5write_time_field is similar to H5write_field except that it writes out time-dependent fields. All time steps will be written out. Inputs and outputs are the same as H5write_field except that inFld is a time-dependent fields.