Hi Simon,<br><br>Replies below...<br><br><div class="gmail_quote">On Thu, Mar 17, 2011 at 12:41 PM, Simon Su <span dir="ltr"><<a href="mailto:newsgroup4ssu@gmail.com">newsgroup4ssu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi All,<br><br><a href="ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/1.png" target="_blank">ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/1.png</a><br><a href="ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/2.png" target="_blank">ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/2.png</a><br>
<a href="ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/3.png" target="_blank">ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/3.png</a><br><br>the above are screen shot from older version of *.nc files that I have that I loaded up with
Paraview 3.10.0 64-bit which I compiled myself. As you can see, the grid
is correctly loaded. But in the data, there is a crack. Is there a filter that can fix this in ParaView? :)<br></blockquote><div><br>I'm not aware of any filter that will fix this automatically. Can you describe the grid a bit more? It kind of looks like a multiblock of structured grids.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br><a href="ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/4.png" target="_blank">ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/4.png</a> is the latest nc file that I have of similar simulation preprocessed output. When I loaded it up, it is
clearly doing making assumption on the grid that is not correct and
hence, the double looking grid. <br><br>The questions now are:<br>
<br>
1. ParaView has lots of *.nc file loader. How do I know which loader is
ParaView using to load the data? If I pick a type for the Files of type
option in the open File window, will that gurantees that ParaView will
be using that particular file loader?<br></blockquote><div><br>If there is an ambiguity for which file loader to use (i.e. multiple readers assume the same extension), then the GUI should pop up a dialog for you to specify which one to use. You can use the python trace to figure out exactly what reader is being used to load the file.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
2. If I know which loader is used, I would like to see if I can modify
the existing loader to create a new type of *.nc file loader to fix the grid of my data. Where is the code in the source
tree of ParaView is the loader plugin placed? <br></blockquote><div>Based on the name of the name of the reader from the python script, you can look up the actual class name in the ParaView/Servers/ServerManager/Resources/readers.xml file. <br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>or if there is an easier solution to fix my grid problem that doesn't
involve developing a new data loader plugin that would be better.... :) please let me know...<br><br>thanks<br><font color="#888888">-simon<br><br>
</font><br>_______________________________________________<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>