Skip to main content
Namespace: Ans.DataProcessing.operators.result

Summary

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}}. available inputs: h5_chunk_size (Int32, GenericDataContainer) (optional), dataset_size_compression_threshold (Int32, GenericDataContainer) (optional), h5_native_compression (Int32, DataTree, GenericDataContainer) (optional), export_floats (bool, GenericDataContainer) (optional), filename (string), comma_separated_list_of_results (string) (optional), all_time_sets (bool) (optional), streams_container (StreamsContainer) (optional), data_sources (DataSources) (optional), compression_workflow (Workflow, GenericDataContainer) (optional), filtering_workflow (Workflow, GenericDataContainer) (optional) available outputs: migrated_file (DataSources)

Example

Class Information

Inputs

h5_chunk_size

Size 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. Type: LinkableInput

dataset_size_compression_threshold

Integer value that defines the minimum dataset size (in bytes) to use h5 native compression Applicable for arrays of floats, doubles and integers. Type: LinkableInput

h5_native_compression

Integer 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)} Type: LinkableInput

export_floats

Converts 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. Type: LinkableInput

filename

filename of the migrated file Type: LinkableInput

comma_separated_list_of_results

list of results (source operator names) separated by semicolons that will be stored. (Example: U;S;EPEL). If empty, all available results will be converted. Type: LinkableInput

all_time_sets

Deprecated. Please use filtering workflows instead to select time scoping. Default is false. Type: LinkableInput

streams_container

streams (result file container) (optional) Type: LinkableInput

data_sources

if the stream is null then we need to get the file path from the data sources Type: LinkableInput

compression_workflow

BETA Option: Applies input compression workflow. Type: LinkableInput

filtering_workflow

Applies input filtering workflow. Type: LinkableInput

Outputs

migrated_file

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • h5_chunk_size (object)
  • dataset_size_compression_threshold (object)
  • h5_native_compression (object)
  • export_floats (object)
  • filename (object)
  • comma_separated_list_of_results (object)
  • all_time_sets (object)
  • streams_container (object)
  • data_sources (object)
  • filtering_workflow (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config