Extracting Scalars from a HDF5 Array

Dear HDF Community,

I have an Array of size ’N’ defined in the HDF5 file and I would like to extract individual scalar fields from it.

I define my HDF vector field as :

hsize_t array_size[1] = { N };
hid_t array_dtype_id = H5Tarray_create(H5T_NATIVE_DOUBLE, 1, array_size);
hid_t dataset_id_Conc = H5Dcreate(file_id, “Array", array_dtype_id, dataspace_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);

Now I tried doing the following in my XML file :

<Attribute Name=“Element_1" AttributeType="Scalar" Center="Node">
    <DataItem ItemType="Uniform" Dimensions="100 1 100" NumberType="Float" Precision="8" Format="HDF">

This does not seem to work. Please help me with this

Thanks for your time