Re: writing fortran unformatted record

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Mon, 11 Jun 2007 15:15:19 -0600

Mateus da Silva Teixeira wrote:
> Dear NCL users,
>
> Can I write a FORTRAN unformatted record having different data types?
>
> Let X, Y, and Z be of STRING, INTEGER, and FLOAT types, can I write
> them in a single record, in NCL, as in FORTRAN?, like
>
> open(50,file=out,status='unknown',form='unformatted',convert='big_endian',position='append')
>
> write(50) X,Y,Z

--
Sorry no.
You will have to write as 3 separate writes.
---
Of course, if x is a single string, you could write a fortran subroutine
and use that to do the writing.
D
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 11 2007 - 15:15:19 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 18 2007 - 10:46:11 MDT