<div dir="ltr">Hi,<div><br></div><div>the issue in the file was related to the format that you were using. To make it work, just replace the ' (simple quote) with the regular string quote ".</div><div><br></div><div>
This could be a good start for the XML info.</div><div><br></div><div><a href="http://markmail.org/message/7dg2jctve32oijwe">http://markmail.org/message/7dg2jctve32oijwe</a><br></div><div><br></div><div>Seb</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jun 11, 2014 at 2:46 AM, Hedieh E <span dir="ltr"><<a href="mailto:hedieh.ebrahimi@amphos21.com" target="_blank">hedieh.ebrahimi@amphos21.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"><div><div><div>Hi sebastien, <br><br></div>Thanks for your answer. I could add additional filters to ParaView Web by adding them manually to the file protocol.py in <br>....ParaView 4.1.0\lib\paraview-4.1\site-packages\paraview\web\protocol.py<br>
<br></div>but I didnot have any success in using "--filter" or "--filters"Â Â and addressing it to a *.json somewhere on my machine. <br><br></div>I have attached the filtersFile.json I am addressing to with this email. Is there anything I am doing wrong?<br>
<div><br></div><div>The server seems to connect :<br> Log opened.<br> Site starting on 8080<br> Starting factory <twisted.web.server.Site instance at 0x000000000C896548><br></div><div><br></div><div>The index.html seems to be loaded but nothing more is added after. Is there anyway I can fix this ?<br>
<br></div><div>Also about the --plugin xml reader, is there any tutorial or sample on how to create this xml for my specific reader ?<br><br></div><div>Thanks a lot in Advance<br></div><div><br></div></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On 10 June 2014 16:37, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@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">Hi,<div><br></div><div>to add filters in the list if available one you will need to use an extra argument when you run the pvpython command line.</div><div><br></div><div>You should use the "--filter" shown here <a href="http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/paraview.web.pv_web_visualizer.html" target="_blank">http://www.paraview.org/ParaView3/Doc/Nightly/www/py-doc/paraview.web.pv_web_visualizer.html</a></div>
<div>with a file that has a content similar to that </div><div><br></div><div><div>[{</div><div>            'name': 'Cone',</div><div>            'icon': 'dataset',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'source'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'Sphere',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'dataset',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'source'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'Wavelet',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'dataset',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'source'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'Clip',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'clip',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'filter'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'Slice',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'slice',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'filter'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'Contour',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'contour',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'filter'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'Threshold',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'threshold',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'filter'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'StreamTracer',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'stream',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'filter'</div><div>Â Â Â Â Â Â Â Â Â Â },{</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'name': 'WarpByScalar',</div><div>Â Â Â Â Â Â Â Â Â Â Â Â 'icon': 'filter',</div>
<div>Â Â Â Â Â Â Â Â Â Â Â Â 'category': 'filter'</div><div>Â Â Â Â Â Â Â Â Â Â }]</div></div><div><br></div><div>Regarding your file opening issue, this is more complicated.</div><div>I believe that ParaView has several reader for that file extension and inside ParaView, you have a popup window asking you which one.</div>
<div>Which we don't have in pvw. You may want to create a custom reader definition (XML file that you load at startup using --plugin ) with a unique extension that use the proper reader for your custom file extension.</div>
<div><br></div><div>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Jun 10, 2014 at 4:45 AM, Hedieh E <span dir="ltr"><<a href="mailto:hedieh.ebrahimi@amphos21.com" target="_blank">hedieh.ebrahimi@amphos21.com</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><div dir="ltr"><div>Hello, <br><br></div><div>I setup a quick start to ParaView Web. I have a question. In ParaView I have no problem opening my (*.h5) file using PFLOTRAN hdf5 reader. <br>
<br></div><div>In ParaView Web I have put my datafiles (*.h5) in the Share folder as It was mentioned in the guide. ParaView Web doen´t open my *.h5 while it works fine opening other data files. <br>
<br></div><div>Is there anything aditional I should do for my *.h5 files to open in ParaView Web ?<br><br></div><div>Also one more questions, where can I find all filters that exists in ParaView ? When I try to apply a filter on my datasets in ParaView Web, I only see a few basic list of filters. How can I improve my experience with ParaView Web ?<br>
<br></div><div>Thanks a lot.<br></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>