Displaying 1 result from an estimated 1 matches for "mjx".
Did you mean:
max
2005 Apr 23
0
reading fortran binary file
Hi r-help,
I have some troubles reading fortran binary file(from mm5) in R. Here
is what I have done.
1. Use a fortran subroutine to read this file in R. The subroutine is
as the following.
subroutine freadmm5(filenamet,out2d)
integer iflag,var1,miy,mjx,mkz,mt,z,t
character*4 crdt,corder
character*24 chrdate
character*9 cname,var
character*25 cunit,uunit,vunit,wunit
character*80 filename
real out2d(157,109),out3d(157,109,24)
OPEN (11,FILE=filename,FORM='UNFORMATTED')
10 READ(11) IFLAG
IF (...