NREL / rex

REsource eXtraction Tool (rex)
https://nrel.github.io/rex
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

Correctly extract grouped attrs #183

Closed ppinchuk closed 3 months ago

ppinchuk commented 3 months ago

Correctly extract attrs, chunks, shapes, etc. for datasets belonging to a group. This includes Resource and MultiFileResource.

This does not include the RechunkH5 class since it was not built for grouped datasets (added this as a note to the docstring) and would require more careful refactoring. This could be a future endeavor.

Did not find any other instances of reading datasets using h5py directly in rex, but it's possible I missed some. Can fix those in the same manner if/when they come up.

Also marked that BC test that keeps failing as flaky for more flexibility.