dnvgl / qats

Python library and GUI for efficient processing and visualization of time series.
MIT License
38 stars 10 forks source link

Export of database from .h5 to .h5 on Linux is buggy #110

Open eneelo opened 1 year ago

eneelo commented 1 year ago

Describe the bug On Linux, h5-file exported on Linux is corrupted when database is imported from .h5

To Reproduce Steps to reproduce the behavior:

  1. Import .h5 file produced by SIMA to qats.TsDB
  2. Export database to new .h5 file.
  3. Import .h5 file exported above.
  4. Try to extract one or more time series from the database. This will produce an error like "KeyError: 'Unable to open object (component not found)'" (error message possibly depends on whether the new .h5 file is imported on Linux or in Windows).

Expected behavior The recipe above should not produce an error.

Screenshots HOLD

Desktop (please complete the following information): HOLD

Additional context HOLD

eneelo commented 1 year ago

Inconsistencies found in qats during debugging so far:

It is unclear whether this is what causes the bug or if there are additional issues. Suggested steps to fix/identify the issue: