How to define the rec_type in the function of fbinrecread to read a special binary file

From: Guangshan Chen <gchen9_at_nyahnyahspammersnyahnyah>
Date: Fri Jan 25 2013 - 09:17:04 MST

Dear all,

I have a binary file. It is written as the following in the fortran code:

integer a
real b,c

a=10
b=20.0
c=30.0

open(11, file="example01", form="unformatted")
write(11) a, b, c

There is only record in this binary file. If I would like to use fbinrecread to read
finrecread("example01", 0, 3, ????). How to define the rec_type?

a is integer, b and c are real.

Thanks for any help.

Guangshan

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jan 25 09:17:21 2013

This archive was generated by hypermail 2.1.8 : Tue Jan 29 2013 - 22:44:26 MST