Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

h5mkgrp

Creates new group(s) in an HDF5 file

Syntax:
h5mkgrp [OPTIONS] file_name group_name...

Description:
h5mkgrp  creates one or more new groups in an HDF5 file.

Options and Parameters:
ParameterDescription
file_nameName of HDF5 file within which new group is to be created
group_nameName of group to be created; specified as full path name from the root group, i.e., starting with a slash (/)
OptionDescription
-h, --helpPrint a usage message and exit
-l, --latestUse latest version of file format to create new group
-p, --parentsCreate parent or intervening groups as needed. Issue no error if intervening groups or new group already exist
-v, --verbosePrint verbose output, including information about file, group(s), and options
-V, --versionPrint tool version number then exit. Tool version number is that of the corresponding HDF5 library

Exit Status:
0Succeeded.
> 0    An error occurred.

Example:
Create a new group, new_group,  within the existing group /a/b in the file HDF5_file.
    h5mkgrp "HDF5_file" "/a/b/new_group"

Create a new group, new_group,  within the group /a/b in the file HDF5_file. Create the groups a and b if they do not already exist. Issue no error if the intervening groups or the new group already exist.

    h5mkgrp -p "HDF5_file" "/a/b/new_group"

Create the new groups /a/b/new_c  and /a/x/new_4  in the file HDF5_file. The groups /a/b  and /a/x  must already exist.

    h5mkgrp -p "HDF5_file" "/a/b/new_c" "/a/x/new_4"

History:
Release    Change
1.8.0Tool introduced in this release.

--- Last Modified: August 28, 2019 | 09:33 AM