Decl'HDF5 : Writing a scalar as a 1 dimensional array dataset without having to use dataset_selection
Actually if we want to write a scalar as a 1 dimensional array, we need to write :
metadata:
N: int
plugins:
decl_hdf5:
dataset: { N: { type: array, subtype: int, size: 1 } }
write: { N: { dataset_selection: { size: 1 } } }
We would like it to work without the the dataset_selection
, as they are same size. ie :
metadata:
N: int
plugins:
decl_hdf5:
dataset: { N: { type: array, subtype: int, size: 1 } }
write: { N }
Here is the error that we are getting in this case :
Config_error: Invalid default selection: 0 selection in 1 array