HDF5 Java JNI - create array of compounds as member of compund

As the title suggests I’m trying to create an array of compounds which again is a member of a compound, using the Java Native Interface for the HDF5 Library. The datatype should look like this:

  1. Compound Datatype filetype
  • index: Int
  • nest:Array[filetype_inside]
  1. Compund Datatype filetype_inside
  • long: long
    Here () I am using the H5Dwrite method together with a byte array in which i put the data. The Example compiles and runs however only the “index” field, which i put in there as an example, shows up in the HDF5-File created. The compound Array does not.

Is there any way to accomplish this?

Thanks you for any ideas.

···

http://pastebin.com/tepFdWZkhttp://www.hdfgroup.org/hdf5-quest.html#jlimit