Skip to main content

result:migrate to h5dpf

Version: 0.0.0

Description

Read mesh properties from the results files contained in the streams or data sources and make those properties available through a mesh selection manager in output.User can input a GenericDataContainer that will map an item to a result name. Example of Map: {{ default: wf1}, {EUL: wf2}, {ENG_SE: wf3}}.

Inputs

InputNameExpected type(s)Description
Pin -7h5_chunk_sizeint32, generic_data_containerSize of each HDF5 chunk in kilobytes (KB). Default: 1 MB when compression is enabled; for uncompressed datasets, the default is the full dataset size x dimension.
Pin -5dataset_size_compression_thresholdint32, generic_data_containerInteger value that defines the minimum dataset size (in bytes) to use h5 native compression Applicable for arrays of floats, doubles and integers.
Pin -2h5_native_compressionint32, abstract_data_tree, generic_data_containerInteger value / DataTree that defines the h5 native compression used For Integer Input {0: No Compression (default); 1-9: GZIP Compression : 9 provides maximum compression but at the slowest speed.} For DataTree Input {type: None / GZIP / ZSTD; level: GZIP (1-9) / ZSTD (1-20); num_threads: ZSTD (>0)}
Pin -1export_floatsbool, generic_data_containerConverts double to float to reduce file size (default is true).If False, nodal results are exported as double precision and elemental results as single precision.
Pin 0
Required
filenamestringfilename of the migrated file
Pin 1comma_separated_list_of_resultsstringlist of results (source operator names) separated by semicolons that will be stored. (Example: U;S;EPEL). If empty, all available results will be converted.
Pin 2all_time_setsboolDeprecated. Please use filtering workflows instead to select time scoping. Default is false.
Pin 3streams_containerstreams_containerstreams (result file container) (optional)
Pin 4data_sourcesdata_sourcesif the stream is null then we need to get the file path from the data sources
Pin 6compression_workflowworkflow, generic_data_containerBETA Option: Applies input compression workflow.
Pin 7filtering_workflowworkflow, generic_data_containerApplies input filtering workflow.

Outputs

OutputNameExpected type(s)Description
Pin 0migrated_filedata_sources

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: result

Plugin: core

Scripting name: migrate_to_h5dpf

Full name: result.migrate_to_h5dpf

Internal name: hdf5::h5dpf::migrate_file

License: None

Changelog

  • Version 0.0.0: Initial release.