[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h5md-user] proposal 100 - update
From: |
Peter Colberg |
Subject: |
Re: [h5md-user] proposal 100 - update |
Date: |
Mon, 1 Jun 2015 15:54:16 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, May 29, 2015 at 08:46:56AM +0200, Pierre de Buyl wrote:
> But, in another likely usage, imagine that step is not linear and that
> time[i]=step[i]*DT for all values of i.
>
> My "new" extension is that if you have a non-scalar dataset for "step" and a
> scalar dataset for "time", you can compute the value in time as
> time[i]=step[i]*time
If time depends on step, I would suggest this scheme:
\-- step[Inf]
| +-- timestep: Float[]
\-- value[Inf, …]
However, to keep things simple, I would not favour this extension. If
one already goes through the trouble of writing the variable-length
step dataset, it is not much more work to write the time dataset using
the same datatype and dataspace.
Peter
- Re: [h5md-user] proposal 100 - update,
Peter Colberg <=