How to format a data ascii file in Fortran on RedHat linux?

  • Context: Fortran 
  • Thread starter Thread starter Fortran_begin
  • Start date Start date
  • Tags Tags
    Fortran
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
Fortran_begin
Messages
1
Reaction score
0
it is my first post and It is very serious and urgent
I have a data ascii file composed of real and integer data.
these data are separated by commas.

would any of you write some code to change its format into this?
FORMAT(5I3,F7.2,F6.2,F8.3,F7.2,F10.3,2F7.2,F6.2,I4,f6.1,F6.2)

I am a beginner in Fortran programing and I use RedHat linux to compile it.

thank you


 
Physics news on Phys.org