Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JamesONeil

    Fortran code to read unformatted binary files

    Hello @mikrom, ok I understand know how the data are read and selected. Thanks a lot for your help and I think I will finally be able to be ok on my own with these files to do what I want ^^ I appreciated that you were not enough about some questions that might sound stupid for somebody who...
  2. JamesONeil

    Fortran code to read unformatted binary files

    Great ! Thanks @Space_Fede ! So now I can compile and get the results :) My LAST question and after I will stop bothering both of you ^^ So this program is compiling only a few values of the files we have and of course it is our choice to add more. So I guess that the values nrowsg and ncolsg...
  3. JamesONeil

    Fortran code to read unformatted binary files

    Ok great thanks a lot @mikrom now it compiles ! @Space_Fede do you still have the 3 files : Dg01_cnt2.5x2.5_EGM08_to2190_WGS84_ell_nh xi_cnt2.5x2.5_EGM08_to2190_WGS84_ell_nh eta_cnt2.5x2.5_EGM08_to2190_WGS84_ell_nh because I thought I had them but turns out not and because the link doesn't work...
  4. JamesONeil

    Fortran code to read unformatted binary files

    Ok so I created a new file .f and did exactly this command : gfortran read_3files.f -o readmin1 read_3files.f:1:1: 1 | program readmin1 | 1 Error: Non-numeric character in statement label at (1) I am using notepad++ to visualize the file so I don't know if there could be a problem...
  5. JamesONeil

    Fortran code to read unformatted binary files

    Hello, so I created a file containing your source and renamed it .f90 because I had some problems when compiling it that may come from a "fixed format". Anyway I tried to correct what I could but I don't understand these errors : gfortran read_3files.f90 -o readmin1 read_3files.f90:6:0: 6 |...
  6. JamesONeil

    Fortran code to read unformatted binary files

    @mikrom I still have the 3 huge binary data files so if you have the source one I will be glad ! Right now I am trying to compile it after removing the shell part but I have a lot of "unclassifiable statement error" and it seems it is because of the fixed format in Fortran. So if you still have...
  7. JamesONeil

    Fortran code to read unformatted binary files

    @mikrom yes I did but no way to find these files anymore
  8. JamesONeil

    Fortran code to read unformatted binary files

    Ok thank you Space_Fede I will try it ! By the way the link provided to get the files from NGA is not working for me so I don't know if they were moved since your last discussion. Do you know where could I download them again ?
  9. JamesONeil

    Fortran code to read unformatted binary files

    Hello, I am also new to Fortran and I wanted to know what did you do mikrom when you said "Then I extracted the fortran source from the shell script, compiled it with gfortran". The fortran script that is given has a shell header and after the program readmin1. Did you delete all the shell...

Part and Inventory Search

Back
Top