Contents

H5P.get_fill_value

Return dataset fill value

Syntax

value = H5P.get_fill_value(plist_id,type_id)

Description

value = H5P.get_fill_value(plist_id,type_id) returns the dataset fill value defined in the dataset creation property list plist_id. The type_id input specifies the datatype of the returned fill value.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/integer');
dcpl = H5D.get_create_plist(dset_id);
type_id = H5T.copy('H5T_NATIVE_INT');
fill_value = H5P.get_fill_value(dcpl,type_id);
Was this topic helpful?