Example glue code for loading HDF5 data into Spark