HighFive icon indicating copy to clipboard operation
HighFive copied to clipboard

HighFive - Header-only C++ HDF5 interface

Results 70 HighFive issues
Sort by recently updated
recently updated
newest added

It's seems that a C array of C-string constants is serialized as an array of signed 8-bit ints. See, ``` $ h5dump -R build-2.5.1/tests/unit/h5_rw_vec_shortcut_test.h5 HDF5 "build-2.5.1/tests/unit/h5_rw_vec_shortcut_test.h5" { GROUP "/" {...

v3

Currently, getID() returns an ID with the raw type `h5id_t`. Besides being against the convention of wrapping internal types, the reverse operation (opening object from ID) would be unsafe. It...

One should check that the unit-tests cover all the cases of empty `std::string`s. These include: * single empty string. * container of empty strings. * empty container of strings. *...

The addition of `mdspan` to the STL is extremely interesting for HPC applications. Our applications/libraries might finally be able to talk to each other. Hence, HighFive should support this type.

enhancement

Write-read cycles have the flaw that they can't detect certain bugs, e.g. if the array is column-major instead of row-major a simply write-read cycles using always the same types, wont...

testing

HighFive uses `H5T_CSET_ASCII` for character encoding everywhere except in function `create_string(size_t length)` inside H5DataType_misc.hpp where `H5T_CSET_UTF8` is used as a default encoder. This might lead to some inconsistencies.

String
v3

The macro `_H5_STRUCT_PADDING` should be converted to a regular function with some legal name; and then tested.

The code in question is: ```c++ template inline bool NodeTraits::_exist(const std::string& node_name, bool raise_errors) const { SilenceHDF5 silencer{}; const auto val = H5Lexists(static_cast(this)->getId(), node_name.c_str(), H5P_DEFAULT); if (val < 0) {...

Datasets can have attributes, and one can set attribute phase change thresholds for datasets, via dataset creation property lists. Currently, HighFive only allows group creation property lists.

Hello, I want to read an HDF5 file with unknown structure. Afaik, HighFive does not provide any iteration mechanism, so I iterate myself. Still, when I encounter dataset, I don't...