44
55contains
66
7+ module procedure h5exist
8+
9+ type (hdf5_file) :: h
10+
11+ call h% initialize(filename, status= ' old' , action= ' r' )
12+ h5exist = h% exist (dname)
13+ call h% finalize()
14+
15+ end procedure h5exist
16+
17+
718module procedure lt0read
819type (hdf5_file) :: h
920integer :: ier
1021
11- call h% initialize(filename, ier, status= ' old' )
22+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
1223
1324if (ier == 0 ) then
1425select type (value)
4152type (hdf5_file) :: h
4253integer :: ier
4354
44- call h% initialize(filename, ier, status= ' old' )
55+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
4556
4657if (ier == 0 ) then
4758select type (value)
7283type (hdf5_file) :: h
7384integer :: ier
7485
75- call h% initialize(filename, ier, status= ' old' )
86+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
7687
7788if (ier == 0 ) then
7889select type (value)
103114type (hdf5_file) :: h
104115integer :: ier
105116
106- call h% initialize(filename, ier, status= ' old' )
117+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
107118
108119if (ier == 0 ) then
109120select type (value)
134145type (hdf5_file) :: h
135146integer :: ier
136147
137- call h% initialize(filename, ier, status= ' old' )
148+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
138149
139150if (ier == 0 ) then
140151select type (value)
165176type (hdf5_file) :: h
166177integer :: ier
167178
168- call h% initialize(filename, ier, status= ' old' )
179+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
169180
170181if (ier == 0 ) then
171182select type (value)
196207type (hdf5_file) :: h
197208integer :: ier
198209
199- call h% initialize(filename, ier, status= ' old' )
210+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
200211
201212if (ier == 0 ) then
202213select type (value)
227238type (hdf5_file) :: h
228239integer :: ier
229240
230- call h% initialize(filename, ier, status= ' old' )
241+ call h% initialize(filename, ier, status= ' old' , action = ' r ' )
231242
232243if (ier == 0 ) then
233244select type (value)
253264
254265end procedure lt7read
255266
256- end submodule reader_lt
267+ end submodule reader_lt
0 commit comments