Displaying 1 result from an estimated 1 matches for "mm5file".
2005 Apr 21
1
.Fortran() again
...on reading
fortran binary object under R?
I was trying to read mm5 data under R. However, I seem to stuck at
reading fortran binary file storing met. data array. At the beginning,
I used readBin() to read mm5 output directly with the following
command.
#mmout is a mmout file generated with mm5
>mm5file<-file("mmout","rb")
>readBin(mm5file,integer(),n=1,size=1)
This gives output of "0", which is expect for this file. However, when
I started to read the rest of the file, I cannot get the result as
expected. The next bit of data is an 50 by 20 integer array, which...