[Thread Prev][Thread Next][Index]

Re: how can i read all my data from files?



I read it by file/format=stream/grid=gridxy/columns=64800/var=xx  c:\tmp\sh2.dat
and this data file(sh2.dat) is writted by Visual Fortran  6.0. Pls see
the below:

     parameter(mi=360,mj=180,msea=12)
      real map1(mi,mj)
 
open(1,form='unformatted',file='sh2.dat',access='direct',recl=mi*mj)

       do is=1,msea
        write(1,rel=is)  map1
      enddo

thanks ur reply.

       weiq

 

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement