<div dir="ltr">Sorry for my late response.<div><br></div><div>Although there is a way of doing this in ParaView's application level Python interface, it is not recommended. This is because when ParaView is run in client-server mode, the application level Python interface runs on the client whereas the data resides on the server. So you could use the Programmable Filter with something like this to access the field data:</div><div><br></div><div>inputs[0].FieldData</div><div><br></div><div>where the pipeline may look like this:</div><div><br></div><div>reader -> Programmable Filter</div><div><br></div><div>If you are running client only, this would work (not recommended as a workflow though because of the client-server issue):</div><div><br></div><div>from vtk.numpy_interface import dataset_adapter as dsa</div><div>reader_vtk = reader.GetClientSideObject()</div><div>output = dsa.WrapDataObject(reader_vtk.GetOutput())</div><div>field_data = output.FieldData</div><div><br></div><div>Best,</div><div>-berk</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 8, 2017 at 2:34 PM, John Haase <span dir="ltr"><<a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I managed to hack something together just using python<div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>writer = CreateWriter(path + 'FieldData.csv', reader, Precision=12, UseScientificNotation=1, FieldAssociation='Field Data')</div><div>writer.UpdatePipeline()</div><div><br></div><div>fname = glob.glob(path + 'FieldData*.csv')</div><div>FieldData = numpy.genfromtxt(fname[0], delimiter=',').transpose()</div></div><div><br></div></blockquote>But it's kind of annoying that I had to leave Paraview to do it.</div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_7299605430611538886gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Mon, May 8, 2017 at 1:27 PM, John Haase <span dir="ltr"><<a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I was trying to do this via pvpython</div><div class="gmail_extra"><span><br clear="all"><div><div class="m_7299605430611538886m_3920801994764968101gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
<br></span><div><div class="m_7299605430611538886h5"><div class="gmail_quote">On Mon, May 8, 2017 at 12:51 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Where are you trying to do this? The Python Console/pypython vs Python Calculator / Programmable Filter?<div><br></div><div>Best,</div><div>-berk</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_7299605430611538886m_3920801994764968101h5">On Wed, May 3, 2017 at 5:52 PM, John Haase <span dir="ltr"><<a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_7299605430611538886m_3920801994764968101h5"><div dir="ltr"><div>Hello Paraview,</div><div><br></div><div>I have an Exodus II reader, reader.</div><div><br></div><div>I'm trying to extract field data 'Full_EmissionCurrent' and 'Native_EmissionCurrent'</div><div><br></div><div>I tried to extract the data</div><div><br></div><div><div>reader.FieldData['Full_Emissio<wbr>nCurrent']</div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Array: Full_EmissionCurrent</div></div></blockquote><div><br></div><div>How do I actually get that array?</div><div><br></div><br clear="all"><div><div class="m_7299605430611538886m_3920801994764968101m_6068594904538537717m_-5921270822244803853gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>