Re: write binary file

From: Andrew Mai <mai_at_nyahnyahspammersnyahnyah>
Date: Mon May 13 2013 - 09:29:45 MDT

On 05/13/2013 09:25 AM, cheryl Ma wrote:

> Thanks. But seems this doesn't help.

Fortran direct access is tricky. Which compiler are you using. If Intel, the record size needs to be in units of 4-byte words (or use
the "-assume byterecl" compile flag).

Are you sure you are compiling and running the Fortran code on a big-endian machine? Most machines these days are little-endian.

What is the error message you are seeing (if any)?

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

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