Documentation Center

  • Trials
  • Product Updates

H5P.set_userblock

Set user block size

Syntax

H5P.set_userblock(plist_id,size)

Description

H5P.set_userblock(plist_id,size) sets the user block size of the file creation property list, plist_id.

Examples

fcpl = H5P.create('H5P_FILE_CREATE');
fapl = H5P.create('H5P_FILE_ACCESS');
H5P.set_userblock(fcpl,4096);
fid = H5F.create('myfile.h5','H5F_ACC_TRUNC',fcpl,fapl);
H5F.close(fid);

See Also

Was this topic helpful?