<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>
<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>
<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>
<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>
<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>
<BR>
Hopefully the experts will be able to see if there is a problem.<BR>
<BR>
Thanks<BR>
<BR>
Lester<BR><BR>> Date: Sun, 2 Nov 2008 09:42:11 -0400<BR>> From: berk.geveci@kitware.com<BR>> To: lester_anderson1963@hotmail.com<BR>> Subject: Re: [Paraview] Writing binary VTK<BR>> CC: paraview@paraview.org<BR>> <BR>> Can you post a small example for us to look at? You can use the subset<BR>> filter to reduce the size of your dataset.<BR>> <BR>> -berk<BR>> <BR>> On Sun, Nov 2, 2008 at 9:02 AM, Lester Anderson<BR>> <lester_anderson1963@hotmail.com> wrote:<BR>> > Hi Berk<BR>> ><BR>> > Thanks for the information. With the help of yourself and others on the<BR>> > mailing list I have now got my large data "cube" into Paraview. Like all<BR>> > things new, it always helps to have the advice of experts on the<BR>> > methodology; so many thanks to all who have helped :)<BR>> ><BR>> > Saving to binary format is useful and saves on space too!<BR>> ><BR>> > One point I am not clear on is that I can generate the surface view and set<BR>> > the scalar to display density, as a cube, slice or clipped body, but when I<BR>> > try the volume option it shows nothing.<BR>> ><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>> ><BR>> > I also tried the clean_to_grid filter and although the file size goes up,<BR>> > there was still nothing on the volume view, and in fact caused Paraview<BR>> > 3.4.0 to crash.<BR>> ><BR>> > Thanks<BR>> ><BR>> > Lester<BR>> ><BR>> >> Date: Sun, 2 Nov 2008 07:30:16 -0400<BR>> >> From: berk.geveci@kitware.com<BR>> >> To: lester_anderson1963@hotmail.com<BR>> >> Subject: Re: [Paraview] Writing binary VTK<BR>> >> CC: kmorel@sandia.gov; paraview@paraview.org<BR>> >><BR>> >> If you already have the ascii VTK file, you can convert it to binary<BR>> >> by loading it in ParaView and saving it out as binary format. It is<BR>> >> pretty easy to automate this using Python. Let me know if you need an<BR>> >> example.<BR>> >><BR>> >> -berk<BR>> >><BR>> >> On Fri, Oct 31, 2008 at 1:28 AM, Lester Anderson<BR>> >> <lester_anderson1963@hotmail.com> wrote:<BR>> >> > Hi Ken<BR>> >> ><BR>> >> > Thanks for the info. So is there an easy way to take the ascii data and<BR>> >> > make<BR>> >> > it into a binary file (big-endian or ortherwise), or is it more<BR>> >> > involved?<BR>> >> > Basically I have my data already it just needs converting.<BR>> >> ><BR>> >> > Cheers<BR>> >> ><BR>> >> > Lester<BR>> >> ><BR>> >> >> From: kmorel@sandia.gov<BR>> >> >> To: lester_anderson1963@hotmail.com; paraview@paraview.org<BR>> >> >> Date: Thu, 30 Oct 2008 16:44:32 -0600<BR>> >> >> Subject: Re: [Paraview] Writing binary VTK<BR>> >> >><BR>> >> >> You have the basic idea for binary legacy VTK files. I think the one<BR>> >> >> caveat<BR>> >> >> is that the data needs to be written in big-endian format. (Someone<BR>> >> >> correct<BR>> >> >> me if I got that wrong.)<BR>> >> >><BR>> >> >> I'm not sure what you mean by the column vs. sequential style. I think<BR>> >> >> the<BR>> >> >> data parts in ASCII data treat all whitespace the same, so you should<BR>> >> >> be<BR>> >> >> able to order the data in as many columns as you like.<BR>> >> >><BR>> >> >> -Ken<BR>> >> >><BR>> >> >><BR>> >> >> On 10/30/08 1:53 PM, "Lester Anderson"<BR>> >> >> <lester_anderson1963@hotmail.com><BR>> >> >> wrote:<BR>> >> >><BR>> >> >> > Hello all<BR>> >> >> ><BR>> >> >> > I have got a really big dataset that I want to have in a binary<BR>> >> >> > format.<BR>> >> >> > I have<BR>> >> >> > the header information all sorted now, but want to know how to<BR>> >> >> > convert<BR>> >> >> > the<BR>> >> >> > data part to binary. From what I understand the binary VYK structure<BR>> >> >> > is<BR>> >> >> > basically the same as ascii except the data part is binary.<BR>> >> >> ><BR>> >> >> > On a second point, with an ascii VTK how can I change the data from a<BR>> >> >> > huge<BR>> >> >> > long column of data to the more sequential style shown in examples?<BR>> >> >> ><BR>> >> >> > I work on a PC<BR>> >> >> ><BR>> >> >> > thanks<BR>> >> >> ><BR>> >> >> > Lester<BR>> >> >> ><BR>> >> >> ><BR>> >> >> > For the best free wallpapers from MSN Click here!<BR>> >> >> > <http://wallpapers.msn.com/?ocid=[B001MSN42A0716B]><BR>> >> >><BR>> >> >><BR>> >> >> **** Kenneth Moreland<BR>> >> >> *** Sandia National Laboratories<BR>> >> >> ***********<BR>> >> >> *** *** *** email: kmorel@sandia.gov<BR>> >> >> ** *** ** phone: (505) 844-8919<BR>> >> >> *** fax: (505) 845-0833<BR>> >> >><BR>> >> >><BR>> >> >><BR>> >> ><BR>> >> ><BR>> >> > ________________________________<BR>> >> > Get the best wallpapers on the Web - FREE. Click here!<BR>> >> > _______________________________________________<BR>> >> > ParaView mailing list<BR>> >> > ParaView@paraview.org<BR>> >> > http://www.paraview.org/mailman/listinfo/paraview<BR>> >> ><BR>> >> ><BR>> ><BR>> ><BR>> > ________________________________<BR>> > 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>