How to push! new row to array in hdf5 file without read and write the array?
| | |_| | | | (_| | | Version 0.5.0 (2016-09-19 18:14 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-w64-mingw32
julia> using HDF5
julia> hfi=h5open("my_file.h5","w")
HDF5 data file: my_file.h5
julia> close(hfi)
julia> fid = h5open("my_file.h5","r+")
HDF5 data file: my_file.h5
julia> write(fid,"A",rand(5,5))
Is somthing l;ike push! ? :
julia> push!(fid,"A",rand(5))
ERROR: MethodError: no method matching push!(::HDF5.HDF5File, ::String)
Closest candidates are:
push!(::Any, ::Any, ::Any) at abstractarray.jl:1715
push!(::Any, ::Any, ::Any, ::Any...) at abstractarray.jl:1716
push!(::Array{Any,1}, ::ANY) at array.jl:486
...
in push!(::HDF5.HDF5File, ::String, ::Array{Float64,1}) at .\abstractarray.jl:1715
Paul