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

    I/O Line Limit?

    I verified that there are indeed exactly 89 columns of data. I then did what you said and what happened is fairly perplexing. The first entry in Data is 0.000. It then proceeds to fill the next 9 elements with the last 9 data points in the first row of my data. Following this, the rest are...
  2. nperlong

    I/O Line Limit?

    Nice I didn't think to print out L. The first time I ran it it printed L to be 141. I looked this up at it means: Invalid character in real input field Integer,Parameter :: IOERR_BAD_INPUT_INTEGER = 141 I then removed the j, from READ (16,40,IOSTAT=L) j, (DATA(I),I=1,89) and...
  3. nperlong

    I/O Line Limit?

    Hey guys, sorry for the delay I am finally returning to this project. I changed the old read statement to the following as you suggested. READ (16,40,IOSTAT=L) j, (DATA(I),I=1,89) 40 FORMAT (2X,I1,88(2X,E11.9)) Now the data array is simply all zeros. I don't understand what the "j," is doing...
  4. nperlong

    I/O Line Limit?

    Sorry I am new to the forums, i'll be sure to do that next time. Unfortunately, I am going on a trip for the rest of the week, so I wont be able to work on this project until Monday. I think I am going to be very close to solving this especially with your last couple posts. Thank you so much...
  5. nperlong

    I/O Line Limit?

    Wow things are getting really weird now... I was trying to avoid posting so much code but I guess it could be useful. When I run this below I get some super strange things in my log file. The log file continues in that while loop until an underflow occurs because its not getting T from the...
  6. nperlong

    I/O Line Limit?

    Thanks for the help guys... here is the beginning of my input file. LANL MPA data for Hour of May 24, 2000 UT sequence for midnight-centered LT, +/- 6.0 hours Adopted Energy Channels Ion_eV Electron_eV 40924.000 40275.332 31344.000 30753.166 . . . (40 of these lines) . 2.889 1.900...
  7. nperlong

    I/O Line Limit?

    The header lines are type character. If the spaces are delimiters with this type that explains why it only grabs the first word of this line, but I am not sure why its not skipping to the next line. The rest of my data is in x.xxxE+xx format.. declared as REAL. Here is some of my code...
  8. nperlong

    I/O Line Limit?

    I am wondering if there is a limit to the number of characters you can have per line of an input file? My input file is arranged as follows. 4 lines of header. 40 lines of data. 1 header line. Thousands more lines of data. The regular READ(unit #,*) Header works to get rid of the first 4 header...

Part and Inventory Search

Back
Top