My data in HDF5 | My data in HDF | My data in netCDF |
Saving my data in HDF5 format |
This page presents a tutorial of how to save data in the HDF5 format. The example programs, together with sample files and a Visual C++ project file are available for download.
|
|||||||||
This example shows how to convert data from a real database available to the scientific community,
the Mediterranean Oceanic Data Base(MODB).![]() This C program, modb2hdf5.c reads a file in MODB format (an ASCII text file) and saves it in HDF5 format. The MODB data contains measurements of salinity and temperature for 34 layers in the Mediterranean Sea. This image shows the HDF Explorer map of one of the layers. The fill values of the MODB file were transformed in HDF5 fill values and are showed in grey color in the image. The generated modb.h5 HDF5 file can also be opened online with HDF Explorer. These files, together with a project file and examples are available with the distribution of HDF Explorer. Other examples available in the project are
|
© 2000-2012 Space Research Software LLC | Contact Information | Home