I created a HDF5 file/dataset in C and it contains floating point values. The h5dump
program shows the data as floating point as expected, with a header of:
HDF5 "avgout.h5" {
GROUP "/" {
DATASET "avgpwr" {
DATATYPE H5T_IEEE_F64LE
DATASPACE SIMPLE { ( 281, 201 ) / ( 281, 201 ) }
DATA {.....}
However, when I load the file in python with h5py
, the type is incorrectly being read as an integer. How can I fix this?