hdf images hdf images

HDF5 FAQ -- Questions About the Software

ATTRIBUTES


C++


DATASETS


DATASPACE


DATATYPES


EXTERNAL LIBRARIES


ERROR


FILE


FORTRAN


GENERAL


GROUPS


IDENTIFIERS


IMAGES AND PALETTES


INSTALLING/BUILDING HDF5


(For Fortran issues, see FORTRAN)

JAVA


PARALLEL HDF5


PERFORMANCE


PLATFORM SPECIFIC


PROPERTIES


UTILITIES


ATTRIBUTES


When would you use attributes vs. datasets for your metadata ?


When would you use attributes vs. compact datasets ?


C++


Does C++ support stream operators?


Does it do IO via standard library containers?


DATASETS


How do I find out what compression has been used to write a dataset?


How do I create a chunked/compressed dataset?


How do I read/write a subset or sub-sample of a dataset?


When you specify memspace and filespace for H5Dwrite and H5Dread does it mean it is allocating memory for both the dataset and memory space (ie. twice the size of dataset) ?


DATASPACE


Can you subset or select hyperslabs from a compressed dataset?


DATATYPES


Why was the H5T_ARRAY created ? What is it for ?


How can you tell if two datasets share their (named, committed) datatype?


How do I create a String attribute or dataset?


How do you create datasets with a time datatype (class of H5T_TIME)?


When do you use pre-defined standard vs. native datatypes?


Does HDF5 support a boolean datatype ?


What are the plusses and minusses of using compound datatypes ?


Information on using bitfields in HDF5


How would you use a float pointer in a compound datatype ?


H5Tenum_insert returns error when type has different endianess


When reading compound data from file w/different compound field name, the data is different for this field.


What is the proper way to allocate memory when reading a variable length datatype?


Is there a limit on the number of fields allowed in a compound datatype ?


EXTERNAL LIBRARIES


I build the SZIP library from source using the Intel compiler (icc), but the gentest fails when I run make check.

How to detect the SZIP encoder at run time


ERROR


The error report prints out full path for file name instead of file name only


How do you turn off error messages ?


FILE


Can you open a file, open a group, close the file, and continue working on a group ?


How can I resolve file access problems due to objects being left open?


FORTRAN


How do you create a dataset with a 16-bit datatype in F90 ?


How do you build HDF5 using gcc and either Intel or Lahey Fortran ?


Can you build shared Fortran libraries in HDF5 ?


GENERAL


Do you have example code of reading an HDF5 file?


Can you delete objects in an HDF5 file ? If yes, how ?


Does HDF5 support meshes ?


Does HDF5 support netCDF ?


How do you create files over 2GB ?


Is HDF5 threadsafe? Multi-threaded? Explain.


Why are my files sizes different, if I open an HDF5 file more than once rather than writing the data out in one call?


I'd like to access an HDF5 file without using the HDF5 library. Is this possible?


Will data manipulation routines be added to HDF5?


Given an object binary file such as libhdf5.a or a.out, how can I easily determine which version of HDF5 is being used (aka linked)?


Given a library file such as libxyz.a that calls HDF5 functions, how can I easily determine which version of HDF5 is being used to build (aka compile) libxyz.a?


My HDF5-1.4 library cannot read files created with 5-1.6.0


Can you read an HDF5 while it is being written to?


Performance-wise, how does HDF5 compare to a relational database?


If you run an application twice on the same machine will it produce identical HDF5 files ?


Can you guarantee that a zero will not be used as a valid hid_t ?


GROUPS


H5Gget_obj_info: How do you tell the difference between a soft and hard link? If my reader reads an HDF5 file with a loop in it, then my code goes into an infinite loop, also.


Iterating (H5Giterate) takes a long time when you have lots of objects. Can this be sped up?


IDENTIFIERS


How do you get the name of an object opened with H5Rdereference?


IMAGES AND PALETTES


