Excluding characters in Fortran

  • Topic: Comp Sci 
  • Thread starter Thread starter doublemint
  • Start date Start date
  • Tags Tags
    Fortran
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
doublemint
Messages
138
Reaction score
0
Hello!

I am trying to write a code in Fortran to process the following data and write it into another file:

# energy (in eV), F(E) (in particles per m^2 per s per ster)

1.81E+17 8.3443E-28
2.26E+17 2.75658E-28
...

So far, I got the code to read everything, however, I can not get rid of the first two lines. Does anyone know how to?

Thanks
DoubleMint
 
Physics news on Phys.org