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...
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...
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...
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...
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 |...
@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...
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 ?
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.