Steve,
A couple of things to note:
* SLAC reader has multiple outputs. So you have to ensure that you
have connected the PlotOverLine to the Entire Volume output. The
trace is not recognizing what output port it was connected to
correctly. Use the following to set it up correctly.
PlotOverLine1
Utkarsh Ayachit wrote:
You can use the following:
w = DataSetCSVWriter(FileName=foo.csv)
w.UpdatePipeline()
When all is working well, would you share your python script?
Thanks in advance,
Stephen
On Mon, Mar 8, 2010 at 5:50 AM, Stephen Molloy
stephen.mol...@rhul.ac.uk wrote:
Hi all,
Right. As I mentioned in my email from last night, I suspected the
problem was with the PlotOverLine object, and I was right. I wasn't
defining that properly, so the CSV file was empty.
Attached is the working file.
Thanks again,
Steve
Stephen Wornom wrote:
Utkarsh Ayachit wrote:
You
Steve,
When you were saving your trace out, what version of ParaView were you
using? I just tried today's CVS and I do indeed get a correct trace
for the PlotOverLine as under:
PlotOverLine1 = PlotOverLine( Source=High Resolution Line Source )
PlotOverLine1.Source.Point1 = [-10.0, -10.0,
Hi Steve,
Is it possible you are using an older paraview? The python code for
xycharts is relatively new. Instead of CreateRenderView() you should have
CreateXYPlotView(). You shouldn't be calling
DataRepresentation3.add_attribute('XArrayName','arc_length')
but just:
Utkarsh,
I was using a development version of Paraview 3.7 provided by friends at
SLAC. I've also tried with 3.6.2.
To be honest, I'm still having troubles. The CSV file is written OK,
but all values of the field magnitudes are filled with zeros. I'm
pretty sure the problem is that I'm
Steve,
I don't have a SLAC dataset, but here's the python script for an exodus dataset.
Utkarsh
On Tue, Mar 9, 2010 at 3:51 PM, Stephen Molloy
stephen.mol...@rhul.ac.uk wrote:
Utkarsh,
I was using a development version of Paraview 3.7 provided by friends at
SLAC. I've also tried with 3.6.2.
Thanks Utkarsh.
I'm a little confused now. My script is pretty much identical to yours
(with the exception of the Exodus related stuff), yet it refuses to
write the correct values in the CSV file. :S
I think I'll get in touch with the SLAC team to figure out what is going on.
Thanks for
Hi all,
I am using Paraview 3.7.0 to view a large number of data files, each
with the same geometry. I need to load the geometry and volume data,
use PlotOverLine to extract the magnitude of a variable along a
particular line, and then save this data to a CSV file.
Due to the large number
You can use the following:
w = DataSetCSVWriter(FileName=foo.csv)
w.UpdatePipeline()
On Mon, Mar 8, 2010 at 5:50 AM, Stephen Molloy
stephen.mol...@rhul.ac.uk wrote:
Hi all,
I am using Paraview 3.7.0 to view a large number of data files, each with
the same geometry. I need to load the
Thanks for the tip. That writes a CSV file, but it's much shorter than
the one written by Save Data.
The following is my python file. Perhaps someone could comment on how
it should be altered so as to correctly save the entire PlotOverLine
dataset? (One thing I notice is that the settings
11 matches
Mail list logo