Re: write binary file

From: cheryl Ma <xiaoyancloud_at_nyahnyahspammersnyahnyah>
Date: Mon May 13 2013 - 09:25:05 MDT

Thanks. But seems this doesn't help.

On Mon, May 13, 2013 at 11:13 AM, Andrew Mai <mai@ucar.edu> wrote:

> On 05/13/2013 08:39 AM, cheryl Ma wrote:
>
> open(10,file="11",
> & ACCESS='direct',FORM='unformatted',recl=4*nlat*nlon)
> do nt = 1, ntim
> read(10) cf
>
>
> You need to specify the record number in Fortran direct access. So
> something like:
>
> read(10,rec=nt)
>
> Andy
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon May 13 09:25:24 2013

This archive was generated by hypermail 2.1.8 : Wed May 15 2013 - 10:19:28 MDT