I would like to write data into hdf5 file in fortran in an appended way, but I can't hold the data in a large memory array.
when writing using ascii I can do something like:
program example1
implicit none
integer :: nu, i
open(filename="someFile.txt", newunit=nu)
do i = 1, 10
write(nu, *) i
end do
close(nu)
end program example1
and what I would get is a file holding all of the integer numbers from 1 to 10 but without declaring a size 10 one dimensional array.
How can I write a hdf5 file in fortran that does exactly that, i.e holding the numbers in the same file under the same dataset name but without holding an array that holds these numbers?