Sure. I am curious...what is the driver for this modality of operation? One situation I am thinking it could be is where special/sentinel values are used within a buffer of data to indicate special meaning such as 'data-not-present' or 'value-missing'. Often, such values are chosen to be +/- INT_MAX or +/- DBL_MAX and then their presence can then prevent down-casting to smaller (fewer bits) type. Is that that is going on for you?
Finally, another thing occurred to me was setting the dataset 'fill value', https://support.hdfgroup.org/HDF5/doc/RM/H5P/H5Pset_fill_value.htm though I am not sure what the restrictions are on the data type for the fill value relative to the data type for the dataset. Mark "Hdf-forum on behalf of Kevin B. McCarty" wrote: Thanks for your replies, Mark!
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
