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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO READ A TEXT FILE WITH DOUBLE PRECISION NUMBERS TO AN OUTPUT TEXT FILE WITH REAL NO IN FORTRAN

Status
Not open for further replies.

JOSANPS

Student
Joined
Sep 24, 2021
Messages
1
Location
IN

INPUT TEXT FILE CONTENT

time isobaric lat lon u-component_of_wind_isobaric
0.0 10000.0 0.0 45.0 2.3169289
0.0 10000.0 0.0 45.119998931884766 2.4106789
0.0 95000.0 24.0 45.36000061035156 -3.8300781
0.0 95000.0 24.119998931884766 45.0 -1.7050781
0.0 100000.0 0.11999999731779099 45.36000061035156 -2.984314
0.0 100000.0 0.11999999731779099 45.47999954223633 -2.734314
0.0 100000.0 0.0 45.0 -2.890564
0.0 100000.0 0.0 45.119998931884766 -2.781189
0.0 100000.0 0.0 45.2400016784668 -2.781189

OUT PUT TEXT FILE CONTENT
time isobaric lat lon u-component_of_wind_isobaric
0.0 10000.00 0.00 45.00 2.32



 
I would suggest checking with the Stackoverflow website.

Do you have access to the FORTRAN standard/specification that covers READ and WRITE?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top