[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read data subsets from HDF5

From: Francesco Potortì
Subject: Re: read data subsets from HDF5
Date: Tue, 28 Sep 2010 16:53:48 +0200

Please do not write in html on this list.

>>>octave:10> fieldnames(mag.lines._10.SECOND)
>>>ans =
>>> [1,1] = _0
>>> [2,1] = C
>>>octave:12> mag.lines._10.SECOND.C(1,1)
>>>ans = 62327
>>>Sorry for this long list: There are many mag lines which contain data c  
>>>consisting of columns (double), SECOND for time. (1-column-data sets)
>>>How can I read _selected_ channels like SECOND of line "10" into an array  in
>>>octave? Not the whole structure?
>>mag.lines._10.SECOND.C is an array, if I am not wrong. Is that what you want?

>Correct. C is just an alternative link for the time data set, besides a
>version number.
>Besides "10" are a number of other lines which I don't want to read.
>Besides "SECOND" are a few more channels which I would like to see like
>"height" etc.

So you have an answer to your original question?

Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:

reply via email to

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