[Thread Prev][Thread Next][Index]
Re: fortran format read
Namba Takaya <takayanamba@hotmail.com> writes:
>Dear sir
>
>
>I try to read ascii file (fort.12).
>
>file/var=aaa/format="(10(f7.2,x))" fort.12
>
>
>fort.12 is fortran format of 10(f7.2,x)
Try format of format(10f7.2)
> 1.00 2.00 3.00 4.00 5.00 6.00 7.00 8.00 9.00
>10.00
> 11.00 12.00 13.00 14.00 15.00 16.00 17.00 18.00 19.00
>20.00
>...
>...
>...
>
>However, they read only first column of all rows only.
>
>Could you tell me how I could read like fortran?
>
>Best Regards
>
>Takaya Namba
________________________________________________
Steve Cousins Email: cousins@umit.maine.edu
Research Associate Phone: (207) 581-4302
Ocean Modeling Group
School of Marine Sciences 208 Libby Hall,
University of Maine Orono ME 04469
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement