Hi Felix,
On Fri, May 03, 2013 at 04:03:26PM +0200, Felix Höfling wrote:
Am 02.05.2013, 22:57 Uhr, schrieb Peter Colberg
<address@hidden>:
>The "parameters" group is intended as a program-dependent group.
>I suggest to remove the "parameters/dimension" attribute, as it
>is in contrast to the purpose of this group. The dimension can
>be derived from, e.g., the "edges" attributes or "edges/value"
>dataset, similar to the number of particles being derived from
>"position/value" dataset(s).
>
I think we should not turn the clock back. There were good reasons
to include the dimension parameter explicitly, mainly it cannot be
inferred from scalar datasets in /observables. Recall that the box
group is not mandatory.
(It was a recent proposal, so it can be reverted without causing
trouble.)
I am definitely opposed to defining anything within the “parameters”
group. That group has been, as said, intended as program-specific.
As for the spatial dimension attribute: The idea of self-describing
datasets is one of the main benefits of using a structural format for
storing molecular data. I would rather not violate that principle.
If you need to split up your files, you could store the box group as
well, or add a custom attribute "dimension" to your observables. The
tool h5copy is quite useful for such splitting operations.
Peter