[Paraview] Access to the renderer
Hi all, I'm looking for a way to get use vtkSelectVisiblePoints within a C++ filter in ParaView. Outside of ParaView, we have generated working VTK code that creates a renderer and renderwindow, sets up a camera, adds mappers and actors and passess the renderer onto selectvisiblepoints. We'd like to do all this within ParaView so should be able to pass the ParaView renderer to MySelectVisiblePoints-SetRenderer(x). Can anyone suggest a solution? Many thanks, Duncan Johnson This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] ANN: ParaView 3.10.0 Available for download.
object 34727dd732548d273fb0b1b8a8c9fdd3e80aa5e2 type commit tag v3.10.0 tagger David Partyka dave.part...@kitware.com 1300451452 -0400 ParaView 3.10.0 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) iQIcBAABAgAGBQJNg1CUAAoJEFDfOomSCcqy7LIP/RShkIFP+FdkSY0l1RhZiE+/ bYsUSn0a1JK3KYrFzj6+PHQav6vecmoETSnAXU3Mo9TWhcUvh+ysPIK2t5ht3gBE X56Zbjq1o4cSclphSOyAk+7J5OiFcwhorGpl4/fQN3Hv8fL3mq7Qbr5qWRf+1Liy aki/1TB9ohKyFY472gT3z5iGJ3LPEtkOKjfj9rUiEDV+igO3DS6pbIOjHgMWAzIk I2+C9QhwKK8wd9G7KgGm2MuoTCu3ViHQbORGaZsyZ+ReNS2AIj7zOpX903JWtHVy 2UZWShIKYJuhGT4xGlXFQoW9JI6Sb2bKFPn4iITjWZH5mVOKD70viRSxtXbFeZ+m GmXnLZQMtSX/dK/FxEFkqEI98gBsTSty1qeTTeXb+Fp8X7oc7ZHfkTJBmkLygaxr VKJg074sRsDTrV2oBF1fpcp8uxlQXbW1pUgmSgYk6XhMfBWKioRy//ypYNwQs0Mu 8GfZcJ3oIntboqWDWZVuvk8eIoqN0iZZvcADIRA4QpUlwW2GaWhObzIP3gOSnJHO PSwnVDlqpAVXVINMPfjyX8VCeMMmjoL40DqumfOhRkFkvjqFQ7vPJkc2Dg3TLCu4 nIS+ap1zqm5m78lEVR/+292HhKg53i5UZfKihZlrVedU32JiQA1O0ztTBwrcz44g CHc8Seb6UB/TAg7r/HwU =CPcO On Thu, Mar 17, 2011 at 4:36 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Did the tag ever go on? -- Mike Jackson www.bluequartz.net On Mar 10, 2011, at 10:20 AM, David Partyka wrote: I'll be putting the tag on shortly. On Thu, Mar 10, 2011 at 10:19 AM, Michael Jackson mike.jack...@bluequartz.net wrote: Is there a git tag or branch to go with this release? I just want to be sure I checkout the proper sources. I guess I could just download the source tarball from the website. Thanks -- Mike Jackson www.bluequartz.net On Mar 9, 2011, at 2:04 PM, David Partyka wrote: Hello All, The ParaView team is pleased to announce the availability of the ParaView 3.10.0 final binaries for download on the ParaView download page. http://paraview.org/paraview/resources/software.html Release Notes: ParaView 3.10 This release features notable developments, including mechanisms to incorporate advanced rendering techniques, improved support for readers and several usability enhancements and bug fixes. For the 3.10 release, we have added 60 new readers. The new readers include: ANSYS, CGNS, Chombo, Dyna3D, Enzo, Mili, Miranda, Nastran, Pixie, Samrai, Silo, and Tecplot Binary. A full listing of supported readers can be found in the ParaView Users Guide. We also added the ability for developers to create ParaView reader plugins from previously developed VisIt reader plugins. You can find a full guide on how to do this on the VisIt Database Bridge: http://www.paraview.org/Wiki/VisIt_Database_Bridge With this release we have rewritten the ParaView User's Guide and are making it freely available for the first time. The complete guide can be obtained in the help system or online at: http://paraview.org/Wiki/ParaView/Users_Guide/Table_Of_Contents. We have included a Python-based calculator which makes it possible to write operations using Python. The Python calculator uses NumPy, which lets you use advanced functions such as gradients, curls, and divergence easily in expressions. Also the NumPy module is packaged in the ParaView binary and is importable from the ParaView Python shell. There should also be a marked performance improvement for users dealing with large multi-block datasets. We have cleaned up the rendering pipeline to better handle composite datasets, avoiding the appending of all blocks into a single dataset as was done previously. To better utilize multiple cores on modern multi-core machines, by default ParaView can now run using a parallel server, even for the built-in mode. This enables the use of all the cores for parallel data processing, without requiring the user to start a parallel server. ParaView binaries will also be distributed using an MPI implementation, making this feature available to users by simply downloading the binaries. Since this is an experimental feature, it is off by default, but users can turn it on by checking the Auto-MPI checkbox in the application settings dialog. Additionally, the 3.10 release includes several usability enhancements. 3D View now supports smart context menus, accessed by right-clicking on any object in the 3D View to change its color, representation, color map and visibility. Left-clicking on an object in the 3D View makes it active in the pipeline browser. Within the spreadsheet view, sorting is now supported and an advanced parallel sorting algorithm ensures that none of the benefits of the spreadsheet view, such as streaming and selection, are sacrificed. Python tracing and macro controls are no longer hidden on the Python shell dialog and instead are now easily found on the Tools menu. For developers interested in adding support for advanced multi-pass rendering algorithms to ParaView, this release includes a major refactoring of ParaView's rendering pipeline. View and representations have been redesigned and users should see improved performance in client-server
Re: [Paraview] Access to the renderer
The short answer is you cannot do it. In ParaView logically filters are on data-server and renderers are on render-server. The abstractions provided by ParaView hide these components so that such things are very difficult to do. For the longer answer, it'd help if you can describe why you want to call select visible points in your filter? Utkarsh On Fri, Mar 18, 2011 at 7:11 AM, Johnson, Duncan (UK) duncan.john...@baesystems.com wrote: Hi all, I'm looking for a way to get use vtkSelectVisiblePoints within a C++ filter in ParaView. Outside of ParaView, we have generated working VTK code that creates a renderer and renderwindow, sets up a camera, adds mappers and actors and passess the renderer onto selectvisiblepoints. We'd like to do all this within ParaView so should be able to pass the ParaView renderer to MySelectVisiblePoints-SetRenderer(x). Can anyone suggest a solution? Many thanks, Duncan Johnson This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] loading nc formatted data
Hi Simon, Replies below... On Thu, Mar 17, 2011 at 12:41 PM, Simon Su newsgroup4...@gmail.com wrote: Hi All, ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/1.png ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/2.png ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/3.png 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? :) 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. ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/4.png 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. The questions now are: 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? 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. 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? 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. 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... thanks -simon ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] can not drag object in TestPVSynchronizedRenderWindows
Call the following after the view is created. void setupCameraManipulators(vtkSMProxy* view) { vtkSMProxyManager* pxm = vtkSMProxyManager::GetProxyManager(); vtkIdType cid = view-GetConnectionID(); vtkSMProxy* manip = pxm-NewProxy(cameramanipulators, TrackballRotate); vtkSMPropertyHelper(manip, Button).Set(1); vtkSMPropertyHelper(manip, ManipulatorName).Set(Rotate); manip-UpdateVTKObjects(); vtkSMPropertyHelper(view, CameraManipulators).Add(manip); manip-Delete(); manip = pxm-NewProxy(cameramanipulators, TrackballZoom); vtkSMPropertyHelper(manip, Button).Set(3); vtkSMPropertyHelper(manip, ManipulatorName).Set(Zoom); manip-UpdateVTKObjects(); vtkSMPropertyHelper(view, CameraManipulators).Add(manip); manip-Delete(); manip = pxm-NewProxy(cameramanipulators, TrackballPan1); vtkSMPropertyHelper(manip, Button).Set(2); vtkSMPropertyHelper(manip, ManipulatorName).Set(Pan); manip-UpdateVTKObjects(); vtkSMPropertyHelper(view, CameraManipulators).Add(manip); manip-Delete(); } On Fri, Mar 18, 2011 at 5:58 AM, Gil Wertz gilwe...@hotmail.com wrote: I did take a look to BasicApp, but it doesn't implement Client / Server, with non build in server. I'm not sur to understand, can I with a pqServer and an pqObjectBuilder ask to a distant server to open a file by giving the path ( the file is in the server side ) and show the rendered window on the client side ? The code I made for having it work in TestPVSynchronizedRenderWindows, but as I said, I cannot drag the object, only rotate and zoom. /** code ***/ #include vtkInitializationHelper.h #include vtkProcessModule.h #include vtkPVOptions.h #include vtkPVRenderView.h #include vtkSMPropertyHelper.h #include vtkSMProxy.h #include vtkSMProxyManager.h #include vtkSmartPointer.h #include QApplication #include QMainWindow #include QVTKWidget.h #include QHBoxLayout #include QVBoxLayout #include QFile // returns vtk proxy vtkSMProxy* addVTK(vtkSMProxy* view, QString fileName) { vtkSMProxy* loaded_object; vtkSMProxyManager* pxm = vtkSMProxyManager::GetProxyManager(); / VTK / loaded_object = pxm-NewProxy(sources, LegacyVTKFileReader); loaded_object-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(loaded_object, FileNames).Set(fileName.toStdString().c_str());//can.ex2 loaded_object-UpdateVTKObjects(); vtkSMProxy* repr = pxm-NewProxy(representations, GeometryRepresentation); // AxesRepresentation // GeometryRepresentation // UnstructuredGridRepresentation repr-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(repr, Input).Set(loaded_object); repr-UpdateVTKObjects(); vtkSMPropertyHelper(view, Representations).Add(repr); view-UpdateVTKObjects(); loaded_object-Delete(); repr-Delete(); return loaded_object; } // returns exodusII proxy vtkSMProxy* addEX2(vtkSMProxy* view, QString fileName) { vtkSMProxy* loaded_object; vtkSMProxyManager* pxm = vtkSMProxyManager::GetProxyManager(); /* ExodusII / loaded_object = pxm-NewProxy(sources, ExodusIIReader); loaded_object-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(loaded_object, FileName).Set(fileName.toStdString().c_str());//can.ex2 loaded_object-UpdateVTKObjects(); vtkSMProxy* repr = pxm-NewProxy(representations, SurfaceRepresentation); // AxesRepresentation // GeometryRepresentation // UnstructuredGridRepresentation repr-SetConnectionID(view-GetConnectionID()); vtkSMPropertyHelper(repr, Input).Set(loaded_object); repr-UpdateVTKObjects(); vtkSMPropertyHelper(view, Representations).Add(repr); view-UpdateVTKObjects(); loaded_object-Delete(); repr-Delete(); return loaded_object; } int main(int argcc, char** argvv) { //creating my own argc to ba able to make a widget without main function and argument int argc = 1; const char* executable = ; //TestPVSynchronizedRenderWindows char* arg = new char[strlen(executable)+1]; strcpy(arg, executable); //my argv char** argv = arg; //the vtkPVOptions that I don't know how to remove ( I have no options to set -_- ) vtkSmartPointervtkPVOptions newoptions = vtkSmartPointervtkPVOptions::New(); // ? vtkInitializationHelper::Initialize(argc, argv, newoptions); QApplication app(argc, argv); QMainWindow mainWindow; mainWindow.resize(400, 400); mainWindow.show(); QApplication::processEvents(); // the process module vtkProcessModule* pm = vtkProcessModule::GetProcessModule(); // Connect to the server, local server for the moment ( I launch pvserver by side ) vtkIdType connectionID = pm-ConnectToRemote(localhost, 1); // Create a view and connect it
Re: [Paraview] Applying filters in sample app
Michael, The interactive-widgets such as implicit plane widget are created by the Properties panel to help user change some of the properties for the filter. So yes, if your example, you will not see the implicit plane widget at all. You'll have to manually create it and set it up to update the properties of the clip filter as the user moves it. It can be a bit tricky. But maybe I can hack up some code in your example to show the implicit plane if you'd like. Utkarsh On Wed, Mar 16, 2011 at 2:01 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi Utkarsh, Thanks, that did the trick. I'm also trying to get an ImplicitPlaneWidget (IPW) up at the same time. Is the default behavior for the IPW to be invisible? M On 3/15/11 3:10 PM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: You're simply missing a line to hide the previous representation. I just added in mpMainWindow::onCutButtonClicked before the render() call and the slice shows up. this-ActiveSourceRepr-setVisible(false); Utkarsh On Tue, Mar 15, 2011 at 12:17 PM, Reuter, Michael A. reute...@ornl.gov wrote: Hi, I'm working on a sample application and I've been trying to make a cut appear on the data that is being viewed. I've followed the methodology used in the QuickContour application in my application, but the cut never appears on the data view. I'm using the data file associated with the QuickContour application to test my application. I'm guessing I'm just not understanding the required setup logic for behaviors and reactions in order to get the cut to apply. If anyone can see where I'm being dumb, my code is located here: https://github.com/mareuter/PVMockupGui. The cut is being applied in the mpMainWindow class in mpMainWindow::onCutButtonClicked. I am currently compiling against the ParaView git master on Ubuntu. Thanks, M Dr. Michael Reuter Scientific Data Analysis Group Neutron Scattering Science Division Oak Ridge National Laboratory Office: 1-865-241-7216 Fax: 1-865-574-6080 Email: reute...@ornl.gov ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] paraview 3.10 + OpenFOAM
Hello David, Somewhat related to the above topic, this issue would also be important for the 3.10.1 update. http://paraview.org/Bug/view.php?id=11893 /mark ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Compilation problem : Bad value
Hello, I have the following errors when compiling paraview and I don't have any ID of what it is ... :: error: ../../../bin/libvtkStreaming.a(vtkACosmoReader.cxx.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC ../../../bin/libvtkStreaming.a:: error: could not read symbols: Bad value I did look on google, but nobody have this problem for the same library than me, an nearly all the solution I saw where deprecated ... thanks for your help ^^. Wertz Gil gilwe...@hotmail.com ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Compilation problem : Bad value
My guess is that some library rodata is getting built without the -fPIC flag. If you built that yourself then you should rebuild that with that compile flag. If not, try adding -fPIC to your CMAKE_CXX_FLAGS and CMAKE_C_FLAGS during configuration. Andy On Fri, Mar 18, 2011 at 12:09 PM, Gil Wertz gilwe...@hotmail.com wrote: Hello, I have the following errors when compiling paraview and I don't have any ID of what it is ... :: error: ../../../bin/libvtkStreaming.a(vtkACosmoReader.cxx.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC ../../../bin/libvtkStreaming.a:: error: could not read symbols: Bad value I did look on google, but nobody have this problem for the same library than me, an nearly all the solution I saw where deprecated ... thanks for your help ^^. -- *Wertz Gil* *gilwe...@hotmail.com* -- ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems
Sorry Paul. I tried various things --builtin/client-server/client-server parallel and I still can't reproduce the issue. Have you been able to reproduce the problem on any other machine? Any other information that you can give about your setup that you think may help. Try running paraview with -drcommand line option. Does that make any difference? Utkarsh On Thu, Mar 10, 2011 at 10:52 PM, Paul McIntosh paul.mcint...@internetscooter.com wrote: This is running local server x64 on Windows. I can test x64 again on Linux if you wish. For the dataset I entered the settings attached. It initially renders ok but when I move it the clipping happens. The clipping does not happen with the GPU. I have saved a *.vti file so I can make that available if you need. Any info you need please let me know - we are deploying a new cluster MASSIVE and I'd very much like to have ParaView 3.10 running nicely :) Cheers, Paul -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, 11 March 2011 2:36 PM To: Paul McIntosh Cc: paraview Subject: Re: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems That's very odd. I cannot seem to reproduce this. See my attached pic. It's with fixed point volume rendering. Is this client-server or something like that? Utkarsh On Thu, Mar 10, 2011 at 2:30 PM, Paul McIntosh paul.mcint...@internetscooter.com wrote: Here is the data bounds tab info... Extents X Extent: 0 to 419 (dimension: 420) V Extent: 0 to 405 (dimension: 406) Z Extent 0 to 860 (dimension: 861) Bounds X range: 0 to 419 (delta: 419) Y range: 0 to 405 (delta: 405) Z range: 0 to 864) (delta: 860) It's not my data but I have reproduced it on the backpack scan example http://www.gris.uni-tuebingen.de/edu/areas/scivis/volren/datasets/new. html The issue is even more pronounced there (see attached). Let me know if you need anymore info. Cheers, Paul -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: Friday, 11 March 2011 9:00 AM To: Paul McIntosh Cc: paraview Subject: Re: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems Is it possible to share the data? If not, what are the data bounds (look on the information tab)? Utkarsh On Thu, Mar 10, 2011 at 1:54 PM, Paul McIntosh paul.mcint...@internetscooter.com wrote: Hi All, Further to the is the problem still exists in the official 3.10.0 release. Cheers, Paul -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Paul McIntosh Sent: Wednesday, 9 February 2011 4:39 PM To: 'paraview' Subject: [Paraview] 3.10.0-RC1 volumne clipping - or mouse problems Hi, I'd just like to point out an issue with 3.10.0-RC1. I have a volume data set of a mouse which works fine in 3.8. I've just tried it in 3.10.0-RC1 on both Linux and Windows and I see the top and bottom of the mouse being clipped. If I switch to GPU the clipping disappears. Attached is a screenshot showing the left and right data missing. Sometimes when it is first loaded it is complete but any movement makes it clip. I tried both a *.vti file of the data and loading it again as *.raw with the same results. Cheers, Paul --- www.internetscooter.com ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] loading nc formatted data
Hi Andy, python trace gave me zos_Omon_GFDLESM2M_historical_r1i1p1_186101188012_nc = NetCDFReader( FileName=['/work/sms/data/cmor-20110128/mon/ocean/zos/r1i1p1/zos_Omon_GFDL-ESM2M_historical_r1i1p1_186101-188012.nc'] ) and there are tons of netcdf reader in ParaView and it is not in the plugin directory sms:/local/home/build/paraview/ParaView-3.10.0/Plugins pwd /local/home/build/paraview/ParaView-3.10.0/Plugins sms:/local/home/build/paraview/ParaView-3.10.0/Plugins ll total 84 drwxr-xr-x 3 sms t 4096 Mar 10 12:37 AdiosReader/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 AnalyzeNIfTIReaderWriter/ -rw-r--r-- 1 sms t 3261 Mar 9 13:31 CMakeLists.txt drwxr-xr-x 3 sms t 4096 Mar 10 12:37 CoProcessingScriptGenerator/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 CosmoFilters/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 EyeDomeLighting/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 ForceTime/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 H5PartReader/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 Manta/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 Moments/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 NetDMFReader/ drwxr-xr-x 6 sms t 4096 Mar 10 12:37 PointSprite/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 PrismPlugins/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 pvblot/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 SierraPlotTools/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 SLACTools/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 StreamingView/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 SurfaceLIC/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 Vapor/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 VRPN/ drwxr-xr-x 2 sms t 4096 Mar 9 13:31 VRUI/ sms:/local/home/build/paraview/ParaView-3.10.0/Plugins Can you help describe how Netcdf files plugins are done in ParaView. Do they have a super class of Netcdf that they all derive from to write the different flavors of netcdf readers? If so, where can the code be found? thanks -simon On Fri, Mar 18, 2011 at 10:30 AM, Andy Bauer andy.ba...@kitware.com wrote: Hi Simon, Replies below... On Thu, Mar 17, 2011 at 12:41 PM, Simon Su newsgroup4...@gmail.comwrote: Hi All, ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/1.png ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/2.png ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/3.png 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? :) 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. ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/4.png 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. The questions now are: 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? 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. 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? 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. 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... thanks -simon ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] issue with make install in 3.10
David, QtNetwork is not there, but it is there in my 3.8.1 installation After linking it I still get the same undefined smbol error. Regards Bastian Am 16.03.2011 19:37, schrieb David Partyka: You have /opt/paraview/3.10.0/lib/paraview-3.10/libQtXmlPatterns.so.4 in your install tree. Is QtNetwork.so also in that directory? On Wed, Mar 16, 2011 at 2:29 PM, bastil2...@yahoo.de mailto:bastil2...@yahoo.de bastil2...@yahoo.de mailto:bastil2...@yahoo.de wrote: Robert, David, our QT 4.6.2 was build from source with QtNetwork enabled. So what is wrong? Regards Bastian Am 15.03.2011 22:04, schrieb Robert Maynard: We are asking because the 4.6.X prebuilt frameworks from Nokia don't come with QNetworkAccessManager. I would confirm with your system administrator that Qt has been built with QtNetwork enabled. On Tue, Mar 15, 2011 at 2:59 PM, bastil2...@yahoo.de mailto:bastil2...@yahoo.de bastil2...@yahoo.de mailto:bastil2...@yahoo.de wrote: Am 14.03.2011 20:06, schrieb David Partyka: Are you using a prebuilt qt from nokia? Or did you build it youself? David, our system administrator did the build. AFAIK it was build from source. Regards Bastian On Mon, Mar 14, 2011 at 3:01 PM, bastil2...@yahoo.de mailto:bastil2...@yahoo.de bastil2...@yahoo.de mailto:bastil2...@yahoo.de wrote: Thanks David, I forgot to mention - I already tried this. It does not help at all. Instead of this I get three missing *.so-Libraries (all from QT). After symmlinking them from the qt-lib to the paraview-lib I still get the same error. Regards Bastian Am 14.03.2011 19:58, schrieb David Partyka: Try turning off PARAVIEW_INSTALL_THIRD_PARTY_LIBRARIES. ( I think I am going to make it default OFF instead of ON). Then blow away your install tree and do a fresh make install. Does that resolve the problem? On Mon, Mar 14, 2011 at 2:55 PM, bastil2...@yahoo.de mailto:bastil2...@yahoo.de bastil2...@yahoo.de mailto:bastil2...@yahoo.de wrote: Hi all, I have build the 3.10 source from paraview.org http://paraview.org without any plroblems. However, I can run paraview only from the build directory. After a successuful make install I get: /opt/paraview/3.10.0/lib/paraview-3.10/paraview: symbol lookup error: /opt/paraview/3.10.0/lib/paraview-3.10/libQtXmlPatterns.so.4: undefined symbol: _ZNK21QNetworkAccessManager10metaObjectEv I use QT 4.6.2 which is not my system QT. All paths in ccmake 2.8.3 point to this QT. Ideas? Thanks Bastian ___ Powered by www.kitware.com http://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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com http://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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com http://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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com http://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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview -- Robert Maynard
[Paraview] compatibility with binaries
Hi, I'd like to build a 3.10.0 pvserver that is compatible with KW's binaries. Which options should be enabled/disabled? Thanks Burlen ___ 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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] compatibility with binaries
This is the initial cache that I am writing out in the super build to build the release binary. Most likely these guys are causing any incompatibilities set(PARAVIEW_USE_VISITBRIDGE ON CACHE BOOL Initial cache FORCE) set(VISIT_BUILD_READER_CGNS OFF CACHE BOOL Initial cache FORCE) set(CGNS_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/CGNS-install/include CACHE PATH Initial cache FORCE) set(CGNS_LIBRARY C:/Kitware/ParaView 3.10/build-x64/CGNS-install/lib/libcgns.lib CACHE FILEPATH Initial cache FORCE) set(VISIT_BUILD_READER_Silo OFF CACHE BOOL Initial cache FORCE) set(SILO_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/Silo-install/include CACHE PATH Initial cache FORCE) set(SILO_LIBRARY C:/Kitware/ParaView 3.10/build-x64/Silo-install/lib/silohdf5.lib CACHE FILEPATH Initial cache FORCE) Entire cache: set(BUILD_SHARED_LIBS ON CACHE BOOL Initial cache FORCE) set(BUILD_TESTING OFF CACHE BOOL Initial cache FORCE) set(PARAVIEW_DISABLE_VTK_TESTING ON CACHE BOOL Initial cache FORCE) set(PARAVIEW_TESTING_WITH_PYTHON OFF CACHE BOOL Initial cache FORCE) set(PARAVIEW_FIXUP_BUNDLE_SEARCH_PATHS C:/Kitware/ParaView 3.10/build-x64/zlib-install/bin;C:/Kitware/ParaView 3.10/build-x64/png-install/bin;C:/Kitware/ParaView 3.10/build-x64/HDF5-install/bin;C:/Kitware/ParaView 3.10/build-x64/Silo-install/bin;C:/Kitware/ParaView 3.10/build-x64/CGNS-install/lib CACHE STRING Initial cache FORCE) set(VTK_USE_BOOST ON CACHE BOOL Initial cache FORCE) set(Boost_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/Boost CACHE PATH Initial cache FORCE) set(PARAVIEW_ENABLE_PYTHON ON CACHE BOOL Initial cache FORCE) set(PYTHON_EXECUTABLE C:/Kitware/ParaView 3.10/build-x64/python-build/PCbuild/amd64/python.exe CACHE FILEPATH Initial cache FORCE) set(PYTHON_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/python-build/Include CACHE PATH Initial cache FORCE) set(PYTHON_LIBRARY C:/Kitware/ParaView 3.10/build-x64/python-build/PCbuild/amd64/python27.lib CACHE FILEPATH Initial cache FORCE) set(QT_QMAKE_EXECUTABLE C:/Support/qt-4.6.3-x64/bin/qmake.exe CACHE FILEPATH Initial cache FORCE) set(PARAVIEW_USE_MPI ON CACHE BOOL Initial cache FORCE) set(MPIEXEC C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/bin/mpiexec.exe CACHE FILEPATH Initial cache FORCE) set(MPI_INCLUDE_PATH C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/include CACHE PATH Initial cache FORCE) set(MPI_LIBRARY optimized;C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/lib/libmpi.lib;debug;C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/lib/libmpid.lib CACHE FILEPATH Initial cache FORCE) set(MPI_EXTRA_LIBRARY optimized;C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/lib/libmpi_cxx.lib;debug;C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/lib/libmpi_cxxd.lib CACHE FILEPATH Initial cache FORCE) set(PARAVIEW_INSTALL_MPIEXEC ON CACHE BOOL Initial cache FORCE) set(VTK_USE_SYSTEM_HDF5 ON CACHE BOOL Initial cache FORCE) set(HDF5_INCLUDE_DIRS C:/Kitware/ParaView 3.10/build-x64/HDF5-install/include CACHE PATH Initial cache FORCE) set(HDF5_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/HDF5-install/include CACHE PATH Initial cache FORCE) set(HDF5_LIBRARIES optimized;C:/Kitware/ParaView 3.10/build-x64/HDF5-install/lib/hdf5dll.lib;debug;C:/Kitware/ParaView 3.10/build-x64/HDF5-install/lib/hdf5ddll.lib CACHE FILEPATH Initial cache FORCE) set(HDF5_LIBRARY optimized;C:/Kitware/ParaView 3.10/build-x64/HDF5-install/lib/hdf5dll.lib;debug;C:/Kitware/ParaView 3.10/build-x64/HDF5-install/lib/hdf5ddll.lib CACHE FILEPATH Initial cache FORCE) set(PARAVIEW_BUILD_PLUGIN_EyeDomeLighting ON CACHE BOOL Initial cache FORCE) set(PARAVIEW_USE_VISITBRIDGE ON CACHE BOOL Initial cache FORCE) set(VISIT_BUILD_READER_CGNS OFF CACHE BOOL Initial cache FORCE) set(CGNS_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/CGNS-install/include CACHE PATH Initial cache FORCE) set(CGNS_LIBRARY C:/Kitware/ParaView 3.10/build-x64/CGNS-install/lib/libcgns.lib CACHE FILEPATH Initial cache FORCE) set(VISIT_BUILD_READER_Silo OFF CACHE BOOL Initial cache FORCE) set(SILO_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/Silo-install/include CACHE PATH Initial cache FORCE) set(SILO_LIBRARY C:/Kitware/ParaView 3.10/build-x64/Silo-install/lib/silohdf5.lib CACHE FILEPATH Initial cache FORCE) set(VTK_USE_SYSTEM_ZLIB ON CACHE BOOL Initial cache FORCE) set(ZLIB_INCLUDE_DIR C:/Kitware/ParaView 3.10/build-x64/zlib-install/include CACHE PATH Initial cache FORCE) set(ZLIB_LIBRARY optimized;C:/Kitware/ParaView 3.10/build-x64/zlib-install/lib/zlib1.lib;debug;C:/Kitware/ParaView 3.10/build-x64/zlib-install/lib/zlib1.lib CACHE FILEPATH Initial cache FORCE) set(BUILD_DOCUMENTATION ON CACHE BOOL Initial cache FORCE) set(PARAVIEW_GENERATE_PROXY_DOCUMENTATION ON CACHE BOOL Initial cache FORCE) set(GENERATE_FILTERS_DOCUMENTATION ON CACHE BOOL Initial cache FORCE) set(DOCUMENTATION_HTML_HELP ON CACHE BOOL Initial cache FORCE) On Fri, Mar 18, 2011 at 7:09 PM, Burlen Loring blor...@lbl.gov wrote: Hi, I'd like to build a 3.10.0 pvserver that is
Re: [Paraview] loading nc formatted data
The reader that is being used is vtkNetCDFCFReader. It is defined in ParaView/Servers/ServerManager/Resources/readers.xml, although it is not obvious. As the name implies, this reader reads netCDF files using the CF convention. (As the default netCDF reader, it also gracefully handles files that do not follow this convention.) With this assumption, I will try to explain what it does. It reads arrays as regular 1, 2, or 3D arrays, possibly with time. The CF convention also provides a means to assign coordinates to each grid point and to identify the coordinates as longitude or latitude. Even though coordinates are defined as longitude and latitude, the topology of the grid itself is still a grid. Thus, the grid gets wrapped around, but still has these seems that you see because topologically the one end of the regular grid is not attached to the other. I can't think of any filter that will identify and close these seems. In fact, it's not straightforward to do at all. If you look at your topology, it is not lain out on a simple spherical grid. The right way to solve your problem, which may or may not be in your control, is to create netCDF files that specify cell boundaries for a closed topology. Your netCDF file must be following at least some parts of the CF convention; your data would not show up as a sphere if it were not. The CF convention provides a way of defining cells that are not constrained by a regular grid topology. It is done through a bounds attribute on the dimension descriptor variables. You need either 1D or 2D bounds. They are described in this section of the CF convention documentation: http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.5/cf-conventions.html#cell-boundaries. The VTK test data has examples of both 1D bounds (tos_O1_2001-2002.nc) and 2D bounds (sampleCurveGrid4.nc). You can get the VTK test data from git (http://vtk.org/VTKData.git), or download them directly from the gitourious server: http://vtk.org/gitweb?p=VTKData.git;a=blob;f=Data/tos_O1_2001-2002.nc;h=30aa4a9b5e08b9bdf64540f2b144d83b279cca6c;hb=HEAD http://vtk.org/gitweb?p=VTKData.git;a=blob;f=Data/sampleCurveGrid4.nc;h=0ab89c27a25f92c047b58dca8b3057ca8d4df017;hb=HEAD -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel From: Simon Su newsgroup4...@gmail.commailto:newsgroup4...@gmail.com Date: Fri, 18 Mar 2011 16:43:42 -0400 To: Andy Bauer andy.ba...@kitware.commailto:andy.ba...@kitware.com Cc: paraview@paraview.orgmailto:paraview@paraview.org Subject: Re: [Paraview] loading nc formatted data Hi Andy, python trace gave me zos_Omon_GFDLESM2M_historical_r1i1p1_186101188012_nc = NetCDFReader( FileName=['/work/sms/data/cmor-20110128/mon/ocean/zos/r1i1p1/zos_Omon_GFDL-ESM2M_historical_r1i1p1_186101-188012.nc'] ) and there are tons of netcdf reader in ParaView and it is not in the plugin directory sms:/local/home/build/paraview/ParaView-3.10.0/Plugins pwd /local/home/build/paraview/ParaView-3.10.0/Plugins sms:/local/home/build/paraview/ParaView-3.10.0/Plugins ll total 84 drwxr-xr-x 3 sms t 4096 Mar 10 12:37 AdiosReader/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 AnalyzeNIfTIReaderWriter/ -rw-r--r-- 1 sms t 3261 Mar 9 13:31 CMakeLists.txt drwxr-xr-x 3 sms t 4096 Mar 10 12:37 CoProcessingScriptGenerator/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 CosmoFilters/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 EyeDomeLighting/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 ForceTime/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 H5PartReader/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 Manta/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 Moments/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 NetDMFReader/ drwxr-xr-x 6 sms t 4096 Mar 10 12:37 PointSprite/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 PrismPlugins/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 pvblot/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 SierraPlotTools/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 SLACTools/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 StreamingView/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 SurfaceLIC/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 Vapor/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 VRPN/ drwxr-xr-x 2 sms t 4096 Mar 9 13:31 VRUI/ sms:/local/home/build/paraview/ParaView-3.10.0/Plugins Can you help describe how Netcdf files plugins are done in ParaView. Do they have a super class of Netcdf that they all derive from to write the different flavors of netcdf readers? If so, where can the code be found? thanks -simon On Fri, Mar 18, 2011 at 10:30 AM, Andy Bauer andy.ba...@kitware.commailto:andy.ba...@kitware.com wrote: Hi Simon, Replies below... On Thu, Mar 17, 2011 at 12:41 PM, Simon Su newsgroup4...@gmail.commailto:newsgroup4...@gmail.com wrote: Hi All, ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/1.png ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/2.png ftp://ftp.gfdl.noaa.gov/pub/sms/4ParaView/3.png the above are screen shot
Re: [Paraview] loading nc formatted data
Oh, yea. If you feel that vtkNetCDFCFReader should be closing your seems and you want to add it, OK. But please be mindful not to break the CF convention. -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel From: Kenneth Moreland kmo...@sandia.govmailto:kmo...@sandia.gov Date: Sat, 19 Mar 2011 01:18:05 + To: Simon Su newsgroup4...@gmail.commailto:newsgroup4...@gmail.com, Andy Bauer andy.ba...@kitware.commailto:andy.ba...@kitware.com Cc: paraview@paraview.orgmailto:paraview@paraview.org paraview@paraview.orgmailto:paraview@paraview.org Subject: Re: [Paraview] loading nc formatted data The reader that is being used is vtkNetCDFCFReader. It is defined in ParaView/Servers/ServerManager/Resources/readers.xml, although it is not obvious. As the name implies, this reader reads netCDF files using the CF convention. (As the default netCDF reader, it also gracefully handles files that do not follow this convention.) With this assumption, I will try to explain what it does. It reads arrays as regular 1, 2, or 3D arrays, possibly with time. The CF convention also provides a means to assign coordinates to each grid point and to identify the coordinates as longitude or latitude. Even though coordinates are defined as longitude and latitude, the topology of the grid itself is still a grid. Thus, the grid gets wrapped around, but still has these seems that you see because topologically the one end of the regular grid is not attached to the other. I can't think of any filter that will identify and close these seems. In fact, it's not straightforward to do at all. If you look at your topology, it is not lain out on a simple spherical grid. The right way to solve your problem, which may or may not be in your control, is to create netCDF files that specify cell boundaries for a closed topology. Your netCDF file must be following at least some parts of the CF convention; your data would not show up as a sphere if it were not. The CF convention provides a way of defining cells that are not constrained by a regular grid topology. It is done through a bounds attribute on the dimension descriptor variables. You need either 1D or 2D bounds. They are described in this section of the CF convention documentation: http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.5/cf-conventions.html#cell-boundaries. The VTK test data has examples of both 1D bounds (tos_O1_2001-2002.nc) and 2D bounds (sampleCurveGrid4.nc). You can get the VTK test data from git (http://vtk.org/VTKData.git), or download them directly from the gitourious server: http://vtk.org/gitweb?p=VTKData.git;a=blob;f=Data/tos_O1_2001-2002.nc;h=30aa4a9b5e08b9bdf64540f2b144d83b279cca6c;hb=HEAD http://vtk.org/gitweb?p=VTKData.git;a=blob;f=Data/sampleCurveGrid4.nc;h=0ab89c27a25f92c047b58dca8b3057ca8d4df017;hb=HEAD -Ken Kenneth Moreland *** Sandia National Laboratories *** *** *** *** email: kmo...@sandia.gov ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel From: Simon Su newsgroup4...@gmail.commailto:newsgroup4...@gmail.com Date: Fri, 18 Mar 2011 16:43:42 -0400 To: Andy Bauer andy.ba...@kitware.commailto:andy.ba...@kitware.com Cc: paraview@paraview.orgmailto:paraview@paraview.org Subject: Re: [Paraview] loading nc formatted data Hi Andy, python trace gave me zos_Omon_GFDLESM2M_historical_r1i1p1_186101188012_nc = NetCDFReader( FileName=['/work/sms/data/cmor-20110128/mon/ocean/zos/r1i1p1/zos_Omon_GFDL-ESM2M_historical_r1i1p1_186101-188012.nc'] ) and there are tons of netcdf reader in ParaView and it is not in the plugin directory sms:/local/home/build/paraview/ParaView-3.10.0/Plugins pwd /local/home/build/paraview/ParaView-3.10.0/Plugins sms:/local/home/build/paraview/ParaView-3.10.0/Plugins ll total 84 drwxr-xr-x 3 sms t 4096 Mar 10 12:37 AdiosReader/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 AnalyzeNIfTIReaderWriter/ -rw-r--r-- 1 sms t 3261 Mar 9 13:31 CMakeLists.txt drwxr-xr-x 3 sms t 4096 Mar 10 12:37 CoProcessingScriptGenerator/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 CosmoFilters/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 EyeDomeLighting/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 ForceTime/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 H5PartReader/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 Manta/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 Moments/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 NetDMFReader/ drwxr-xr-x 6 sms t 4096 Mar 10 12:37 PointSprite/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 PrismPlugins/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 pvblot/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 SierraPlotTools/ drwxr-xr-x 3 sms t 4096 Mar 10 12:37 SLACTools/ drwxr-xr-x 4 sms t 4096 Mar 10 12:37 StreamingView/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 SurfaceLIC/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37 Vapor/ drwxr-xr-x 2 sms t 4096 Mar 10 12:37