[Paraview] Plate boundaries VTK or Paraview format

2010-08-20 Thread Lester Anderson
Hello Is there a pre-built Paraview or VTK format file for Plate Boundaries (geophysics)? I need to correlate seismic tomography models with the existing plate boundaries for illustrative purposes. I found the coastline and political data in the Example Paraview data, and that worked fine.

Re: [Paraview] nan

2010-08-20 Thread David E DeMarle
You might write a python filter that iterates over all floating point arrays and replaces nan's with 0. According to http://stackoverflow.com/questions/944700/how-to-check-for-nan-in-python The most py version robust way to check for nan is: def isNaN(num): return num != num David E

Re: [Paraview] nan

2010-08-20 Thread David E DeMarle
That said, the same trick may work in the standard calculator filter with the expression: if(val=val, val, 0.0) David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Fri, Aug 20, 2010 at 9:26 AM, David E DeMarle

[Paraview] problems creating a Rectilinear Grid

2010-08-20 Thread Natalie Happenhofer
Hi! I am writing a filter which should calculate the horizontal average of a given dataset and display it as a function of depth. In my case, the x-coordinate specifies the radius and therefore the depth. I chose the output to be a rectilinear grid and tried to set it like this:

Re: [Paraview] nan

2010-08-20 Thread Aurélien Marsan
Hi, If you're using python, and if you can use the numpy library, you can use the function numpy.nan_to_num too. http://docs.scipy.org/doc/numpy/reference/generated/numpy.nan_to_num.html#numpy.nan_to_num Regards, Aurélien 2010/8/20 David E DeMarle dave.dema...@kitware.com That said, the same

Re: [Paraview] nan

2010-08-20 Thread Aurélien Marsan
You would have to use the numpy_support.vtk_to_numpy and numpy_support.numpy_to_vtk functions. You can find this module in the directory ParaView-3.8.0-Linux-x86_64/lib/paraview-3.8/paraview Then, you might write something like (for a StructuredGrid) array =

Re: [Paraview] New HDF5 based reader

2010-08-20 Thread Reuter, Michael A.
Thanks for the fix. My reader can now open the NeXus file, so I can continue to make it display the data. Thanks for all the help. Michael From: Dave Partyka [mailto:dave.part...@kitware.com] Sent: Tuesday, August 10, 2010 15:09 To: Reuter, Michael A. Cc: Utkarsh Ayachit; paraview@paraview.org

Re: [Paraview] nan

2010-08-20 Thread Eric E. Monson
If you can use numpy, and you're using a recent-enough version of ParaView, then you can also use the super-spiffy-numpy-hidden-behind-the-scenes programmable filter API to replace all of the attribute arrays with zero'd versions: pdi = self.GetInputDataObject(0,0) pdo =

[Paraview] Debugging vtp file

2010-08-20 Thread Ramsharan
I have a simple vtp file to draw a 2D triangle. ?xml version=1.0 encoding=utf-8? VTKFile type=PolyData version=0.1 byte_order=LittleEndian PolyData Piece NumberOfPoints=3 NumberOfPolys=1 Points

Re: [Paraview] Debugging vtp file

2010-08-20 Thread Utkarsh Ayachit
Yes, point coordinates in poly-data always need to be 3 components, hence the error. Utkarsh On Fri, Aug 20, 2010 at 11:37 AM, Ramsharan r.ramsha...@gmail.com wrote: I have a simple vtp file to draw a 2D triangle. ?xml version=1.0

Re: [Paraview] nan

2010-08-20 Thread Scott, W Alan
Thanks all! I believe we have found numerous solutions. Alan From: Eric E. Monson [mailto:emon...@cs.duke.edu] Sent: Friday, August 20, 2010 9:26 AM To: Scott, W Alan Cc: David E DeMarle; Aurélien Marsan; paraview@paraview.org list Subject: Re: [Paraview] nan If you can use numpy, and you're

Re: [Paraview] 3.8.0 build fails on qhelpgenerator command

2010-08-20 Thread Rick Angelini
We're also seeing the same problem with QT 4.6.3, but only on our Altix system when building 3.8.0 and 3.9.0 . it's a QT failure from the QSqlQuery. The build does complete if I rerun the make, but it does not generate the documentation. Linking CXX shared library

Re: [Paraview] nan

2010-08-20 Thread Scott, W Alan
Question - shouldn't the calculator be able to handle this? When you have Replace invalid results checked, shouldn't that change NANs to 0's? Is this a bug - and should I write up a bug report? Thanks, Alan From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf

Re: [Paraview] nan

2010-08-20 Thread Moreland, Kenneth
I would agree that this is a bug. The Replace invalid results was added because the calculator would spout out a bunch of errors when you have an expression that, for example, took the log of a negative number for some of the elements. This was before we considered NANs and just wanted some

[Paraview] Quadro FX 4800

2010-08-20 Thread Jimmy Dorff
Hi Folks, I've previously had problems getting paraview working with hardware rendering on our Dell precisions. Yesterday I discovered something interesting. On Fedora 13 system, kernel 2.6.33.6-147.2.4 nvidia driver 195.36.31 (rpmfusion) Paraview works perfectly with a GeForce 9600 GT and

Re: [Paraview] Quadro FX 4800

2010-08-20 Thread Paul McIntosh
Jimmy, Try the newer drivers - the current one is at about 256.xx Cheers, Paul -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Jimmy Dorff Sent: Saturday, 21 August 2010 6:57 AM To: paraview Subject: [Paraview] Quadro FX 4800