openPMD / openPMD-api

:floppy_disk: C++ & Python API for Scientific I/O
https://openpmd-api.readthedocs.io
GNU Lesser General Public License v3.0
138 stars 51 forks source link

Partially revert #1368 #1573

Closed franzpoeschel closed 9 months ago

franzpoeschel commented 9 months ago

That PR removed one warning that should have stayed, as it checks for the exact other direction: Opening a group-based file that uses file-based file names.

Also, treat those files as file-based despite the file-encoded claimed by the /iterationEncoding attribute. Either option is wrong anyway since the entire situation is undefined behavior, but with this change, the file is consistently treated as file-based, instead of switching to group-based midway.