openPMD-viewer icon indicating copy to clipboard operation
openPMD-viewer copied to clipboard

Cannot set `meshesPath` to `"."`

Open mccoys opened this issue 1 month ago • 1 comments

Hi,

In my interpretation of the standard, it should be possible to set the meshesPath (or actually the particlesPath for that matter) to "." so that the meshes are stored directly in the basePath. I know this might cause some issues in the case where there are particle records: the parser could not distinguish meshes from particles.

However, it does not seem accepted by the viewer. My guess is that there is no path resolution taking place, but it might also have been done on purpose. In the latter case, this would require a change in the standard to explain that these paths should be without . or .. placeholders.

I would also like to suggest that the standard should require particlesPath and meshesPath to be different.

mccoys avatar Jan 16 '25 08:01 mccoys