Page tree

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

Versions Compared


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

Section 2: HDF File Organization

1 .Name and describe the two primary objects that can be stored in an HDF5 file.      


3. Give the path name for an object called harry that is a member of a group called dick, which, in turn, is a member of the root group.

Answer: /dick/harry

Section 3: The HDF5 API

1. Describe the purpose of each of the following HDF5 APIs:


H5Z: Data compression routines

Section 4: Creating an HDF5 File

1. What two HDF5 routines must be called to create an HDF5 file?


3. An HDF5 file is never completely empty because as soon as it is created, it automatically contains a certain primary object. What is that object?

Answer: The root group.

Section 5: Creating a Dataset

1. Name and describe two major datatype categories.


Answer: The dataset location, name, dataspace, datatype, and dataset creation property list.

Section 6: Reading from and Writing to a Dataset

1. What are six pieces of information which need to be specified for reading and writing a dataset?


Answer: It means that the dataset dset has a simple dataspace with the current dimensions (4,6) and the maximum size of the dimensions (4,6).

Section 7: Creating an Attribute

1. What is an attribute?

Answer: An attribute is a dataset attached to an object. It describes the nature and/or the intended usage of the object.


2. Can partial I/O operations be performed on attributes?

Answer: No.

Section 8: Creating a Group

1. What are the two primary objects that can be included in a group?

Answer: A group and a dataset.

Section 9: Creating Groups Using Absolute and Relative Names

1. Group names can be specified in two ways. What are these two types of group names?


2. You have a dataset named moo in the group boo, which is in the group foo, which, in turn, is in the root group. How would you specify an absolute name to access this dataset?

Answer: /foo/boo/moo

Section 10: Creating Datasets in Groups

1. Describe a way to access the dataset moo described in the previous section (Section 9, question 2) using a relative name. Describe a way to access the same dataset using an absolute name.