Documentation Center

  • Trials
  • Product Updates

H5P.get_userblock

Return size of user block

Syntax

sz = H5P.get_userblock(plist_id)

Description

sz = H5P.get_userblock(plist_id) returns the size of a user block in a file creation property list. plist_id is a property list identifier.

Examples

fid = H5F.open('example.h5');
fcpl = H5F.get_create_plist(fid);
sz = H5P.get_userblock(fcpl);
H5P.close(fcpl);
H5F.close(fid);

See Also

Was this topic helpful?