Page tree

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

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Programming Example

Description

The following See HDF5 Introductory Examples for the examples used in the Learning the Basics tutorial.

The example shows how to create and close a group. It creates a file called group.h5 (groupf.h5 for FORTRAN), creates a group called MyGroup in the root group, and then closes the group and file.

HTML Wrap
Expand
titleC

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/master
projectKeyHDFFV
hideHeadertrue
filepathexamples/h5_crtgrp.c
showLineNumberstrue
progLangplain
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

Expand
titleFortran

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/master
projectKeyHDFFV
hideHeadertrue
filepathfortran/examples/h5_crtgrp.f90
showLineNumberstrue
progLangplain
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

Expand
titleC++

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/master
projectKeyHDFFV
hideHeadertrue
filepathc++/examples/h5tutr_crtgrp.cpp
showLineNumberstrue
progLangcpp
applicationLink5ac7b370-7412-3c8c-ad20-807a68261336

Python

For details on compiling an HDF5 application: [ Compiling HDF5 Applications ]

 

File Contents

The contents of group.h5 and the definition of the group are shown below. (The FORTRAN program creates the HDF5 file groupf.h5 and the resulting DDL shows groupf.h5 in the first line.)

...