<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Berk<BR>
&nbsp;<BR>
Thanks for the information. With the help of yourself and others on the mailing list I have now got my large data "cube" into Paraview. Like all things new, it always helps to have the advice of experts on the methodology; so many thanks to all who have helped :)<BR>
&nbsp;<BR>
Saving to binary format is useful and saves on space too!<BR>
&nbsp;<BR>
One point I am not clear on is that I can generate the surface view and set the scalar to display density, as a cube, slice or clipped body, but when I try the volume option it shows nothing.<BR>
&nbsp;<BR>
# vtk DataFile Version 3.0<BR>vtk output<BR>ASCII<BR>DATASET STRUCTURED_POINTS<BR>DIMENSIONS 151 151 101<BR>SPACING 200 -200 -100<BR>ORIGIN 291024 2055975 0<BR>POINT_DATA 2302901<BR>SCALARS density double<BR>LOOKUP_TABLE default<BR>2.3<BR>2.3<BR>2.3 etc<BR>
&nbsp;<BR>
I also tried the clean_to_grid filter and although the file size goes up, there was still nothing on the volume view, and in fact caused Paraview 3.4.0 to crash.<BR>
&nbsp;<BR>
Thanks<BR>
&nbsp;<BR>
Lester<BR><BR>&gt; Date: Sun, 2 Nov 2008 07:30:16 -0400<BR>&gt; From: berk.geveci@kitware.com<BR>&gt; To: lester_anderson1963@hotmail.com<BR>&gt; Subject: Re: [Paraview] Writing binary VTK<BR>&gt; CC: kmorel@sandia.gov; paraview@paraview.org<BR>&gt; <BR>&gt; If you already have the ascii VTK file, you can convert it to binary<BR>&gt; by loading it in ParaView and saving it out as binary format. It is<BR>&gt; pretty easy to automate this using Python. Let me know if you need an<BR>&gt; example.<BR>&gt; <BR>&gt; -berk<BR>&gt; <BR>&gt; On Fri, Oct 31, 2008 at 1:28 AM, Lester Anderson<BR>&gt; &lt;lester_anderson1963@hotmail.com&gt; wrote:<BR>&gt; &gt; Hi Ken<BR>&gt; &gt;<BR>&gt; &gt; Thanks for the info. So is there an easy way to take the ascii data and make<BR>&gt; &gt; it into a binary file (big-endian or ortherwise), or is it more involved?<BR>&gt; &gt; Basically I have my data already it just needs converting.<BR>&gt; &gt;<BR>&gt; &gt; Cheers<BR>&gt; &gt;<BR>&gt; &gt; Lester<BR>&gt; &gt;<BR>&gt; &gt;&gt; From: kmorel@sandia.gov<BR>&gt; &gt;&gt; To: lester_anderson1963@hotmail.com; paraview@paraview.org<BR>&gt; &gt;&gt; Date: Thu, 30 Oct 2008 16:44:32 -0600<BR>&gt; &gt;&gt; Subject: Re: [Paraview] Writing binary VTK<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; You have the basic idea for binary legacy VTK files. I think the one<BR>&gt; &gt;&gt; caveat<BR>&gt; &gt;&gt; is that the data needs to be written in big-endian format. (Someone<BR>&gt; &gt;&gt; correct<BR>&gt; &gt;&gt; me if I got that wrong.)<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I'm not sure what you mean by the column vs. sequential style. I think the<BR>&gt; &gt;&gt; data parts in ASCII data treat all whitespace the same, so you should be<BR>&gt; &gt;&gt; able to order the data in as many columns as you like.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; -Ken<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On 10/30/08 1:53 PM, "Lester Anderson" &lt;lester_anderson1963@hotmail.com&gt;<BR>&gt; &gt;&gt; wrote:<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt; Hello all<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; I have got a really big dataset that I want to have in a binary format.<BR>&gt; &gt;&gt; &gt; I have<BR>&gt; &gt;&gt; &gt; the header information all sorted now, but want to know how to convert<BR>&gt; &gt;&gt; &gt; the<BR>&gt; &gt;&gt; &gt; data part to binary. From what I understand the binary VYK structure is<BR>&gt; &gt;&gt; &gt; basically the same as ascii except the data part is binary.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; On a second point, with an ascii VTK how can I change the data from a<BR>&gt; &gt;&gt; &gt; huge<BR>&gt; &gt;&gt; &gt; long column of data to the more sequential style shown in examples?<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; I work on a PC<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; thanks<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Lester<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; For the best free wallpapers from MSN Click here!<BR>&gt; &gt;&gt; &gt; &lt;http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; **** Kenneth Moreland<BR>&gt; &gt;&gt; *** Sandia National Laboratories<BR>&gt; &gt;&gt; ***********<BR>&gt; &gt;&gt; *** *** *** email: kmorel@sandia.gov<BR>&gt; &gt;&gt; ** *** ** phone: (505) 844-8919<BR>&gt; &gt;&gt; *** fax: (505) 845-0833<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; ________________________________<BR>&gt; &gt; Get the best wallpapers on the Web - FREE. Click here!<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; ParaView mailing list<BR>&gt; &gt; ParaView@paraview.org<BR>&gt; &gt; http://www.paraview.org/mailman/listinfo/paraview<BR>&gt; &gt;<BR>&gt; &gt;<BR><BR><br /><hr />Get the best wallpapers on the Web - FREE. <a href='http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]' target='_new'>Click here!</a></body>
</html>