How do you store a true color image in HDF5 ?


What kind of palettes are supported?


If you have an X by Y image in Z bands how would you store that in HDF5 ?


How do you save an image made from (r,g,b) floating point values?


INSTALLING/BUILDING HDF5


Having problems building an application with pre-built libraries.


Building Fortran application with Intel Fortran, get "/lib/libimf.so : warning feupdateenv is not implmented"


How can you determine what compiler/flags are used by an HDF5 installation?


The mtime test fails with the message 'Old modification time incorrect.', when building with an unsupported platform/compiler


Can't open shared library: /lib...s#.0


Gets -DPIC error building HDF5 on AIX w/F90


Tests fail when building HDF5 on HP-UX 10.20


How to build HDF5 Fortran with Intel Compilers


Building on MAC OSX, the symbols restFP and saveFP come up as undefined. Why?


Float to Conversion Tests Fail on AMD with Intel compiler. Why?


Building 5-1.6.2(3) using Intel 8.1, get ULLONG_MAX error.


AIX Configure failure: "...config.sub: too many arguments"


Using Purify on HDF5 library, get uninitialized memory read error


When Building HDF5, the Object Header test, "Testing message deletion", fails.


Building on AIX 64-bit, get: ERROR: No csects or exported symbols have been saved.


JAVA


Java error: can't find HDF5 file format


How do you read/write a string dataset in Java?


Data values are reversed/swapped/transposed in HDFView. Why?


Do you support Java 64-bit with HDF-JAVA?


What are the limitations of the HDF Java interface?


What kind of palettes are supported in HDFView?


java.lang.UnsatisfiedLinkError: no jhdf5 in java.library.path


Will you be adding a pure Java interface to HDF5?


Installing HDFView, cannot open shared object files


What are the issues regarding replacing the JNI?


Is parallel HDF5 supported with java?


Can HDFView handle bit-field data?


Can't get HDFView to work on HP-UX


HDFView installs properly on Mac but crashes when selected


HDFView: connection time out errors running behind a firewall


Will HDFView be supporting variable length strings soon?


How do you increase the Java Virtual machine memory?


Get EXCEPTION_ACCESS_VIOLATION when more than 1024MB is allocated to the Java Virtual machine.


How to workaround error Exception - dataset too big ?


Error - variable HDF5CDataTypes not found


Do you have an example of writing/reading compound datatypes in java?


How do you insert JAR files into JBuilder ?


Wrong version is shown for HDFView on Mac


PARALLEL HDF5


What do you need to run Parallel HDF5 ?


What performance can you expect from Parallel HDF5 ?


Does HDF5 support compression with parallel HDF5 ? If not, why ?


Does Parallel HDF5 support chunking ?


Can you run parallel HDF5 and the threadsafe feature together ? What about Parallel HDF5 and C++?


How do you write to attributes independently ?


Does Parallel HDF5 support variable length datatypes ?


Most HDF5 calls do not make a statement about whether they are being called collectively or independently. How are they being called?


Problems installing Parallel HDF5 on IBM Regatta (with AIX5)


How to write and NOT to write compound datasets using F90 in Parallel HDF5


MPI ... failed: array services not available


How do you write data when one process doesn't have or need to write data ?


PERFORMANCE


The Chunk Cache and Chunked Datasets:


PROPERTIES


With HDF5-1.6.0-post*, a fix was added for using H5Pset_istore_k and H5Pget_istore_k. This fix required a change to the HDF5 format. What are the implications of this ?


What function do you use to get compression level information?


How do you use the stream driver in HDF5-1.6.2?


How do you work with a file created with the file family feature?


Can you work with an HDF5 file in memory ?


UTILITIES


How do you use the h5cc (h5fc, h5c++) utility?


Why is h5dump slower than h5ls?


Can you add an option to h5dump or h5ls to print the version of a file ?


- - Last modified:December 04th 2008