Help us improve by taking our short survey: https://www.hdfgroup.org/website-survey/

| HDF5 Last Updated on 2026-07-28 The HDF5 Field Guide

Loading...
Searching...
No Matches
h5d Module Reference
Fortran Datasets (H5D) Interface

This module contains Fortran interfaces for H5D functions. More...

## Data Types
interface | h5dextend_f

## Functions/Subroutines
subroutine | h5dclose_async_f (dset_id, es_id, hdferr, file, func, line)
| Asynchronously closes a dataset.
subroutine | h5dclose_f (dset_id, hdferr)
| Closes a dataset.
subroutine | h5dcreate_anon_f (loc_id, type_id, space_id, dset_id, hdferr, dcpl_id, dapl_id)
| Creates a dataset in a file without linking it into the file structure.
subroutine | h5dcreate_async_f (loc_id, name, type_id, space_id, dset_id, es_id, hdferr, dcpl_id, lcpl_id, dapl_id, file, func, line)
| Asynchronously creates a dataset at the specified location.
subroutine | h5dcreate_f (loc_id, name, type_id, space_id, dset_id, hdferr, dcpl_id, lcpl_id, dapl_id)
| Creates a dataset at the specified location.
subroutine | h5dfill_f (fill_value, fill_type_id, buf, buf_type_id, space_id, hdferr)
| Fills dataspace elements with a fill value in a memory buffer.
subroutine | h5dfill_f (fill_value, space_id, buf, hdferr)
| Fills dataspace elements with a fill value in a memory buffer. Only INTEGER, CHARACTER, REAL and DOUBLE PRECISION datatypes of the fillvalues and buffers are supported. Buffer and fillvalue are assumed to have the same datatype. Only one-dimesional buffers are supported.
subroutine | h5dflush_f (dset_id, hdferr)
| Flushes all buffers associated with a dataset to disk.
subroutine | h5dget_access_plist_f (dset_id, plist_id, hdferr)
| Returns a copy of the dataset creation property list.
subroutine | h5dget_create_plist_f (dataset_id, plist_id, hdferr)
| Returns an identifier for a copy of the dataset creation property list for a dataset.
subroutine | h5dget_offset_f (dset_id, offset, hdferr)
| Returns dataset address in file.
subroutine | h5dget_space_async_f (dataset_id, dataspace_id, es_id, hdferr, file, func, line)
| Asynchronously returns an identifier for a copy of the dataspace for a dataset.
subroutine | h5dget_space_f (dataset_id, dataspace_id, hdferr)
| Returns an identifier for a copy of the dataspace for a dataset.
subroutine | h5dget_space_status_f (dset_id, flag, hdferr)
| Returns the status of data space allocation.
subroutine | h5dget_storage_size_f (dataset_id, size, hdferr)
| Returns the amount of storage requires by a dataset.
subroutine | h5dget_type_f (dataset_id, datatype_id, hdferr)
| Returns an identifier for a copy of the datatype for a dataset.
subroutine | h5dopen_async_f (loc_id, name, dset_id, es_id, hdferr, dapl_id, file, func, line)
| Asynchronously opens an existing dataset.
subroutine | h5dopen_f (loc_id, name, dset_id, hdferr, dapl_id)
| Opens an existing dataset.
subroutine | h5dread_async_f (dset_id, mem_type_id, buf, es_id, hdferr, mem_space_id, file_space_id, xfer_prp, file, func, line)
| Asynchronously reads raw data from a dataset into a buffer.
subroutine | h5dread_chunk_f (dset_id, offset, filters, buf, buf_size, hdferr, dxpl_id)
| Reads a raw data chunk directly from a dataset in a file into a buffer.
subroutine | h5dread_chunk_f (dset_id, offset, filters, buf, hdferr, dxpl_id)
| Reads a raw data chunk directly from a dataset in a file into a buffer.
subroutine | h5dread_f (dset_id, mem_type_id, buf, hdferr, mem_space_id, file_space_id, xfer_prp)
| Reads raw data from a dataset into a buffer (Passes Pointer).
subroutine | h5dread_f___f90_version (dset_id, mem_type_id, buf, dims, hdferr, mem_space_id, file_space_id, xfer_prp)
| There is no direct Fortran90 counterpart for the C function H5Dread. Instead, that functionality is provided by two Fortran90 subroutines:
subroutine | h5dread_multi_f (count, dset_id, mem_type_id, mem_space_id, file_space_id, buf, hdferr, xfer_prp)
| Reads data from a file to memory buffers for multiple datasets.
subroutine | h5dread_vl_f (dset_id, mem_type_id, buf, dims, len, hdferr, mem_space_id, file_space_id, xfer_prp)
| Reads variable-length data. F2003 API h5dread_f should be used instead.
subroutine | h5dset_extent_async_f (dataset_id, fsize, es_id, hdferr, file, func, line)
| Asynchronously extends a dataset with unlimited dimension.
subroutine | h5dset_extent_f (dataset_id, fsize, hdferr)
| Extends a dataset with unlimited dimension.
subroutine | h5dvlen_get_max_len_f (dataset_id, type_id, space_id, len, hdferr)
| Returns maximum length of the VL array elements.
subroutine | h5dvlen_reclaim_f (type_id, space_id, plist_id, buf, hdferr)
| Reclaims VL datatype memory buffers.
subroutine | h5dwrite_async_f (dset_id, mem_type_id, buf, es_id, hdferr, mem_space_id, file_space_id, xfer_prp, file, func, line)
| Asynchronously writes raw data from a buffer to a dataset.
subroutine | h5dwrite_chunk_f (dset_id, filters, offset, data_size, buf, hdferr, dxpl_id)
| Writes a raw data chunk from a buffer directly to a dataset in a file.
subroutine | h5dwrite_f (dset_id, mem_type_id, buf, hdferr, mem_space_id, file_space_id, xfer_prp)
| Writes raw data from a buffer to a dataset.
subroutine | h5dwrite_f___f90_version (dset_id, mem_type_id, buf, dims, hdferr, mem_space_id, file_space_id, xfer_prp)
| There is no direct Fortran90 counterpart for the C function H5Dwrite. Instead, that functionality is provided by two Fortran90 subroutines:
subroutine | h5dwrite_multi_f (count, dset_id, mem_type_id, mem_space_id, file_space_id, buf, hdferr, xfer_prp)
| Writes data in memory to a file for multiple datasets.
subroutine | h5dwrite_vl_f (dset_id, mem_type_id, buf, dims, len, hdferr, mem_space_id, file_space_id, xfer_prp)
| Writes variable-length data. F2003 API h5dwrite_f should be used instead.

## Detailed Description

This module contains Fortran interfaces for H5D functions.