[Paraview] Convert VTU for Arctic Viewer
Chris Marsh
chris.marsh at usask.ca
Thu Sep 21 15:01:43 EDT 2017
Ah yes, that works. Thanks.
I have modified the 2nd example (vtk) to work on a single vtu file I have
(so no time) and output a single array. It appears to complete fully and it
writes the the tar fiels to my data directory.
When I try to serve up these data, I'm presented with a static image of the
head sample dataset I had previously loaded. Rebooting and killall node did
not resolve this.
Using a different port shows a blank page.
Thanks for the help,
Cheers
Chris
On 21 September 2017 at 12:22, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:
> Just download ParaView binary and use pvpython. You will have everything
> required meaning both vtk and paraview side of things.
>
> On Thu, Sep 21, 2017 at 12:17 PM, Chris Marsh <chris.marsh at usask.ca>
> wrote:
>
>> Hi Sebastien,
>> This is very helpful, thanks!
>>
>> Current hangup is that vtk.web.* is not available. I've installed vtk
>> --with-python via homebrew (I use vtk successfully from python regularly).
>> However the web components do not seem available. Googling isn't helping
>> me. Any suggestions?
>>
>> Cheers
>> Chris
>>
>>
>> On 21 September 2017 at 11:31, Sebastien Jourdain <
>> sebastien.jourdain at kitware.com> wrote:
>>
>>> Hi Chris,
>>>
>>> Thanks for your interest. The following Python scripts provide an
>>> example on how to generate such dataset.
>>>
>>> https://github.com/Kitware/arctic-viewer/blob/master/scripts
>>> /examples/paraview/mpas/raw-probe-flat-earth.py
>>> https://github.com/Kitware/arctic-viewer/blob/master/scripts
>>> /examples/vtk/mpas/raw-probe-flat-earth.py
>>>
>>> Moreover, depending on your data structure, the way you want to iterate
>>> through time may differ.
>>> The example below show the can dataset with a geometry export. But at
>>> least, it also show how to control time in ParaView when the reader is Time
>>> aware.
>>>
>>> https://github.com/Kitware/arctic-viewer/blob/master/scripts
>>> /examples/paraview/samples/VTKGeometry-can.py
>>>
>>> Let me know if you need additional information regarding that script and
>>> what it is doing.
>>>
>>> Seb
>>>
>>> On Thu, Sep 21, 2017 at 10:59 AM, Chris Marsh <chris.marsh at usask.ca>
>>> wrote:
>>>
>>>> Hi,
>>>> I have a set of vtu files that represent a time series of spatial data.
>>>> I would like to visualize it via the arctic viewer. Ultimately, I'd like
>>>> something similar to the Flat earth probing example given here (
>>>> http://tonic.kitware.com/). However it's unclear how to convert a vtu
>>>> to the required json format.
>>>>
>>>> The documentation is lacking in this regard and the example data is not
>>>> helpful for reverse engineering what is needed.
>>>>
>>>> Would appreciate any insight.
>>>>
>>>> Cheers
>>>> Chris
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170921/e640c594/attachment.html>
More information about the ParaView
mailing list