Hello,
I need some help about packet table using. I would like to write a matrix by appending new rows, but it doesn't work as I hope.
When I append new packet, all is add in one single column. For example:
I would like this :
1 2 3 36
2 5 8 9
.......
and not this
1
2
3
36
2
5
8
9
.
Every help will be really kind.
Thanks for paying attention
···
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
I should corrected if I'm wrong because I'm going from ancient memory:
Packets are table based. so you need to make a compound data type
using H5T for packet tables. This requires you to use a struct for
your in-memory data stucuture.
hth,
~Pete
···
On Wed, Jul 8, 2009 at 3:32 AM, <mbengue@slf.ch> wrote:
Hello,
I need some help about packet table using. I would like to write a matrix by
appending new rows, but it doesn't work as I hope.
When I append new packet, all is add in one single column. For example:
I would like this :
1 2 3 36
2 5 8 9
.......
and not this
1
2
3
36
2
5
8
9
.
.
.
Every help will be really kind.
Thanks for paying attention
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
Hello,
Create your data Type with this, "H5Tarray_create". It should work.
Cheers!!!!
···
-----
Best Regards,
Santosh
--
View this message in context: http://hdf-forum.184993.n3.nabble.com/packet-table-using-tp194321p1903080.html
Sent from the hdf-forum mailing list archive at Nabble.com.