F2I-Consulting / fesapi

DevKit for ENERGISTICS™ data standards (mainly RESQML™), multi-languages (C++, Java, C#, Python)
Apache License 2.0
32 stars 24 forks source link

Search for same name HDF5 file when rel file to HDF5 fails #319

Open philippeVerney opened 1 year ago

philippeVerney commented 1 year ago

Is your feature request related to a problem? Please describe. Often, final RESQML users rename their files, both epc and HDF5. It leads to invalid RESQML files since the rel pointing to the HDF5 file points to the previously named one.

Describe the solution you'd like I would like FESAPI to honor HDF5 file rel entry but if it fails, I would like FESAPI to search for a same name HDF5 file in the same directory than the EPC. If it finds it, it should be able to open in read only mode and warns the user about the potential renaming

Describe alternatives you've considered Only warn the user.