[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 21:40:26 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Oct 17, 2013 at 02:09:45PM -0400, Peter Colberg wrote:
> On Thu, Oct 17, 2013 at 07:34:15PM +0200, Pierre de Buyl wrote:
> > It seems so. But I cannot read the attached file in Python, can you?
>
> Yup, works fine:
>
> import h5py
> f = h5py.File("h5ex_t_vlstring.h5", "r")
> print(" ".join(f["DS1"][:])) --> Parting is such sᏠsorrow
Ok, I tried to print f["DS1"][:] but then UTF8 does not display in a IPython
terminal.
> The units module could define two alternate SI notations though, one
> using short symbols and the other using long identifiers. For example,
> a symbol is "Å" (in UTF-8 encoding), and the corresponding identifier
> is "angstrom" (in ASCII encoding). The former appears more suited for
> human consumption, the latter more suited for machine consumption.
Apart from "Å", what use do you have for UTF8 in units?
> > By the way, I had to find a unicode character table to enter an Å.
>
> You are missing out! :-)
>
> There is a wonderful world of Unicode characters hidden in your
Well, it's not yet done for me. Despite a "Multi_key" setting in my .Xmodmap :-/
- [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, 2013/10/17
- Re: [h5md-user] units module, Peter Colberg, 2013/10/17
- Re: [h5md-user] units module,
Pierre de Buyl <=
- 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
- Re: [h5md-user] units module, Konrad Hinsen, 2013/10/18
- Re: [h5md-user] units module, Pierre de Buyl, 2013/10/18