[Paraview] using netcdf in paraview
John Biddiscombe
biddisco at cscs.ch
Wed Mar 25 12:03:48 EDT 2009
Burlen
You can have an arbitrary number of meshes in the nedCDF file - but only
one is exported (by default).
Part of the work I was doing recently was to add SIL support to the
reader so that the GUI panel would display it all, and allow the user to
select multiple meshes for export. The reader by default generates
multiblock - but only the first block (biggest rather, decided by size)
is actually exported. Once I've finished with it, each selected variable
would be exported as a separate grid. The core code should handle 1-5
dimensions (considering a vector field stored as a separate dimension,
which between you and me is annoying).
The reader got messy because I was trying to support different
conventions, so it's very hard to follow what's doing what. the ability
to support associated variables for dimensions and stuff really messed
it up, and different conventions use different systems for the grid
variables etc.
Some data use time as a separate dimension, other multiple files etc etc....
JB
> Hi Guys,
>
> By the way I just tried to load her data using the new VisIt database
> bridge and it worked! Does the CSCS plugin you guys have been talking
> about support multiple meshes in the same file? Just curious, cause I
> had to write a custom panel in PV to get that stuff working.
>
> Burlen
>
> John Biddiscombe wrote:
>> Martha (+put back on paraview list for reference and google)
>>
>> My Bad. One of the changes I made to the netCDF code was to handle
>> series of files (one file per process, or one per timestep) using
>> another class in vtkCSCSCommon
>> Best thing is check out all of it from here...
>> https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/
>> and use the cmakelists in the root pv3-plugins folder.
>> you need CSCSCommomn and netCDF enabled.
>>
>> Fix the netCDF reader and send me the patches please :)
>>
>> JB
>>
>>> Katie,
>>>
>>> I was able to check out vtkNetCDF from the SVN server; I had tried
>>> before using the web site's instructions,
>>> but it wouldn't work, I suppose because of our firewall; however the
>>> "https" in the URL that Mr. Biddiscome gave us did make a difference.
>>>
>>> However, when I attempted to build ParaView 3.4 with that vtkNetCDF
>>> module, I got an error once again, this
>>> time when for vtkNetCDFReader.cxx; what is missing is
>>> FileSeriesFinder.h.
>>>
>>> I cannot find that include file anywhere, in ParaView3.4, ParaView3.3,
>>> etc, so I don't know if it was inadvertently left out of the vtkNetCDF
>>> distribution or what.
>>>
>>> Martha
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Carbonari, Katie (IS) Sent: Tuesday, March 24, 2009 5:15 PM
>>> To: Tonkin, Martha E (IS)
>>> Subject: FW: [Paraview] using netcdf in paraview
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: John Biddiscombe [mailto:biddisco at cscs.ch]
>>> Sent: Tue 3/24/2009 5:09 PM
>>> To: Berk Geveci
>>> Cc: Carbonari, Katie (IS); paraview at paraview.org
>>> Subject: Re: [Paraview] using netcdf in paraview
>>>
>>> Katie
>>> Just looking again at the error messages makes me realize thet you're
>>> using a very old vtkCSCSnetCDF the version in here
>>> https://svn.cscs.ch/vtkContrib/trunk/vtkCSCS/vtkNetCDF/ is much more
>>> recent and will at least compile without errors. It ewas intended for
>>> meteo data (ocean/atmosphere) and so you should get something out of it
>>> but the changes I made a few months back will have broken the core load
>>> of data depending on which convention you are using.
>>> My intention was to create subclasses for each supported convention,
>>> rather than try to support all of them with aton of options - which is
>>> what the current reader does. If you're familiar with vtk code, you'll
>>> son work out how to fix it.
>>> I'll take a look at again it in a few weeks.
>>>
>>> JB
>>>
>>>
>>> Hmmm. It sounds like there is version mismatch between ParaView
>>> and
>>> the plugin. We deprecated those classes not long ago. Are you
>>> using
>>> cvs ParaView?
>>> -berk
>>> 2009/3/23 Carbonari, Katie (IS) <Katie.Carbonari at ngc.com>
>>> <mailto:Katie.Carbonari at ngc.com> :
>>> Hi there. I'm trying to read netcdf data into paraview,
>>> but am having lots
>>> of issues. I was following these directions (from here:
>>>
>>> http://www.cscs.ch/index.php?option=com_content&task=view&id=96&Itemid=1
>>>
>>> 32):
>>> Please build ParaView using the CMake advanced option
>>> PARAVIEW_EXTRA_EXTERNAL_MODULES set to CSCSNetCDF rerun
>>> configure and set
>>> PARAVIEW_USE_CSCSNetCDF to ON, then rerun configure and
>>> enter the name of
>>> the directory where the source has been extracted.
>>> Build paraview and the netCDF reader should be embedded.
>>> Building as a vtk module is supported, documentation
>>> will be provided as
>>> soon as possible. (Some changes have recently been made
>>> which may break the
>>> existing build, these will be fixed shortly).
>>> But when we make Paraview, it's not finding a bunch of
>>> files
>>> (vtkMultiGroupDataInformation.h, vtkMultiGroupDataSet.h,
>>> vtkMultiGroupSetAlgorithm.h).
>>> Any advice on how to make this work? Or maybe a better
>>> way to read in netcdf
>>> files?
>>> Thanks,
>>> Katie
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>
>>
>
--
John Biddiscombe, email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the ParaView
mailing list