[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: |
Fri, 20 Dec 2013 15:12:32 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Dec 20, 2013 at 02:47:55PM +0100, Pierre de Buyl wrote:
> I attach a modified udunits2 database that happily understands all that is
> found
> in the 'units' module. For those who have lua-units installed, the following
> line should replace the corresponding in the original h5md.lua file.
>
> local system = units.read_xml('udunits-h5md/udunits2.xml')
>
> There is a commented-out line, however: -- assert(U"C"== N"coulomb") does not
> pass :-/
I attach also the modified "h5md.lua" file here.
h5md.lua
Description: Text document