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 strongm 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. Thardy

    Lookup table

    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
  2. Thardy

    Lookup table

    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...
  3. Thardy

    Lookup table

    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
  4. Thardy

    Lookup table

    LAT file link:http://www.mediafire.com/?p673z008n7bva25
  5. Thardy

    Lookup table

    LON file link:http://www.mediafire.com/?bm4zca31j6afywu
  6. Thardy

    Lookup table

    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...
  7. Thardy

    File Reading

    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.
  8. Thardy

    File Reading

    The explanation file link is below Thanks http://www.mediafire.com/?oekf3fftko42997
  9. Thardy

    File Reading

    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...
  10. Thardy

    Fortran error in binary file reading

    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
  11. Thardy

    Fortran error in binary file reading

    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...
  12. Thardy

    Fortran error in binary file reading

    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...
  13. Thardy

    Fortran error in binary file reading

    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 ...

Part and Inventory Search

Back
Top