hdf5_utils Module

A library for writing compressed HDF5 files


Uses

    • H5LT
    • HDF5
  • module~~hdf5_utils~~UsesGraph module~hdf5_utils hdf5_utils H5LT H5LT module~hdf5_utils->H5LT HDF5 HDF5 module~hdf5_utils->HDF5

Used by

  • module~~hdf5_utils~~UsedByGraph module~hdf5_utils hdf5_utils program~generate_tables generate_tables program~generate_tables->module~hdf5_utils module~atomic_tables atomic_tables program~generate_tables->module~atomic_tables module~libfida libfida module~libfida->module~hdf5_utils program~fidasim fidasim program~fidasim->module~hdf5_utils program~fidasim->module~libfida module~atomic_tables->module~hdf5_utils

Contents


Interfaces

Write a compressed datasets of 64-bit floats

  • public subroutine h5ltmake_compressed_dataset_double_f_1(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 64-bit float dataset of dimension 1

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    real(kind=Float64), intent(in), dimension(dims(1)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_double_f_2(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 64-bit float dataset of dimension 2

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    real(kind=Float64), intent(in), dimension(dims(1),dims(2)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_double_f_3(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 64-bit float dataset of dimension 3

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_double_f_4(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 64-bit float dataset of dimension 4

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_double_f_5(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 64-bit float dataset of dimension 5

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_double_f_6(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 64-bit float dataset of dimension 6

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_double_f_7(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 64-bit float dataset of dimension 7

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6),dims(7)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

Write a compressed dataset of 32-bit integers

  • public subroutine h5ltmake_compressed_dataset_int_f_1(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 32-bit integer dataset of dimension 1

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    integer, intent(in), dimension(dims(1)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_int_f_2(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 32-bit integer dataset of dimension 2

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    integer, intent(in), dimension(dims(1),dims(2)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_int_f_3(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 32-bit integer dataset of dimension 3

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    integer, intent(in), dimension(dims(1),dims(2),dims(3)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_int_f_4(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 32-bit integer dataset of dimension 4

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_int_f_5(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 32-bit integer dataset of dimension 5

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_int_f_6(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 32-bit integer dataset of dimension 6

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code

  • public subroutine h5ltmake_compressed_dataset_int_f_7(loc_id, dset_name, rank, dims, buf, error)

    Write a compressed 32-bit integer dataset of dimension 7

    Arguments

    Type IntentOptional AttributesName
    integer(kind=hid_t), intent(in) :: loc_id

    HDF5 file or group identifier

    character(len=*), intent(in) :: dset_name

    Name of the dataset to create

    integer, intent(in) :: rank

    Number of dimensions of dataspace

    integer(kind=HSIZE_T), intent(in), dimension(*):: dims

    Array of the size of each dimension

    integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6),dims(7)):: buf

    Buffer with data to be written to the dataset

    integer, intent(out) :: error

    HDF5 error code


Subroutines

public subroutine check_compression_availability()

Checks whether dataset compression is available

Arguments

None

public subroutine h5ltread_dataset_int_scalar_f(loc_id, dset_name, x, error)

Write a scalar 32-bit integer

Arguments

Type IntentOptional AttributesName
integer(kind=HID_T), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(inout) :: x

Data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltread_dataset_double_scalar_f(loc_id, dset_name, x, error)

Write a scalar 64-bit float

Arguments

Type IntentOptional AttributesName
integer(kind=HID_T), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

real(kind=Float64), intent(inout) :: x

Data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine chunk_size(elsize, dims, cdims)

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: elsize

Size of elements in bytes

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Dimensions of dataset

integer(kind=HSIZE_T), intent(out), dimension(:):: cdims

Maximum allowed chunk size/dims

public subroutine h5ltmake_compressed_dataset_double_f_1(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 64-bit float dataset of dimension 1

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

real(kind=Float64), intent(in), dimension(dims(1)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_double_f_2(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 64-bit float dataset of dimension 2

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

real(kind=Float64), intent(in), dimension(dims(1),dims(2)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_double_f_3(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 64-bit float dataset of dimension 3

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_double_f_4(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 64-bit float dataset of dimension 4

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_double_f_5(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 64-bit float dataset of dimension 5

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_double_f_6(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 64-bit float dataset of dimension 6

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_double_f_7(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 64-bit float dataset of dimension 7

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

real(kind=Float64), intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6),dims(7)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_int_f_1(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 32-bit integer dataset of dimension 1

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

integer, intent(in), dimension(dims(1)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_int_f_2(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 32-bit integer dataset of dimension 2

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

integer, intent(in), dimension(dims(1),dims(2)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_int_f_3(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 32-bit integer dataset of dimension 3

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

integer, intent(in), dimension(dims(1),dims(2),dims(3)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_int_f_4(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 32-bit integer dataset of dimension 4

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_int_f_5(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 32-bit integer dataset of dimension 5

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_int_f_6(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 32-bit integer dataset of dimension 6

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code

public subroutine h5ltmake_compressed_dataset_int_f_7(loc_id, dset_name, rank, dims, buf, error)

Write a compressed 32-bit integer dataset of dimension 7

Arguments

Type IntentOptional AttributesName
integer(kind=hid_t), intent(in) :: loc_id

HDF5 file or group identifier

character(len=*), intent(in) :: dset_name

Name of the dataset to create

integer, intent(in) :: rank

Number of dimensions of dataspace

integer(kind=HSIZE_T), intent(in), dimension(*):: dims

Array of the size of each dimension

integer, intent(in), dimension(dims(1),dims(2),dims(3),dims(4),dims(5),dims(6),dims(7)):: buf

Buffer with data to be written to the dataset

integer, intent(out) :: error

HDF5 error code