You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/ansys/dpf/core/operators/result/migrate_to_h5dpf.py
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ class migrate_to_h5dpf(Operator):
25
25
26
26
Parameters
27
27
----------
28
+
h5_chunk_size: int or GenericDataContainer, optional
29
+
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.
28
30
dataset_size_compression_threshold: int or GenericDataContainer, optional
29
31
Integer value that defines the minimum dataset size (in bytes) to use h5 native compression Applicable for arrays of floats, doubles and integers.
30
32
h5_native_compression: int or DataTree or GenericDataContainer, optional
@@ -58,6 +60,8 @@ class migrate_to_h5dpf(Operator):
document=r"""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.""",
167
+
),
154
168
-5: PinSpecification(
155
169
name="dataset_size_compression_threshold",
156
170
type_names=["int32", "generic_data_container"],
@@ -279,6 +293,8 @@ class InputsMigrateToH5Dpf(_Inputs):
r"""Allows to connect h5_chunk_size input to the operator.
360
+
361
+
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.
Copy file name to clipboardExpand all lines: src/ansys/dpf/core/operators/serialization/hdf5dpf_generate_result_file.py
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ class hdf5dpf_generate_result_file(Operator):
21
21
22
22
Parameters
23
23
----------
24
+
h5_chunk_size: int, optional
25
+
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.
24
26
append_mode: bool, optional
25
27
Experimental: Allow appending chunked data to the file. This disables fields container content deduplication.
26
28
dataset_size_compression_threshold: int, optional
@@ -55,6 +57,8 @@ class hdf5dpf_generate_result_file(Operator):
55
57
>>> op = dpf.operators.serialization.hdf5dpf_generate_result_file()
document=r"""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.""",
160
+
),
147
161
-6: PinSpecification(
148
162
name="append_mode",
149
163
type_names=["bool"],
@@ -270,6 +284,8 @@ class InputsHdf5DpfGenerateResultFile(_Inputs):
270
284
--------
271
285
>>> from ansys.dpf import core as dpf
272
286
>>> op = dpf.operators.serialization.hdf5dpf_generate_result_file()
r"""Allows to connect h5_chunk_size input to the operator.
361
+
362
+
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.
363
+
364
+
Returns
365
+
-------
366
+
input:
367
+
An Input instance for this pin.
368
+
369
+
Examples
370
+
--------
371
+
>>> from ansys.dpf import core as dpf
372
+
>>> op = dpf.operators.serialization.hdf5dpf_generate_result_file()
0 commit comments