HDF 5 Examples
Blacklight examples
These examples show how to create an modify datasets.
Create a dataset
Files are:
- dset.job, the job file
- dsetexample.f90, Fortran source code
- dset.out, standard error and out for the job
Open a dataset, write data into it, then read the dataset into memory
Files are:
- rwdset.job, the job file
- rwdsetexample.f90, Fortran source code
- rwdset.out, standard error and out for the job
Create and write a dataset attribute
- attr.job, the job file
- attrexample.f90, Fortran source code
- attr.out, standard error and out for the job
Warhol examples
This example shows how to create a compound data type, write an array which has this compound data type to a file, and read back fields' subsets.
Files are:
- compound.job, the job file.
- compound.c, the C source.
- compound.out, the job output and error file.