Type-Bound Procedures
define methods (procedures) that don't need generic procedure
-
interface
private module subroutine create_softlink(self, target, link)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(inout) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
target | |
character(len=*), |
intent(in) |
|
| :: |
link | |
-
private function hdf_is_compact(self, dname)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
Return Value logical
-
private function hdf_is_chunked(self, dname)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
Return Value logical
-
private function hdf_is_contig(self, dname)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
Return Value logical
-
interface
private module function hdf_check_exist(self, dname) result(exists)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
Return Value logical
-
interface
private module function hdf_check_exist(self, dname) result(exists)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
Return Value logical
-
interface
private module subroutine hdf_get_chunk(self, dname, chunk_size)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
integer(kind=hsize_t), |
intent(out) |
|
| :: |
chunk_size(:) | |
-
interface
private module subroutine hdf_get_shape(self, dname, dims, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
integer(kind=HSIZE_T), |
intent(out), |
|
allocatable | :: |
dims(:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
-
interface
private module function hdf_get_ndims(self, dname) result(drank)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
Return Value integer
-
interface
private module subroutine hdf_close_group(self, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(inout) |
|
| :: |
self | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
-
interface
private module subroutine hdf_open_group(self, gname, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(inout) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
gname | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
-
interface
private module subroutine hdf_create(self, dname, dtype, dims, sid, did, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(inout) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
integer(kind=HID_T), |
intent(in) |
|
| :: |
dtype | |
integer(kind=HSIZE_T), |
intent(in) |
|
| :: |
dims(:) | |
integer(kind=HID_T), |
intent(out), |
optional |
| :: |
sid | |
integer(kind=HID_T), |
intent(out), |
optional |
| :: |
did | |
integer, |
intent(in), |
optional |
| :: |
chunk_size(:) | |
integer, |
intent(in), |
optional |
| :: |
istart(:) | |
integer, |
intent(in), |
optional |
| :: |
iend(:) | |
integer, |
intent(in), |
optional |
| :: |
stride(:) | |
logical, |
intent(in), |
optional |
| :: |
compact | keep istart, iend, stride for future slice shape check |
procedure, public :: write_group
-
private subroutine write_group(self, gname, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
gname | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
-
private subroutine hdf_initialize(self, filename, ierr, status, action, comp_lvl, verbose, debug)
Opens hdf5 file
Read more…
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(inout) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
filename | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
character(len=*), |
intent(in), |
optional |
| :: |
status | |
character(len=*), |
intent(in), |
optional |
| :: |
action | |
integer, |
intent(in), |
optional |
| :: |
comp_lvl | |
logical, |
intent(in), |
optional |
| :: |
verbose | |
logical, |
intent(in), |
optional |
| :: |
debug | |
-
private subroutine hdf_initialize(self, filename, ierr, status, action, comp_lvl, verbose, debug)
Opens hdf5 file
Read more…
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(inout) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
filename | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
character(len=*), |
intent(in), |
optional |
| :: |
status | |
character(len=*), |
intent(in), |
optional |
| :: |
action | |
integer, |
intent(in), |
optional |
| :: |
comp_lvl | |
logical, |
intent(in), |
optional |
| :: |
verbose | |
logical, |
intent(in), |
optional |
| :: |
debug | |
below are procedure that need generic mapping (type or rank agnostic)
write group or dataset integer/real
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
-
Arguments
None
procedure, private :: readattr_num
private methods
each method must be declared here, and above as a generic, public
-
interface
private module subroutine readattr_num(self, dname, attr, attrval, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
character(len=*), |
intent(in) |
|
| :: |
attr | |
class(*), |
intent(out) |
|
| :: |
attrval(:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
procedure, private :: readattr_char
-
interface
private module subroutine readattr_char(self, dname, attr, attrval, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
character(len=*), |
intent(in) |
|
| :: |
attr | |
character(len=*), |
intent(inout) |
|
| :: |
attrval | intent(inout) for character |
integer, |
intent(out), |
optional |
| :: |
ierr | |
procedure, private :: writeattr_num
-
interface
private module subroutine writeattr_num(self, dname, attr, attrval, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
character(len=*), |
intent(in) |
|
| :: |
attr | |
class(*), |
intent(in) |
|
| :: |
attrval(:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
procedure, private :: writeattr_char
-
interface
private module subroutine writeattr_char(self, dname, attr, attrval, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
character(len=*), |
intent(in) |
|
| :: |
attr | |
character(len=*), |
intent(in) |
|
| :: |
attrval | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
procedure, private :: hdf_read_7d
-
interface
private module subroutine hdf_read_7d(self, dname, value, ierr, istart, iend, stride)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(out) |
|
| :: |
value(:,:,:,:,:,:,:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
istart | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
iend | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
stride | |
procedure, private :: hdf_read_6d
-
interface
private module subroutine hdf_read_6d(self, dname, value, ierr, istart, iend, stride)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(out) |
|
| :: |
value(:,:,:,:,:,:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
istart | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
iend | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
stride | |
procedure, private :: hdf_read_5d
-
interface
private module subroutine hdf_read_5d(self, dname, value, ierr, istart, iend, stride)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(out) |
|
| :: |
value(:,:,:,:,:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
istart | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
iend | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
stride | |
procedure, private :: hdf_read_4d
-
interface
private module subroutine hdf_read_4d(self, dname, value, ierr, istart, iend, stride)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(out) |
|
| :: |
value(:,:,:,:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
istart | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
iend | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
stride | |
procedure, private :: hdf_read_3d
-
interface
private module subroutine hdf_read_3d(self, dname, value, ierr, istart, iend, stride)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(out) |
|
| :: |
value(:,:,:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
istart | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
iend | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
stride | |
procedure, private :: hdf_read_2d
-
interface
private module subroutine hdf_read_2d(self, dname, value, ierr, istart, iend, stride)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(out) |
|
| :: |
value(:,:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
istart | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
iend | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
stride | |
procedure, private :: hdf_read_1d
-
interface
private module subroutine hdf_read_1d(self, dname, value, ierr, istart, iend, stride)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(out) |
|
| :: |
value(:) | |
integer, |
intent(out), |
optional |
| :: |
ierr | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
istart | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
iend | |
integer, |
intent(in), |
optional |
dimension(:) | :: |
stride | |
procedure, private :: hdf_read_scalar
-
interface
private module subroutine hdf_read_scalar(self, dname, value, ierr)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(hdf5_file), |
intent(in) |
|
| :: |
self | |
character(len=*), |
intent(in) |
|
| :: |
dname | |
class(*), |
intent(inout) |
|
| :: |
value | intent(inout) for character |
integer, |
intent(out), |
optional |
| :: |
ierr | |
procedure, private :: hdf_write_7d_i64
-
interface
private module subroutine hdf_write_7d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_7d_i32
-
interface
private module subroutine hdf_write_7d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_7d_r64
-
interface
private module subroutine hdf_write_7d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_7d_r32
-
interface
private module subroutine hdf_write_7d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_6d_i64
-
interface
private module subroutine hdf_write_6d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_6d_i32
-
interface
private module subroutine hdf_write_6d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_6d_r64
-
interface
private module subroutine hdf_write_6d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_6d_r32
-
interface
private module subroutine hdf_write_6d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_5d_i64
-
interface
private module subroutine hdf_write_5d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_5d_i32
-
interface
private module subroutine hdf_write_5d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_5d_r64
-
interface
private module subroutine hdf_write_5d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_5d_r32
-
interface
private module subroutine hdf_write_5d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_4d_i64
-
interface
private module subroutine hdf_write_4d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_4d_i32
-
interface
private module subroutine hdf_write_4d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_4d_r64
-
interface
private module subroutine hdf_write_4d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_4d_r32
-
interface
private module subroutine hdf_write_4d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_3d_i64
-
interface
private module subroutine hdf_write_3d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_3d_i32
-
interface
private module subroutine hdf_write_3d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_3d_r64
-
interface
private module subroutine hdf_write_3d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_3d_r32
-
interface
private module subroutine hdf_write_3d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_2d_i64
-
interface
private module subroutine hdf_write_2d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_2d_i32
-
interface
private module subroutine hdf_write_2d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_2d_r64
-
interface
private module subroutine hdf_write_2d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_2d_r32
-
interface
private module subroutine hdf_write_2d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_1d_i64
-
interface
private module subroutine hdf_write_1d_i64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_1d_i32
-
interface
private module subroutine hdf_write_1d_i32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_1d_r64
-
interface
private module subroutine hdf_write_1d_r64(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_1d_r32
-
interface
private module subroutine hdf_write_1d_r32(self, dname, value, ierr, chunk_size, istart, iend, stride, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_scalar_char
-
interface
private module subroutine hdf_write_scalar_char(self, dname, value, ierr, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_scalar_i64
-
interface
private module subroutine hdf_write_scalar_i64(self, dname, value, ierr, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_scalar_i32
-
interface
private module subroutine hdf_write_scalar_i32(self, dname, value, ierr, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_scalar_r64
-
interface
private module subroutine hdf_write_scalar_r64(self, dname, value, ierr, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |
procedure, private :: hdf_write_scalar_r32
-
interface
private module subroutine hdf_write_scalar_r32(self, dname, value, ierr, compact)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
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 | |