Wr_HDF5_Field, Wr_HDF5_Time_Field
Synopsis
Wr_HDF5_Field creates files that can be read back with Rd_HDF5_field. Wr_HDF5_Time_ Field is similar to Wr_HDF5_Field, except that its input is a time-dependent field.
Input Port
in_field
|
Mesh+Node_Data_Opt+Cell_Data_Opt
|
ui_parent
|
user interface parent object
|
Parameters
HDF5 File Name
|
UItext
|
file name
|
Write File
|
UIbutton
|
Writes the file
|
Write Compressed
|
UItoggle
|
choose to compress the file
|
Output Port
Description
Wr_HF5_Field is the higher-level version of H5write_field. The interface is quite simple, because H5write_field has few parameters. The entire field is always written out - all node data components (if any), all cell data components (if any), etc. The user does not have the ability to write out only a part of the field.The meaning of filename typein box, the browse button, and the "Write File" button are all fairly self-explanatory. Under the write file button there is a toggle box (UItoggle) labeled "Write Compressed" If this box is checked, some of the larger arrays in the field (example node_data.values) will be written out in compressed form potentially resulting in a smaller file size. 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.Wr_HF5_Time_Field is the higher-level version of H5write_time_field. Its very similar to Wr_HF5_Field, except that its input is a time-dependent field. The user interface is exactly the same as Wr_HF5_Field. The entire field is always written out - all time steps, all node data components (if any), all cell data components (if any), etc.
Input
in_field
The input is any mesh, it may optionally contain node data, cell data, or both.
Parameters
HDF5 File Name
UItext. Use Browse or type in the name of the file
Write File
UIButton. This button must be pressed inorder for the data to be written as a HDF5 file.
Write Compressed
UItoggle. If the box is check some of the lager arrays in the field will be written out in compressed form.
Output Port
None.
Example
Not available
File
v/hdf5.v
See also related modules