<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 interest in this problem. I have done a smaller sub-set, and even this does not work with the volume view which seems a bit odd as all other views work in 3.4.0<BR>
&nbsp;<BR>
It's not a big issue but would be interested to know if there is anything odd in the input data causing it. I do know that when I was testing the data with 2 or 3 layers it was working but the full data comprises 101 layers. The full data cube is about 800kb when saved in binary format.<BR>
&nbsp;<BR>
For background, the data were output from a Fortran program that converts seismic velocity to density, for use in forward calculation of gravity. The data is a "cube" of data XYZ of 30 x 30 x 10 km, with XY spacing 200m and Z spacing 100m (0 to 10 km depth).<BR>
&nbsp;<BR>
All other options that I needed with the data are fine, like slice, clip and probing (line or point). As a separate check I tried the data in VisIt 1.10 and the volume option again came up blank so I suspect a peculiarity with the data. As I mentioned previously, changing the data to a grid made no difference as far as the volume view was concerned.<BR>
&nbsp;<BR>
Hopefully the experts will be able to see if there is a problem.<BR>
&nbsp;<BR>
Thanks<BR>
&nbsp;<BR>
Lester<BR><BR>&gt; Date: Sun, 2 Nov 2008 09:42:11 -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: paraview@paraview.org<BR>&gt; <BR>&gt; Can you post a small example for us to look at? You can use the subset<BR>&gt; filter to reduce the size of your dataset.<BR>&gt; <BR>&gt; -berk<BR>&gt; <BR>&gt; On Sun, Nov 2, 2008 at 9:02 AM, Lester Anderson<BR>&gt; &lt;lester_anderson1963@hotmail.com&gt; wrote:<BR>&gt; &gt; Hi Berk<BR>&gt; &gt;<BR>&gt; &gt; Thanks for the information. With the help of yourself and others on the<BR>&gt; &gt; mailing list I have now got my large data "cube" into Paraview. Like all<BR>&gt; &gt; things new, it always helps to have the advice of experts on the<BR>&gt; &gt; methodology; so many thanks to all who have helped :)<BR>&gt; &gt;<BR>&gt; &gt; Saving to binary format is useful and saves on space too!<BR>&gt; &gt;<BR>&gt; &gt; One point I am not clear on is that I can generate the surface view and set<BR>&gt; &gt; the scalar to display density, as a cube, slice or clipped body, but when I<BR>&gt; &gt; try the volume option it shows nothing.<BR>&gt; &gt;<BR>&gt; &gt; # vtk DataFile Version 3.0<BR>&gt; &gt; vtk output<BR>&gt; &gt; ASCII<BR>&gt; &gt; DATASET STRUCTURED_POINTS<BR>&gt; &gt; DIMENSIONS 151 151 101<BR>&gt; &gt; SPACING 200 -200 -100<BR>&gt; &gt; ORIGIN 291024 2055975 0<BR>&gt; &gt; POINT_DATA 2302901<BR>&gt; &gt; SCALARS density double<BR>&gt; &gt; LOOKUP_TABLE default<BR>&gt; &gt; 2.3<BR>&gt; &gt; 2.3<BR>&gt; &gt; 2.3 etc<BR>&gt; &gt;<BR>&gt; &gt; I also tried the clean_to_grid filter and although the file size goes up,<BR>&gt; &gt; there was still nothing on the volume view, and in fact caused Paraview<BR>&gt; &gt; 3.4.0 to crash.<BR>&gt; &gt;<BR>&gt; &gt; Thanks<BR>&gt; &gt;<BR>&gt; &gt; Lester<BR>&gt; &gt;<BR>&gt; &gt;&gt; Date: Sun, 2 Nov 2008 07:30:16 -0400<BR>&gt; &gt;&gt; From: berk.geveci@kitware.com<BR>&gt; &gt;&gt; To: lester_anderson1963@hotmail.com<BR>&gt; &gt;&gt; Subject: Re: [Paraview] Writing binary VTK<BR>&gt; &gt;&gt; CC: kmorel@sandia.gov; paraview@paraview.org<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; If you already have the ascii VTK file, you can convert it to binary<BR>&gt; &gt;&gt; by loading it in ParaView and saving it out as binary format. It is<BR>&gt; &gt;&gt; pretty easy to automate this using Python. Let me know if you need an<BR>&gt; &gt;&gt; example.<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; -berk<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On Fri, Oct 31, 2008 at 1:28 AM, Lester Anderson<BR>&gt; &gt;&gt; &lt;lester_anderson1963@hotmail.com&gt; wrote:<BR>&gt; &gt;&gt; &gt; Hi Ken<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Thanks for the info. So is there an easy way to take the ascii data and<BR>&gt; &gt;&gt; &gt; make<BR>&gt; &gt;&gt; &gt; it into a binary file (big-endian or ortherwise), or is it more<BR>&gt; &gt;&gt; &gt; involved?<BR>&gt; &gt;&gt; &gt; Basically I have my data already it just needs converting.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Cheers<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; Lester<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt; From: kmorel@sandia.gov<BR>&gt; &gt;&gt; &gt;&gt; To: lester_anderson1963@hotmail.com; paraview@paraview.org<BR>&gt; &gt;&gt; &gt;&gt; Date: Thu, 30 Oct 2008 16:44:32 -0600<BR>&gt; &gt;&gt; &gt;&gt; Subject: Re: [Paraview] Writing binary VTK<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt; You have the basic idea for binary legacy VTK files. I think the one<BR>&gt; &gt;&gt; &gt;&gt; caveat<BR>&gt; &gt;&gt; &gt;&gt; is that the data needs to be written in big-endian format. (Someone<BR>&gt; &gt;&gt; &gt;&gt; correct<BR>&gt; &gt;&gt; &gt;&gt; me if I got that wrong.)<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt; I'm not sure what you mean by the column vs. sequential style. I think<BR>&gt; &gt;&gt; &gt;&gt; the<BR>&gt; &gt;&gt; &gt;&gt; data parts in ASCII data treat all whitespace the same, so you should<BR>&gt; &gt;&gt; &gt;&gt; be<BR>&gt; &gt;&gt; &gt;&gt; able to order the data in as many columns as you like.<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt; -Ken<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt; On 10/30/08 1:53 PM, "Lester Anderson"<BR>&gt; &gt;&gt; &gt;&gt; &lt;lester_anderson1963@hotmail.com&gt;<BR>&gt; &gt;&gt; &gt;&gt; wrote:<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt; &gt; Hello all<BR>&gt; &gt;&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt; &gt; I have got a really big dataset that I want to have in a binary<BR>&gt; &gt;&gt; &gt;&gt; &gt; format.<BR>&gt; &gt;&gt; &gt;&gt; &gt; I have<BR>&gt; &gt;&gt; &gt;&gt; &gt; the header information all sorted now, but want to know how to<BR>&gt; &gt;&gt; &gt;&gt; &gt; convert<BR>&gt; &gt;&gt; &gt;&gt; &gt; the<BR>&gt; &gt;&gt; &gt;&gt; &gt; data part to binary. From what I understand the binary VYK structure<BR>&gt; &gt;&gt; &gt;&gt; &gt; is<BR>&gt; &gt;&gt; &gt;&gt; &gt; basically the same as ascii except the data part is binary.<BR>&gt; &gt;&gt; &gt;&gt; &gt;<BR>&gt; &gt;&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;&gt; &gt; huge<BR>&gt; &gt;&gt; &gt;&gt; &gt; long column of data to the more sequential style shown in examples?<BR>&gt; &gt;&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt; &gt; I work on a PC<BR>&gt; &gt;&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt; &gt; thanks<BR>&gt; &gt;&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt; &gt; Lester<BR>&gt; &gt;&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt; &gt; For the best free wallpapers from MSN Click here!<BR>&gt; &gt;&gt; &gt;&gt; &gt; &lt;http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt; **** Kenneth Moreland<BR>&gt; &gt;&gt; &gt;&gt; *** Sandia National Laboratories<BR>&gt; &gt;&gt; &gt;&gt; ***********<BR>&gt; &gt;&gt; &gt;&gt; *** *** *** email: kmorel@sandia.gov<BR>&gt; &gt;&gt; &gt;&gt; ** *** ** phone: (505) 844-8919<BR>&gt; &gt;&gt; &gt;&gt; *** fax: (505) 845-0833<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt; ________________________________<BR>&gt; &gt;&gt; &gt; Get the best wallpapers on the Web - FREE. Click here!<BR>&gt; &gt;&gt; &gt; _______________________________________________<BR>&gt; &gt;&gt; &gt; ParaView mailing list<BR>&gt; &gt;&gt; &gt; ParaView@paraview.org<BR>&gt; &gt;&gt; &gt; http://www.paraview.org/mailman/listinfo/paraview<BR>&gt; &gt;&gt; &gt;<BR>&gt; &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><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>