Thank you very much!<br>
Following your instructions and checking also the &quot;forced read&quot; button, it works!<br>
<br>
Francesco<br><br><div><span class="gmail_quote">On 3/29/06, <b class="gmail_sendername">Joelle Caro</b> &lt;<a href="mailto:Joelle.Caro@ec-lyon.fr">Joelle.Caro@ec-lyon.fr</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">


  


Hello,<br>
<br>
<br>
&gt;From your mail, I guess that you write your &quot;binary&quot; file with fortran, In
fact fortran writes &quot;unformatted&quot; files, that differ slightly from &quot;binary&quot;
files written with C language. The difference is that fortran adds a byte
at the beginning of the record.<br>
<br>
The vtkPlot3D reader allows you to read your unformatted file, you choose
Binary and Fortran Byte Count in your reader interface. I think it will work.<br>
If it doesnt, try to change bigendian in littleendian.<br>
<br>
<br>
<blockquote type="cite">
  <pre>------------------------------<br><br>Date: Wed, 29 Mar 2006 14:02:28 +0000<br>From: &quot;Francesco Fornarelli&quot; <a href="mailto:f.fornarelli@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
&lt;f.fornarelli@gmail.com&gt;</a><br>Subject: [Paraview] plot3d reading problem<br>To: <a href="mailto:paraview@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">paraview@paraview.org</a>
<br>Message-ID:<br>        <a href="mailto:c7cbcb130603290602ldc4281atdf0fd972ee183c66@mail.gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">&lt;c7cbcb130603290602ldc4281atdf0fd972ee183c66@mail.gmail.com&gt;
</a><br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Hi,<br>I'm getting crazy because I can't read my plot3d file in binary. I have<br>500MB formatted plot3d data file so the binary format should be better to
<br>manage.<br>This is my fortran code to write the .xyz and .q file:<br><br>open(12,file='bouco.xyz',form='formatted',status='unknown')<br>       rewind(12)<br>       write(12,*) n3,n2,n1<br>        write(12,121)<br>     %  (((x3c(k),k=1,n3,n3p),j=1,n2,n2p),i=1,n1,n1p),
<br>     %  (((x2c(j),k=1,n3,n3p),j=1,n2,n2p),i=1,n1,n1p),<br>     %  (((x1c(i),k=1,n3,n3p),j=1,n2,n2p),i=1,n1,n1p)<br>        close(12)<br><br><br><br>namfi3='post.q'<br>      open(29,file=namfi3,form='formatted',status='unknown')
<br>      rewind(29)<br>      write(29,*) n3,n2,n1<br>      write(29,*) 1.,1.,1.,1.<br>      write(29,121) (((vmod(i,j,k),k=1,n3),j=1,n2),i=1,n1)<br>      write(29,121) (((v3(i,j,k),k=1,n3),j=1,n2),i=1,n1)<br>     %             ,(((v2(i,j,k),k=1,n3),j=1,n2),i=1,n1)
<br>     %             ,(((v1(i,j,k),k=1,n3),j=1,n2),i=1,n1)<br>     %             ,(((vmod(i,j,k),k=1,n3),j=1,n2),i=1,n1)<br>      close(29)<br><br>If I write  unformatted files Paraview doesn't work.<br><br>Anybody know which is the problem.
<br><br>Thank you in advance!<br><br>bye,<br>Francesco<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://public.kitware.com/pipermail/paraview/attachments/20060329/4a1ab877/attachment-0001.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://public.kitware.com/pipermail/paraview/attachments/20060329/4a1ab877/attachment-0001.html</a><br><br>  </pre>
</blockquote>
Joëlle,<br>
<div>
<address style="text-align: justify;"><br>
 </address>
 </div>
<br>




</div><br>_______________________________________________<br>ParaView mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a><br><br><br></blockquote></div><br>