Skip to content

No standard-conforming way to define a Series that only has meshes (resp. particles) in some iterationsΒ #253

@franzpoeschel

Description

@franzpoeschel

Issue first noticed while working on this PR for the openPMD API.
Quoting the technical files on meshesPath and particlesPath:

  • note: if this attribute is missing, the file is interpreted as if it contains no mesh records! If the attribute is set, the group behind it must exist!
    […]
  • note: if this attribute is missing, the file is interpreted as if it contains no particle records! If the attribute is set, the group behind it must exist!

Since both these attributes live at the root level of the hierarchy and cannot be defined specifically per iteration, this makes it impossible to have a Series where only some, but not all iterations contain meshes/particles. If I'm not mistaken, this holds true for file-based as well as group-based iteration layout.
So, I suggest replacing

the group behind it must exist

with

the group behind it may or may not exist

Reading software would then need to check for group existence.

Metadata

Metadata

Assignees

Labels

major changenon-backwards compatible change

Type

No type

Projects

Status

Proposed

Relationships

None yet

Development

No branches or pull requests

Issue actions