...
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 |
---|
|
Bitbucket Server file |
---|
repoSlug | hdf5 |
---|
branchId | refs/heads/master |
---|
projectKey | HDFFV |
---|
hideHeader | true |
---|
filepath | examples/h5_crtdat.c |
---|
showLineNumbers | true |
---|
progLang | cpp |
---|
applicationLink | 5ac7b370-7412-3c8c-ad20-807a68261336 |
---|
|
|
Expand |
---|
|
Bitbucket Server file |
---|
repoSlug | hdf5 |
---|
branchId | refs/heads/master |
---|
projectKey | HDFFV |
---|
hideHeader | true |
---|
filepath | fortran/examples/h5_crtdat.f90 |
---|
showLineNumbers | true |
---|
applicationLink | 5ac7b370-7412-3c8c-ad20-807a68261336 |
---|
|
|
Expand |
---|
|
Bitbucket Server file |
---|
repoSlug | hdf5 |
---|
branchId | refs/heads/master |
---|
projectKey | HDFFV |
---|
hideHeader | true |
---|
filepath | c++/examples/h5tutr_crtdat.cpp |
---|
showLineNumbers | true |
---|
progLang | cpp |
---|
applicationLink | 5ac7b370-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.
...