[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h5md-user] Finalization of units module
From: |
Pierre de Buyl |
Subject: |
Re: [h5md-user] Finalization of units module |
Date: |
Tue, 14 Jan 2014 14:01:34 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 14, 2014 at 01:44:22PM +0100, Pierre de Buyl wrote:
> On Tue, Jan 14, 2014 at 01:32:47PM +0100, Pierre de Buyl wrote:
> >
> > Please find attached:
> > 1. A python program to generate the xml file for use with udunits2. This
> > program
> > is not very elegant, I checked the resulting xml file and it seems to work
> > as
> > intended.
> > 2. The resulting xml file.
> > 3. Usage:
> > python generate_units_xml_file.py | iconv -t ASCII > h5md_units_SI.xml
> >
> > This use of udunits2 is purely for (i) convenience and (ii) a practical way
> > to
> > test the uses of the unit system. It does not mean in any way that we should
> > follow udunits2 practice in the development of H5MD. This is quite clear now
> > that Peter used the BIPM data to generate the unit list.
> >
>
> The handling of "degC" is not correct, I just noticed it. Fix coming, I hope.
At the expense of more special case handling, here are the updated files.
The xml file is usable with both udunits2 and Peter's lua-units program.
P
generate_units_xml_file.py
Description: Text Data
h5md_units_SI.xml
Description: application/xml
- Re: [h5md-user] Finalization of units module, Felix Höfling, 2014/01/07
- Re: [h5md-user] Finalization of units module, Konrad Hinsen, 2014/01/09
- Re: [h5md-user] Finalization of units module, Felix Höfling, 2014/01/09
- Re: [h5md-user] Finalization of units module, Pierre de Buyl, 2014/01/10
- Re: [h5md-user] Finalization of units module, Peter Colberg, 2014/01/13
- Re: [h5md-user] Finalization of units module, Pierre de Buyl, 2014/01/13
- Re: [h5md-user] Finalization of units module, Felix Höfling, 2014/01/14
- Re: [h5md-user] Finalization of units module, Pierre de Buyl, 2014/01/14
- Re: [h5md-user] Finalization of units module, Pierre de Buyl, 2014/01/14
- Re: [h5md-user] Finalization of units module,
Pierre de Buyl <=