H5T.get_super

Base data type

Syntax

super_type_id = H5T.get_super(type_id)

Description

super_type_id = H5T.get_super(type_id) returns the base data type from which the data type type specified by type_id is derived.

Examples

Retrieve the base data type for an enumerated dataset.

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/enum');
dtype_id = H5D.get_type(dset_id);
super_type_id = H5T.get_super(dtype_id);
Was this topic helpful?