[Top][All Lists]

[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)


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 Å.


Attachment: h5ex_t_vlstring.h5
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]