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.

...

The following example shows how to create an empty dataset. It creates a file called dset.h5 in the C version (dsetf.h5 in Fortran), defines the dataset dataspace, creates a dataset which is a 4x6 integer array, and then closes the dataspace, the dataset, and the file:

Expand
titleC

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

Expand
titleFortran

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

Expand
titleC++

Bitbucket Server file
repoSlughdf5
branchIdrefs/heads/master
projectKeyHDFFV
hideHeadertrue
filepathc++/examples/h5tutr_crtdat.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.

...