Page tree

Versions Compared

Key

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

...

Programming Example

Description

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

The example shows how to create a dataset in a particular group. It opens the file created in the previous example and creates two datasets:

HTML Wrap
Expand
titleC

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

Expand
titleFortran

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

Expand
titleC++

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

Python

See HDF5 Introductory Examples for the examples used in the Learning the Basics tutorial. There are examples for several other languages, including Java.

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

...