writer Submodule

This submodule is for writing 0-D..7-D data


Uses

    • hdf5
  • module~~writer~~UsesGraph module~writer writer module~write write module~writer->module~write hdf5 hdf5 module~writer->hdf5 module~write->hdf5 module~h5fortran h5fortran module~write->module~h5fortran H5LT H5LT module~write->H5LT module~h5fortran->hdf5 iso_c_binding iso_c_binding module~h5fortran->iso_c_binding h5lt h5lt module~h5fortran->h5lt iso_fortran_env iso_fortran_env module~h5fortran->iso_fortran_env

Contents


Module Procedures

module procedure hdf_write_scalar_r32 module subroutine hdf_write_scalar_r32(self, dname, value, ierr, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value
integer, intent(out), optional :: ierr
logical, intent(in), optional :: compact

module procedure hdf_write_scalar_r64 module subroutine hdf_write_scalar_r64(self, dname, value, ierr, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value
integer, intent(out), optional :: ierr
logical, intent(in), optional :: compact

module procedure hdf_write_scalar_i32 module subroutine hdf_write_scalar_i32(self, dname, value, ierr, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value
integer, intent(out), optional :: ierr
logical, intent(in), optional :: compact

module procedure hdf_write_scalar_i64 module subroutine hdf_write_scalar_i64(self, dname, value, ierr, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value
integer, intent(out), optional :: ierr
logical, intent(in), optional :: compact

module procedure hdf_write_scalar_char module subroutine hdf_write_scalar_char(self, dname, value, ierr, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
character(len=*), intent(in) :: value
integer, intent(out), optional :: ierr
logical, intent(in), optional :: compact

module procedure hdf_write_1d_r32 module subroutine hdf_write_1d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value(:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(1)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_1d_r64 module subroutine hdf_write_1d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value(:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(1)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_1d_i32 module subroutine hdf_write_1d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value(:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(1)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_1d_i64 module subroutine hdf_write_1d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value(:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(1)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_2d_r32 module subroutine hdf_write_2d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value(:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(2)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_2d_r64 module subroutine hdf_write_2d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value(:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(2)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_2d_i32 module subroutine hdf_write_2d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value(:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(2)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_2d_i64 module subroutine hdf_write_2d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value(:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(2)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_3d_r32 module subroutine hdf_write_3d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value(:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(3)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_3d_r64 module subroutine hdf_write_3d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value(:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(3)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_3d_i32 module subroutine hdf_write_3d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value(:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(3)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_3d_i64 module subroutine hdf_write_3d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value(:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(3)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_4d_r32 module subroutine hdf_write_4d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value(:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(4)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_4d_r64 module subroutine hdf_write_4d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value(:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(4)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_4d_i32 module subroutine hdf_write_4d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value(:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(4)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_4d_i64 module subroutine hdf_write_4d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value(:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(4)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_5d_r32 module subroutine hdf_write_5d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value(:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(5)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_5d_r64 module subroutine hdf_write_5d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value(:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(5)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_5d_i32 module subroutine hdf_write_5d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value(:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(5)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_5d_i64 module subroutine hdf_write_5d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value(:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(5)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_6d_r32 module subroutine hdf_write_6d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value(:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(6)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_6d_r64 module subroutine hdf_write_6d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value(:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(6)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_6d_i32 module subroutine hdf_write_6d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value(:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(6)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_6d_i64 module subroutine hdf_write_6d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value(:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(6)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_7d_r32 module subroutine hdf_write_7d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real32), intent(in) :: value(:,:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(7)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_7d_r64 module subroutine hdf_write_7d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
real(kind=real64), intent(in) :: value(:,:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(7)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_7d_i32 module subroutine hdf_write_7d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int32), intent(in) :: value(:,:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(7)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact

module procedure hdf_write_7d_i64 module subroutine hdf_write_7d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
character(len=*), intent(in) :: dname
integer(kind=int64), intent(in) :: value(:,:,:,:,:,:,:)
integer, intent(out), optional :: ierr
integer, intent(in), optional :: chunk_size(7)
integer, intent(in), optional dimension(:):: istart
integer, intent(in), optional dimension(:):: iend
integer, intent(in), optional dimension(:):: stride
logical, intent(in), optional :: compact