[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h5md-user] Modules
From: |
Peter Colberg |
Subject: |
Re: [h5md-user] Modules |
Date: |
Wed, 18 Sep 2013 22:13:47 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Sep 18, 2013 at 05:27:14PM +0200, Konrad Hinsen wrote:
> OK, here's a proposition. I have added a version number to Olaf's
> original specification. Everything is likely to change with time, so
> version numbers have their use.
>
> The storage of module information is of course debatable. I like
> tables using compound data types, but others hate them. Personally I
> don't really care, so if someone sees a good reason to store the
> information otherwise, that's fine with me.
Then, how about using one subgroup per module, as follows:
------------------------------------------------------------
Modules
The H5MD specification can be complemented by domain-specific modules,
which add conditions that the data in the H5MD file must satisfy,
and rules for the semantic interpretation of the data. A single
trajectory can use multiple modules, as long as their prescriptions
are not contradictory. Each module is identified by a name and a
version number.
The modules that apply to a specific H5MD file are stored as subgroups
within the group h5md/modules. A module holds as an attribute the
version number stored as an integer.
h5md
\-- ...
\-- (modules)
\-- <module1>
| +-- version
\-- <module2>
| +-- version
\-- ...
------------------------------------------------------------
The use of subgroups supports adding module-specific attributes. For
a unified "units" module, for example, the specific unit system could
be specified as a module attribute, e.g.,
h5md
\-- ...
\-- (modules)
\-- units
+-- version
+-- system
where "system" contains, e.g., the string "SI" for SI units. But I
will write no further on the topic of units, since I am not qualified
as a user of Lennard-Jones units…
Peter
- [h5md-user] Developer's Meeting?, Olaf Lenz, 2013/09/10
- Re: [h5md-user] Developer's Meeting?, Pierre de Buyl, 2013/09/13
- Re: [h5md-user] Developer's Meeting?, Konrad Hinsen, 2013/09/17
- Re: [h5md-user] Developer's Meeting?, Peter Colberg, 2013/09/17
- Re: [h5md-user] Developer's Meeting?, Konrad Hinsen, 2013/09/18
- Re: [h5md-user] Developer's Meeting?, Peter Colberg, 2013/09/18
- [h5md-user] Modules, Konrad Hinsen, 2013/09/18
- Re: [h5md-user] Modules,
Peter Colberg <=
- Re: [h5md-user] Modules, Konrad Hinsen, 2013/09/19
- Re: [h5md-user] Modules, Peter Colberg, 2013/09/19
- Re: [h5md-user] Developer's Meeting?, Peter Colberg, 2013/09/18
- [h5md-user] H5MD example files, Peter Colberg, 2013/09/19
- Re: [h5md-user] H5MD example files, Pierre de Buyl, 2013/09/19
- Re: [h5md-user] H5MD example files, Pierre de Buyl, 2013/09/19
- Re: [h5md-user] H5MD example files, Peter Colberg, 2013/09/19