Hope to have expressed in detail the issue in the program I sent.
Anybody's help to re-arrange this program or propose a new program that will solve the lookup table problem will be appreciated.
Thanks
Thardy
Salgerman,
Thank you very much for re-arranging this program.I appreciate that. It works well, but I'm still facing the same issue as initially i.e. it processes only one value for latitude and longitude; that produces one value from the lookup table (0.35298297).
An array of 1236*1656 (same...
Thanks for your reaction to my problem.
Even after assigning x and y respectively equal to 1236 and 1656, the issue is not solved.
An example of program structure different from mine would be appreciated.
Thardy
Dear all,
I am trying to read and write data from a lookup table(binary file LUT) based on geographical coordinates from binary files "LON"(longitude) and "LAT"(latitude). The program is running but does not provide real values after the firt reading(0.013231), i.e. the remaining values are...
Though I'm still dealing with the issue of this file, thanks a lot for all the suggestions or answers provided by everyone. I appreciate them. Sorry for the file names' messup.
Dear all,
Trying to read the climate binary program (then write to ascii) attached here but having an error at line 55. My Fortran program is below, thanks for the help:
implicit none
integer :: lon,lat,j,k,i
character*4 :: par...
Thanks to all those who tried to help.
I did review the program and realized that there was a loop missing at the second read statement.
Now everything is OK.
Thardy
Hi Salgerman,
Thanks for your reaction.
The error occurs when reading the second record i.e.at the line:
"read(11, rec = i_pix + 1)& X, Y,& ( A(j_lay), j_lay =1, k_layer),& ( W(j_lay), j_lay =1, k_layer),& ( T(j_lay), j_lay =1, k_layer),& ST,& (GA(itr),itr=1,2), & (GB(itr),itr=1,3)"
The...
Dear FJack,
Thanks a lot for your quick reaction to my posting.
1) the origin of the file is a fortran program generated file.
2)About the reading, yes indeed the file is supposed to be access='direct'.
For the writing, I agree with you that the access declaration could be omitted.
I tried...
Dear members,
I wrote a program to read a binary file I received.
1) The structure of the biary file is as follows:
1st line : P(1),P(2),P(3),....,P(N) ; where,P(1)>P(2)....
2nd line : X,Y,A(P(2)),..,A(P(N)),W(P(2)),..,W(P(N)),T(P(2)), ..,T(P(N)),ST,GA1,GA2,GB1,GB2,GB3
3nd line ...
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.