Skip to content

Conversation

@philippeVerney
Copy link
Member

No description provided.

Use License-Expression instead. See PEP 639.
Replaces multiple type-specific pushBack*Hdf5Array*OfValues methods with a set of templated functions for pushing integer arrays of various types and dimensions. The previous pushBack*Hdf5Array*OfValues are still there but are flagged as deprecated.
Updates tests and SWIG interface to cover all integer types (signed and unsigned, 8/16/32/64 bits). Simplifies and unifies the API for pushing integer property values, improving maintainability and extensibility.
Example : Fix k gaps grid parsing (no more invalid read)
Example : Adds checks to ensure K gaps are only processed when there are enough K layers
Bump actions/checkout to v5, actions/setup-java to v5, and actions/upload-artifact to v4. Also update pypa/cibuildwheel to v3.1.4 for all relevant jobs to ensure compatibility and benefit from the latest improvements and security fixes.
Replaces fatal errors with warnings when the preferred HDF5 (parallel or serial) version is not found, allowing the build to continue instead of stopping.
Relates to #362
Changed PDB file installation to apply only for MSVC and shared library builds, addressing compatibility and awaiting upstream CMake issue resolution.
Fix partially #362
[C++] Replaces type-specific property array methods with generic pushBackArray* and getArrayOfValuesOfPatch template methods in example.cpp.
Can now get/set and compute statistics when reading/writing these arrays (RESQML2.0.1 only support min and max statistics).
[SWIG] Rename pushBack*Hdf5ArrayOfValues by pushBack*ArrayOfValues (i.e remove Hdf5)
Introduced getTimestampAsIsoString to TimeSeries, allowing retrieval of timestamps as ISO strings with optional time component.
Enhanced the readArrayNdOfValues method to check if the target HDF5 dataset is empty before attempting to read, throwing exceptions for empty or inaccessible datasets. Also improved error handling for dataspace and dataset closing operations.
Replaces unsigned int patchIndex parameters with uint64_t for consistency with RESQML schema datatype.
Enhances type safety and error handling for integer array deserialization by using std::clamp and type checks for signed and unsigned types. Improves overflow and underflow detection, and ensures correct value assignment for constant, range, and lattice arrays. Also fixes a minor type issue in AbstractHdfProxy and corrects a namespace closure in AbstractValuesProperty.
@philippeVerney philippeVerney merged commit 8ad484b into master Oct 28, 2025
15 of 26 checks passed
@philippeVerney philippeVerney deleted the dev branch October 28, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants