<div dir="ltr">I believe that is limitation of current ParaView readers. Dan can probably correct me. <div><br></div><div>- Aashish<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 26, 2017 at 8:58 AM Tyson Whitehead <<a href="mailto:twhitehead@gmail.com">twhitehead@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
A quick request for some help loading cell data from a netcdf file in ParaView.<br>
<br>
I'm using the "NetCDF files generic and CF conventions" reader under ParaView 5.2.0 (the x86_64 linux build you can download off the website). I believe I've followed the CF cell conventions, but it insists on load the data as point data.<br>
<br>
<a href="http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/ch07.html" rel="noreferrer" target="_blank">http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/build/ch07.html</a><br>
<br>
Any help would be appreciated. Here's the relevant details from the file and a link to it<br>
<br>
netcdf Pressure.mat {<br>
dimensions:<br>
x = 10 ;<br>
y = 4 ;<br>
z = 2 ;<br>
time = 12000 ;<br>
b = 2 ;<br>
variables:<br>
double x(x) ;<br>
x:bounds = "x_bnds" ;<br>
double y(y) ;<br>
y:bounds = "y_bnds" ;<br>
double z(z) ;<br>
z:bounds = "z_bnds" ;<br>
double time(time) ;<br>
time:units = "seconds since 2017-09-19 17:31:17" ;<br>
double b(b) ;<br>
double x_bnds(x, b) ;<br>
double y_bnds(y, b) ;<br>
double z_bnds(z, b) ;<br>
double pressure(time, z, y, x) ;<br>
data:<br>
x = 1.33, 8.335, 16, 24, 32, 40, 48, 56, 63.665, 70.67 ;<br>
<br>
y = 0.87, 3.85, 6.65, 9.63 ;<br>
<br>
z = -0.4, 0.4 ;<br>
<br>
x_bnds =<br>
0, 4.61174175055394,<br>
4.61174175055394, 12,<br>
12, 20,<br>
20, 28,<br>
28, 36,<br>
36, 44,<br>
44, 52,<br>
52, 60,<br>
60, 67.3882582494461,<br>
67.3882582494461, 72 ;<br>
<br>
y_bnds =<br>
0, 2.42178882104347,<br>
2.42178882104347, 5.25,<br>
5.25, 8.07821117895653,<br>
8.07821117895653, 10.5 ;<br>
<br>
z_bnds =<br>
-0.5, 0,<br>
0, 0.5 ;<br>
<br>
time = ... ;<br>
<br>
pressure = ... ;<br>
}<br>
<br>
<a href="https://www.sharcnet.ca/~tyson/Pressure.mat.nc" rel="noreferrer" target="_blank">https://www.sharcnet.ca/~tyson/Pressure.mat.nc</a><br>
<br>
Thanks! -Tyson<br>
<br>
PS: From playing with other netcdf files I found online, it almost seems to me that ParaView only honors the cell structure when you are in spherical coordinates. Is cell data just not supported in cartesian coordinates?<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
</blockquote></div></div></div>