<div dir="ltr">Xiaoming,<br><div><br></div><div>Please tell us the following debug information.</div><div><br></div><div>* The exact values of <span style="font-size:14px">ids, ide, j</span><span style="font-size:14px">ds jde.</span></div><div><span style="font-size:14px">* The exact size of the file, in bytes, from "ls -l".</span></div><div><span style="font-size:14px">* The fortran data type of the array "h" in the fortran program (real, double, or what?)</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">* NCL version number.</span></div><div><span style="font-size:14px">* Fortran compiler name and version number.</span><br></div><div><span style="font-size:14px">* The output from system command "uname -a".</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">Also, just a guess, try adding close (10) at the end of your fortran program, and see if that helps.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">--Dave</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 3, 2015 at 11:09 AM, xiaoming Hu <span dir="ltr"><<a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hello <br><br>In fortran I have:<br> ids=1;<br> open(10,file='./test.dat',form='unformatted',access='sequential')<br> write(10)((h(i,j),i=ids,ide),j=jds,jde)<br><br><br>In ncl I tried to use<br> h = fbinrecread ("./test.dat",0, (/jde,ide/),"float")<br>to read<br><br>But I got <br>warning:fbinrecread: size specified is greater than record size, filling with missing values<br>fatal:fbinrecread: an error occurred reading the requested record. Something is wrong with the FORTRAN binary file.<br>fatal:Execute: Error occurred at or near line 11 in file conwomap_2.ncl<br><br>Can anybody help? <br><br>Thanks a lot!<span class="HOEnZb"><font color="#888888"><br><br>Xiaoming <br>                                            </font></span></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>