Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

[Fortran] How to open .hdf5 file extension

  1. Nov 11, 2014 #1
    Hello, i am relatively new linux user so please be as thoroughly descriptive as you can.

    i am starting a project and i have a file "file.hdf5" which contains velocity data i need to process in my fortran program. What do i have to do in order to use the data inside this file?

    i normally use .dat extensions and i simply do:

    open(unit=1,file="file1.dat",status="replace")

    do i=1,N
    read(1,*)...
    enddo

    In this case what procedure should i follow?? Is it possible to do it directly from fortran or i must extract them using python?? I need any libraries for this and if so how do i install and use them ( haven't used any libraries before).

    if anyone has the courage to explain i would appreciate!!
     
  2. jcsd
  3. Nov 11, 2014 #2

    Dr Transport

    User Avatar
    Science Advisor
    Gold Member

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: [Fortran] How to open .hdf5 file extension
Loading...