NCL-FORTRAN -- flat binary

From: Erika Folova <e.folova_at_nyahnyahspammersnyahnyah>
Date: Wed Jul 10 2013 - 09:49:30 MDT

Hallo,
I am testing to produce flat binary using NCL dan Matlab,
the size of file resulting from both of these tools are equal xxxx.byte.
But, when once i used the binary files as for the fortran input
(form='unformatted',access='direct')
the result of the calculation are mistaken from the binary produced by NCL.
I am using function * fbindirwrite.*

How can I produce the flat binary as the input of fortran code.
Thank you

Erika,

--
Here is my code:
    fo = "test.dat"
    f1 = addfile ("rea-uwnd.nc", "r")
    x = f1->uwnd(:,:,{20:40})    ;NH
    printVarSummary(data)
    x1 = x(lat|:,lev|:,time|:)
    printVarSummary(x1)
    fbindirwrite(fo, x)

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Jul 10 09:49:44 2013

This archive was generated by hypermail 2.1.8 : Fri Jul 12 2013 - 16:37:39 MDT