Apollo3zehn / PureHDF

A pure .NET library that makes reading and writing of HDF5 files (groups, datasets, attributes, ...) very easy.
MIT License
47 stars 16 forks source link

Accessing Enumeration nested within Compound Type #119

Closed rtran89 closed 1 week ago

rtran89 commented 1 week ago

Hi @Apollo3zehn Thanks for all your work. I just have a question whether there are any other way to accessing Enumeration that are stored in CompountType. I can see currently it simply returns the type with no information under it as seen below: https://github.com/Apollo3zehn/PureHDF/blob/a26c5314a953344a97871235c6982523133975aa/src/PureHDF/API.Reading/IH5DataType.cs#L83

When I debug I can see that there are further data stored within a private member _dataType. image

Apollo3zehn commented 1 week ago

I`ll release a new version with the type information exposed in ~1 hour

Apollo3zehn commented 1 week ago

v2.0.1 is being released now. It may take a few minutes until you can access it on Nuget (it needs to be indexed first).

I hope this solves your problem :-)