Hi,

I was wondering whether it is possible to read NetCDF files as CellData.

I have categorial data on Cartesian coordinates that I want to visualize. To be 
more specific, the data represents lithologies of the subsurface. So 1 = sand, 
3 = clay, 5 = rock.
The problem is that my file is automatically interpreted as PointData. To 
render this PointData, Paraview than consequently interpolates to achieve cell 
values.
With most variables that is not such a problem, but here it is. If I have sand 
(1) overlying rock (5), Paraview shows me clay (3).

Also, the information available to me was ambiguous,
-this source says it is probably not possible:
https://public.kitware.com/pipermail/paraview/2017-September/040984.html
-this states it is possible return Cell Data information:
https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/paraview.simple.NetCDFReader.html

I tried converting my data from NetCDF to a .vtr file in Python, but this 
resulted in more problems than solutions. (Just gave me very glitched 
rendering).

So I have two questions:
-Is this possible?
-Are there any workarounds you can think of to get my data as CellData in 
Paraview?

I'm using Paraview v5.4.1 on Windows 7.

Kind regards,
Joeri
_______________________________________________
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:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to