I managed to hack something together just using python

writer = CreateWriter(path + 'FieldData.csv', reader, Precision=12,
UseScientificNotation=1, FieldAssociation='Field Data')
writer.UpdatePipeline()

fname = glob.glob(path + 'FieldData*.csv')
FieldData = numpy.genfromtxt(fname[0], delimiter=',').transpose()

But it's kind of annoying that I had to leave Paraview to do it.

Regards,

John R. Haase
[email protected]

On Mon, May 8, 2017 at 1:27 PM, John Haase <[email protected]> wrote:

> I was trying to do this via pvpython
>
> Regards,
>
> John R. Haase
> [email protected]
>
> On Mon, May 8, 2017 at 12:51 PM, Berk Geveci <[email protected]>
> wrote:
>
>> Where are you trying to do this? The Python Console/pypython vs Python
>> Calculator / Programmable Filter?
>>
>> Best,
>> -berk
>>
>> On Wed, May 3, 2017 at 5:52 PM, John Haase <[email protected]> wrote:
>>
>>> Hello Paraview,
>>>
>>> I have an Exodus II reader, reader.
>>>
>>> I'm trying to extract field data 'Full_EmissionCurrent' and
>>> 'Native_EmissionCurrent'
>>>
>>> I tried to extract the data
>>>
>>> reader.FieldData['Full_EmissionCurrent']
>>>
>>> Array: Full_EmissionCurrent
>>>
>>>
>>> How do I actually get that array?
>>>
>>>
>>> Regards,
>>>
>>> John R. Haase
>>> [email protected]
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to