Personal tools
You are here: Home ICTR dataformat Example to get kickstarted

Example to get kickstarted

Document Actions
Interested in using our data ? Then, be sure you read the following instructions.

To experiment with the ICTR HDF5 Lagrangian data format first you will need to have all the HDF5 libraries and executables. 

You can get them from here: http://hdf.ncsa.uiuc.edu/HDF5/

  1. Download the latest tarball file (presently: hdf5-1.6.5.tar.gz) and uncompress it on your HOME dir.
  2. Change directory: "cd hdf5-1.6.5"
  3. Configure: "./configure --prefix=$HOME/hdf5"
  4. Build: "make check"
  5. Install: "make install"
  6. Add to to your PATH environment variable: "$HOME/hdf5/bin/"

Now you are ready to get an example datafile. To get one :

  1. Anonymous ftp on sp.sp5.cineca.it as user cmprm001
  2. "cd HDF5"
  3. "get RM-2006-LIGHT-512.St0.0.h5" (notice: directory listing does not work, the example file is 100Mbytes)


At this point you may want to give a glance inside the data...:

"h5dump  RM-2006-LIGHT-512.St0.0.h5" will show the content of the HDF5

To decode in a snap the data, you may want to fetch the ICTR HDF5 myhdf5.h library for C.


To download the library myhdf5.h necessary to compile the example readout program:


http://viewcvs.cineca.it/viewvc/ictr-libs/myhdf5.h?root=ICTR


While to get the whole tar-gz with libray, example.c and Makefile :


http://viewcvs.cineca.it/viewvc/ictr-libs.tar.gz?root=ICTR&view=tar


After uncompressing it, type "make" and then run the test program "./example" 



Note:

to compile the ICTR HDF5 code under Windows XP follow the how-to
by Alex Liberzon:
http://www.eng.tau.ac.il/~alexlib/ptvwiki/pmwiki.php?n=PTV.ICTRHDF5


by Federico Toschi last modified 2007-08-06 10:29
« February 2011 »
Su Mo Tu We Th Fr Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28
Project administration
Bookings per month
Detailed bookings
Task overview
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: