[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h5md-user] units module
From: |
Pierre de Buyl |
Subject: |
Re: [h5md-user] units module |
Date: |
Thu, 17 Oct 2013 19:34:15 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
On Wed, Oct 16, 2013 at 11:30:32AM -0400, Peter Colberg wrote:
> On Wed, Oct 16, 2013 at 03:11:23PM +0200, Pierre de Buyl wrote:
> > The value of the units field is a text string in ASCII encoding.
>
> I hope you mean UTF-8 encoding, otherwise one needs a time machine to
> read and write H5MD. Specifically, does Fortran 90 and later support
> unicode characters in strings?
>
> udunits2: Using default XML database
> You have: 1 Å
> You want: nm
> 1 Å = 0.1 nm
> x/nm = 0.1*(x/(1 Å))
>
> udunits2: Using default XML database
> You have: 1 A
> You want: 1 nm
> udunits2: Units are not convertible
It seems so. But I cannot read the attached file in Python, can you? (dataset
'DS1'). I couldn't tell if the problem is on the Fortran or Python side.
By the way, I had to find a unicode character table to enter an Å.
P
h5ex_t_vlstring.h5
Description: Binary data
- [h5md-user] units module, Peter Colberg, 2013/10/11
- Re: [h5md-user] units module, Pierre de Buyl, 2013/10/14
- Re: [h5md-user] units module, Konrad Hinsen, 2013/10/16
- Re: [h5md-user] units module, Pierre de Buyl, 2013/10/16
- Re: [h5md-user] units module, Felix Höfling, 2013/10/16
- Re: [h5md-user] units module, Peter Colberg, 2013/10/16
- Re: [h5md-user] units module,
Pierre de Buyl <=
- Re: [h5md-user] units module, Peter Colberg, 2013/10/17
- Re: [h5md-user] units module, Pierre de Buyl, 2013/10/17
- Re: [h5md-user] units module, Pierre de Buyl, 2013/10/17
- Re: [h5md-user] units module, Peter Colberg, 2013/10/17
- Re: [h5md-user] units module, Peter Colberg, 2013/10/17
- Re: [h5md-user] units module, Konrad Hinsen, 2013/10/19
- Re: [h5md-user] units module, Peter Colberg, 2013/10/19
- Re: [h5md-user] units module, Pierre de Buyl, 2013/10/21
- Re: [h5md-user] units module, Konrad Hinsen, 2013/10/17
- Re: [h5md-user] units module, Pierre de Buyl, 2013/10/18