<HTML>
<HEAD>
<TITLE>Re: [Paraview] Paraview 3.6.1 and netCDF 4</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>There is an example netCDF file that comes with the VTK test data. It is identical to the one from here:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><a href="http://www.unidata.ucar.edu/software/netcdf/examples/tos_O1_2001-2002.nc">http://www.unidata.ucar.edu/software/netcdf/examples/tos_O1_2001-2002.nc</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
On retrospect, I’m not sure that the netCDF that comes with ParaView is version 4. We may need to update it.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 11/12/09 3:36 PM, "Matthew Dillon" <<a href="mrdillon@alaska.edu">mrdillon@alaska.edu</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ken,<BR>
<BR>
Thanks for the reply. I have tested with both *.nc and *.ncdf, with no luck on the netCDF reader showing up on the list. I generated the netCDF file using the netcdf4-python (<a href="http://code.google.com/p/netcdf4-python/">http://code.google.com/p/netcdf4-python/</a>) interface, using the NETCDF4 and NETCDF3-CLASSIC filetypes. Both types show coherent output when using the netCDF viewer "ncdump." I checked the Paraview Dataset file to see if there were any netCDF files, and did not come across any. I did however see there were *.h5 (hdf5) files. The documentation states that these should have a viewer as well, but when I opened one of these files, I was presented with the same reader list as before, with no mention to an hdf5 reader.<BR>
<BR>
Matthew<BR>
<BR>
On Nov 12, 2009, at 1:22 PM, Moreland, Kenneth wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>ParaView first uses extensions to determine file type. Files with extension .nc or .ncdf are assumed to be netCDF files. If you are using another extension it should still work so long as the extension does not conflict with any other extension used. If no file extension matches you should get a dialog box asking you what type of reader to use. If the file is detected as a valid netCDF file, it should show up in that list.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 11/12/09 1:56 PM, "Matthew Dillon" <<a href="mrdillon@alaska.edu">mrdillon@alaska.edu</a> <x-msg:<a href="//36/mrdillon@alaska.edu">//36/mrdillon@alaska.edu</a>> > wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi all, I have a question. I have been using VTK for some time now, <BR>
and have recently been focusing my efforts on Paraview. I am running <BR>
into a problem though. I am trying to import netCDF volume data. I am <BR>
able to import the file using the raw binary filter, which works quite <BR>
well, however, when I try to import a netCDF file with compressed <BR>
variables, this approach does not work. Glancing through the <BR>
documentation, it appears that the is a netCDF reader built in, <BR>
however it doesn't look like my file is being associated with the <BR>
netCDF reader when opening. A little about my setup: Mac OS X 10.6.1, <BR>
Paraview 3.6.1 binary, netCDF 4.0.1. Any help on this would be really <BR>
appreciated. Thanks!<BR>
<BR>
Matthew Dillon<BR>
_______________________________________________<BR>
Powered by www.kitware.com <<a href="http://www.kitware.com">http://www.kitware.com</a>> <BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">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">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a> <x-msg:<a href="//36/kmorel@sandia.gov">//36/kmorel@sandia.gov</a>> <BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>