Documentation Center

  • Trials
  • Product Updates

H5S.select_all

Select entire extent of data space

Syntax

H5S.select_all(space_id)

Description

H5S.select_all(space_id) selects the entire extent of the data space specified by space_id.

Examples

fid = H5F.open('example.h5');
dset_id = H5D.open(fid,'/g3/integer');
space_id = H5D.get_space(dset_id);
num_points1 = H5S.get_select_npoints(space_id);
H5S.select_none(space_id);
num_points2 = H5S.get_select_npoints(space_id);
H5S.select_all(space_id);
num_points3 = H5S.get_select_npoints(space_id);
Was this topic helpful?