Jonathan,

Importing data will not extend the size of a dataset, only copies the data to the
current size.

Try to set the current size to 10 when you creating the dataset.

Thanks
--pc

On 12/3/2010 12:13 PM, Hillman, Jonathan E wrote:
Thanks for replying... this is the path I thought would let me create a test 
HDF5 file with 4 datasets and importing
data from a file...

HDFView:
1) New ->  HDF5 (Test.h5)
2) Right click on Test.h5, New ->  Dataset
    Dataset Name: Sensor1
    Datatype class: Float, Size: native, Byte ordering: native
    Number of diminsions: 1, Current size: 1, Set max size: unlimited
    Storage layout: Contiguous
    No compression
3) added 3 more datasets similarly as above, Sensor2, Sensor3, Sensor4
4) selected item 0
5) Double-click on Sensor1 dataset
6) From Sensor1, Table ->  Import Data from File, open the selected file
    containing 10 measurements: 0.00 0.01 0.03 0.30 0.60 0.99 1.11 1.21 1.74 
1.88
    "Do you want to paste selected data?"<Yes>

Nothing happens. I was expecting (hoping for) imported data to populate the 
1-dim table.

Was this a bogus approach?

Thanks again,  :-)

Jonathan


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Peter Cao
Sent: Friday, December 03, 2010 11:56 AM
To: HDF Users Discussion List
Subject: Re: [Hdf-forum] Creating HDF5 file with HDFView

Hi Jonathan,

Could you be more specific how you did it?

Thanks
--pc

On 12/3/2010 11:22 AM, Hillman, Jonathan E wrote:
I am trying to create a trivial HDF5 formatted file with HDFView. I created 4 
datasets of single diminsion with 1 item and unlimited max size each for 
testing.
I assumed I could load the data using import data from file, but that doesn't 
seem to work.

Am I attempting to do something not intended?   Otherwise what approch should I 
use?

Thanks,

Jonathan


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org



_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to