Quantcast

Documentation Center

  • Trial Software
  • Product Updates

H5P.set_create_intermediate_group

Set creation of intermediate groups

Syntax

H5P.set_create_intermediate_group(lcpl_id,flag)

Description

H5P.set_create_intermediate_group(lcpl_id,flag) specifies in the link creation property list lcpl_id whether to create missing intermediate groups.

Examples

Enable the creation of intermediate groups.

fid = H5F.create('myfile.h5');
lcpl = H5P.create('H5P_LINK_CREATE');
H5P.set_create_intermediate_group(lcpl,1);
gid = H5G.create(fid,'/a/b/c/d',lcpl,'H5P_DEFAULT','H5P_DEFAULT');
H5G.close(gid);
H5F.close(fid);

See Also

Was this topic helpful?