Dear Simon,<br>
I am attaching TEST.tar.gz file. It contains cpre6190.dat,
precip.ctl, precip.dat, rd_asccii2binary.f. The fortran (f77) program
will write an output file named precip.dat and it is a
binary file contains 12 months global data. You can directly use this
to the .ctl file.<br>
best wishes<br>
xavier Francis<br>
Research Scholar<br>
IIT Kharagpur<br>
W.B, India<br><br><div><span class="gmail_quote">On 6/13/07, <b class="gmail_sendername">Mary Jo Nath</b> <<a href="mailto:Mary-Jo.Nath@noaa.gov">Mary-Jo.Nath@noaa.gov</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You are attempting to read integer data into real array "grid". Make<br>"grid" integer, then save it to a real array before writing it out.<br>Also, you are writing the data as open(...access="direct"...), but your
<br>*.ctl has "options sequential". Remove that option from the *ctl file.<br>MJ<br><br>Simon Krichak wrote:<br>> Hello,<br>><br>> I am testing now a simple code prepared to convert<br>> CRU 30-y ASCII data to GrADS compatible ones.
<br>> As far as I know I do it exactly according to the<br>> instructions. Everything works fine except for the<br>> final result which is bad.<br>> I've attached everything I could. Please let me know<br>
> what is wrong in my code or ctl file.<br>><br>> Simon<br>><br>><br>> Simon Krichak<br></blockquote></div><br>