HDF5 object-oriented polymorphic interface
Submodules
Submodules
Submodules
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(inout) | :: | self | |||
character(len=*), | intent(in) | :: | gname | |||
integer, | intent(out), | optional | :: | ierr |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(inout) | :: | self | |||
integer, | intent(out), | optional | :: | ierr |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(inout) | :: | self | |||
character(len=*), | intent(in) | :: | target | |||
character(len=*), | intent(in) | :: | link |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname |
H5D_CONTIGUOUS_F, H5D_CHUNKED_F, H5D_VIRTUAL_F, H5D_COMPACT_F
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname | |||
integer(kind=hsize_t), | intent(out) | :: | chunk_size(:) |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename | |||
character(len=*), | intent(in) | :: | dname | |||
character(len=*), | intent(in) | :: | attr | |||
character(len=*), | intent(in) | :: | attrval | |||
integer, | intent(out), | optional | :: | ierr |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename | |||
character(len=*), | intent(in) | :: | dname | |||
character(len=*), | intent(in) | :: | attr | |||
class(*), | intent(in) | :: | attrval(:) | |||
integer, | intent(out), | optional | :: | ierr |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename | |||
character(len=*), | intent(in) | :: | dname | |||
character(len=*), | intent(in) | :: | attr | |||
character(len=*), | intent(inout) | :: | attrval | intent(inout) for character |
||
integer, | intent(out), | optional | :: | ierr |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename | |||
character(len=*), | intent(in) | :: | dname | |||
character(len=*), | intent(in) | :: | attr | |||
class(*), | intent(out) | :: | attrval(:) | |||
integer, | intent(out), | optional | :: | ierr |
main type
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | filename | |||
integer(kind=HID_T), | public | :: | lid | = | 0 | ||
integer(kind=HID_T), | public | :: | gid | ||||
integer(kind=HID_T), | public | :: | glid | ||||
integer, | public | :: | comp_lvl | = | 0 | ||
logical, | public | :: | verbose | = | .true. | ||
logical, | public | :: | debug | = | .false. | ||
logical, | public | :: | is_open | = | .false. | ||
logical, | public | :: | is_scratch | = | .false. | will be auto-deleted on close |
|
integer, | public | :: | libversion(3) |
final :: destructor | flush file to disk and close file if user forgets to do so. |
procedure, public :: softlink => create_softlink | define methods (procedures) that don't need generic procedure |
procedure, public :: is_compact => hdf_is_compact | |
procedure, public :: is_chunked => hdf_is_chunked | |
procedure, public :: is_contig => hdf_is_contig | |
procedure, public :: exists => hdf_check_exist | |
procedure, public :: exist => hdf_check_exist | |
procedure, public :: chunks => hdf_get_chunk | |
procedure, public :: layout => hdf_get_layout | |
procedure, public :: shape => hdf_get_shape | |
procedure, public :: ndims => hdf_get_ndims | |
procedure, public :: flush => hdf_flush | |
procedure, public :: close_group => hdf_close_group | |
procedure, public :: open_group => hdf_open_group | |
procedure, public :: create => hdf_create | |
procedure, public :: write_group | |
procedure, public :: close => hdf_finalize | |
procedure, public :: finalize => hdf_finalize | |
procedure, public :: open => hdf_initialize | |
procedure, public :: initialize => hdf_initialize | |
generic, public :: write => hdf_write_scalar_r32, hdf_write_scalar_r64, hdf_write_scalar_i32, hdf_write_scalar_i64, hdf_write_scalar_char, hdf_write_1d_r32, hdf_write_1d_r64, hdf_write_1d_i32, hdf_write_1d_i64, hdf_write_2d_r32, hdf_write_2d_r64, hdf_write_2d_i32, hdf_write_2d_i64, hdf_write_3d_r32, hdf_write_3d_r64, hdf_write_3d_i32, hdf_write_3d_i64, hdf_write_4d_r32, hdf_write_4d_r64, hdf_write_4d_i32, hdf_write_4d_i64, hdf_write_5d_r32, hdf_write_5d_r64, hdf_write_5d_i32, hdf_write_5d_i64, hdf_write_6d_r32, hdf_write_6d_r64, hdf_write_6d_i32, hdf_write_6d_i64, hdf_write_7d_r32, hdf_write_7d_r64, hdf_write_7d_i32, hdf_write_7d_i64 | below are procedure that need generic mapping (type or rank agnostic) write group or dataset integer/real |
generic, public :: write_r32 => hdf_write_scalar_r32, hdf_write_1d_r32, hdf_write_2d_r32, hdf_write_3d_r32, hdf_write_4d_r32, hdf_write_5d_r32, hdf_write_6d_r32, hdf_write_7d_r32 | |
generic, public :: write_r64 => hdf_write_scalar_r64, hdf_write_1d_r64, hdf_write_2d_r64, hdf_write_3d_r64, hdf_write_4d_r64, hdf_write_5d_r64, hdf_write_6d_r64, hdf_write_7d_r64 | |
generic, public :: write_i32 => hdf_write_scalar_i32, hdf_write_1d_i32, hdf_write_2d_i32, hdf_write_3d_i32, hdf_write_4d_i32, hdf_write_5d_i32, hdf_write_6d_i32, hdf_write_7d_i32 | |
generic, public :: write_i64 => hdf_write_scalar_i64, hdf_write_1d_i64, hdf_write_2d_i64, hdf_write_3d_i64, hdf_write_4d_i64, hdf_write_5d_i64, hdf_write_6d_i64, hdf_write_7d_i64 | |
generic, public :: write_char => hdf_write_scalar_char | |
generic, public :: writeattr => writeattr_char, writeattr_num | write attributes |
generic, public :: readattr => readattr_char, readattr_num | read attributes |
generic, public :: read => hdf_read_scalar, hdf_read_1d, hdf_read_2d, hdf_read_3d, hdf_read_4d, hdf_read_5d, hdf_read_6d, hdf_read_7d | read dataset |
procedure, private :: readattr_num | private methods each method must be declared here, and above as a generic, public |
procedure, private :: readattr_char | |
procedure, private :: writeattr_num | |
procedure, private :: writeattr_char | |
procedure, private :: hdf_read_7d | |
procedure, private :: hdf_read_6d | |
procedure, private :: hdf_read_5d | |
procedure, private :: hdf_read_4d | |
procedure, private :: hdf_read_3d | |
procedure, private :: hdf_read_2d | |
procedure, private :: hdf_read_1d | |
procedure, private :: hdf_read_scalar | |
procedure, private :: hdf_write_7d_i64 | |
procedure, private :: hdf_write_7d_i32 | |
procedure, private :: hdf_write_7d_r64 | |
procedure, private :: hdf_write_7d_r32 | |
procedure, private :: hdf_write_6d_i64 | |
procedure, private :: hdf_write_6d_i32 | |
procedure, private :: hdf_write_6d_r64 | |
procedure, private :: hdf_write_6d_r32 | |
procedure, private :: hdf_write_5d_i64 | |
procedure, private :: hdf_write_5d_i32 | |
procedure, private :: hdf_write_5d_r64 | |
procedure, private :: hdf_write_5d_r32 | |
procedure, private :: hdf_write_4d_i64 | |
procedure, private :: hdf_write_4d_i32 | |
procedure, private :: hdf_write_4d_r64 | |
procedure, private :: hdf_write_4d_r32 | |
procedure, private :: hdf_write_3d_i64 | |
procedure, private :: hdf_write_3d_i32 | |
procedure, private :: hdf_write_3d_r64 | |
procedure, private :: hdf_write_3d_r32 | |
procedure, private :: hdf_write_2d_i64 | |
procedure, private :: hdf_write_2d_i32 | |
procedure, private :: hdf_write_2d_r64 | |
procedure, private :: hdf_write_2d_r32 | |
procedure, private :: hdf_write_1d_i64 | |
procedure, private :: hdf_write_1d_i32 | |
procedure, private :: hdf_write_1d_r64 | |
procedure, private :: hdf_write_1d_r32 | |
procedure, private :: hdf_write_scalar_char | |
procedure, private :: hdf_write_scalar_i64 | |
procedure, private :: hdf_write_scalar_i32 | |
procedure, private :: hdf_write_scalar_r64 | |
procedure, private :: hdf_write_scalar_r32 |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname |
is this file HDF5?
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | ierr | |||
character(len=*), | intent(in), | optional | :: | filename | ||
character(len=*), | intent(in), | optional | :: | dname |
Opens hdf5 file
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 |
This must be called on each HDF5 file to flush buffers to disk data loss can occur if program terminates before this procedure
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(inout) | :: | self | |||
integer, | intent(out), | optional | :: | ierr | ||
logical, | intent(in), | optional | :: | close_hdf5_interface |
Close file and handle if user forgets to do so
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(hdf5_file), | intent(inout) | :: | self |
request operating system flush data to disk. The operating system can do this when it desires, which might be a while.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
integer, | intent(out), | optional | :: | ierr |
this subroutine will close ALL existing file handles only call it at end of your program "Flushes all data to disk, closes all open identifiers, and cleans up memory." "Should be called by all HDF5 Fortran programs"
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out), | optional | :: | ierr |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | gname | |||
integer, | intent(out), | optional | :: | ierr |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=HID_T), | intent(in) | :: | did | |||
integer(kind=HID_T), | intent(in) | :: | sid | |||
integer, | intent(out) | :: | ierr |
setup array slices for read and write istart iend
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname | |||
integer(kind=HID_T), | intent(inout) | :: | did | |||
integer(kind=hid_t), | intent(out) | :: | sid | |||
integer(kind=hid_t), | intent(out) | :: | mem_sid | |||
class(*), | intent(in), | dimension(:) | :: | i0 | ||
class(*), | intent(in), | dimension(:) | :: | i1 | ||
class(*), | intent(in), | optional | dimension(:) | :: | i2 |
allow user to specify int4 or int8 dims check for matching rank, else bad reads can occur--doesn't always crash without this check check for matching size, else bad reads can occur.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname | |||
class(*), | intent(in) | :: | dims(:) |