/** @page LBPropsList Property Lists Basics Navigate back: \ref index "Main" / \ref GettingStarted / \ref LearnBasics
\image html tutr-locons.png |
\image html tutr-lochk.png |
\image html tutr-lochks.png |
harry
that is a member of a group called dick
, which, in turn, is a member of the root group.
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 | Group: A grouping structure containing zero or more HDF5 objects, together with supporting metadata. Dataset: A multidimensional array of data elements, together with supporting metadata. |
---|
Answer | An HDF5 attribute is a user-defined HDF5 structure that provides extra information about an HDF5 object. |
---|
harry
that is a member of a group called dick
, which, in turn, is a member of the root group.
Answer | /dick/harry |
---|
Answer | H5A: Attribute access and manipulation routines
H5D: Dataset access and manipulation routines H5E: Error handling routines H5F: File access routines H5G: Routines for creating and operating on groups H5T: Routines for creating and manipulating the datatypes of dataset elements H5Z: Data compression routines |
---|
Answer | #H5Fcreate and #H5Fclose. |
---|
Answer | hdf5.h must be included because it contains definitions and declarations used by the library. |
---|
Answer | The root group. |
---|
Answer | Atomic datatype: An atomic datatype cannot be decomposed into smaller units at the API level.
Compound datatype: A compound datatype is a collection of atomic and compound datatypes, or small arrays of such types. |
---|
Answer | There are six HDF5 atomic datatypes: integer, floating point, date and time, character string, bit field, and opaque.
Examples of predefined datatypes include the following: \li #H5T_IEEE_F32LE - 4-byte little-endian, IEEE floating point \li #H5T_NATIVE_INT - native integer You would create a string dataset with the #H5T_C_S1 datatype, and set the size of the string with the #H5Tset_size call. |
---|
Answer | The dataspace describes the dimensionality of the dataset. A simple dataspace is characterized by its rank and dimension sizes. |
---|
Answer | The dataset location, name, dataspace, datatype, and dataset creation property list. |
---|
Answer | The dataset identifier, the dataset's datatype and dataspace in memory, the dataspace in the file, the dataset transfer property list, and a data buffer. |
---|
Answer | A dataset's file datatype is not required for a read/write operation because the file datatype is specified when the dataset is created and cannot be changed. Both file and memory dataspaces are required for dataset subsetting and for performing partial I/O operations. |
---|
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). |
---|
Answer | An attribute is a dataset attached to an object. It describes the nature and/or the intended usage of the object. |
---|
Answer | No. |
---|
Answer | A group and a dataset. |
---|
Answer | Relative and absolute. |
---|
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 |
---|
Answer | Access the group /foo and get the group ID. Access the group boo using the group ID obtained in Step 1. Access the dataset moo using the group ID obtained in Step 2. \code gid = H5Gopen (file_id, "/foo", 0); /* absolute path */ gid1 = H5Gopen (gid, "boo", 0); /* relative path */ did = H5Dopen (gid1, "moo"); /* relative path */ \endcode Access the group /foo and get the group ID. Access the dataset boo/moo with the group ID just obtained. \code gid = H5Gopen (file_id, "/foo", 0); /* absolute path */ did = H5Dopen (gid, "boo/moo"); /* relative path */ \endcode Access the dataset with an absolute path. \code did = H5Dopen (file_id, "/foo/boo/moo"); /* absolute path */ \endcode |
---|
Warning | The h5cc/h5fc/h5c++ compile scripts are included when building with configure. Versions of these compile scripts have also been added to CMake for Linux ONLY. The CMake versions rely on pkgconfig files. |
---|
Library | Linux Name | Mac Name | Windows Name |
---|---|---|---|
\code HDF5 High Level C++ APIs HDF5 C++ Library HDF5 High Level Fortran APIs HDF5 Fortran Library HDF5 High Level C APIs HDF5 C Library \endcode | \code libhdf5_hl_cpp.a libhdf5_cpp.a libhdf5hl_fortran.a libhdf5_fortran.a libhdf5_hl.a libhdf5.a \endcode | \code libhdf5_hl_cpp.a libhdf5_cpp.a libhdf5hl_fortran.a libhdf5_fortran.a libhdf5_hl.a libhdf5.a \endcode | Windows \code libhdf5_hl_cpp.lib libhdf5_cpp.lib libhdf5hl_fortran.lib libhdf5_fortran.lib libhdf5_hl.lib libhdf5.lib \endcode |
Library | Linux Name | Mac Name | Windows Name |
---|---|---|---|
\code HDF5 High Level C++ APIs HDF5 C++ Library HDF5 High Level Fortran APIs HDF5 Fortran Library HDF5 High Level C APIs HDF5 C Library \endcode | \code libhdf5_hl_cpp.so libhdf5_cpp.so libhdf5hl_fortran.so libhdf5_fortran.so libhdf5_hl.so libhdf5.so \endcode | \code libhdf5_hl_cpp.dylib libhdf5_cpp.dylib libhdf5hl_fortran.dylib libhdf5_fortran.dylib libhdf5_hl.dylib libhdf5.dylib \endcode | \code hdf5_hl_cpp.lib hdf5_cpp.lib hdf5hl_fortran.lib hdf5_fortran.lib hdf5_hl.lib hdf5.lib \endcode |
Library | Linux Name | Mac Name | Windows Name |
---|---|---|---|
\code SZIP Compression Library SZIP Compression Library ZLIB or DEFLATE Compression Library \endcode | \code libszaec.a libaec.a libz.a \endcode | \code libszaec.a libaec.a libz.a \endcode | \code libszaec.lib libaec.lib libz.lib \endcode |