<div dir="ltr">Have you tried any other of the NetCDF readers? I'll admit I'm not that familiar with them.<div><br></div><div>You might also try to load your data in ParaView (<a href="http://www.paraview.org">www.paraview.org</a>).</div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 10:04 AM, Sayali Sonawane <span dir="ltr"><<a href="mailto:sayasonawane11@gmail.com" target="_blank">sayasonawane11@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Cory,<br><br></div>I have tried vtknetcdfreader class.<br><br>Warning: In /home/sayali/src/IO/NetCDF/vtkNetCDFReader.cxx, line 782<br>vtkNetCDFReader (0x8906a0): Variable depth dimensions (depth) are different than the other variable dimensions (latitude longitude). Skipping<br><br>Warning: In /home/sayali/src/IO/NetCDF/vtkNetCDFReader.cxx, line 782<br>vtkNetCDFReader (0x8906a0): Variable latitude dimensions (latitude) are different than the other variable dimensions (latitude longitude). Skipping<br><br>Warning: In /home/sayali/src/IO/NetCDF/vtkNetCDFReader.cxx, line 782<br>vtkNetCDFReader (0x8906a0): Variable longitude dimensions (longitude) are different than the other variable dimensions (latitude longitude). Skipping<br><br>Warning: In /home/sayali/src/IO/NetCDF/vtkNetCDFReader.cxx, line 782<br>vtkNetCDFReader (0x8906a0): Variable salinity dimensions (depth latitude longitude) are different than the other variable dimensions (latitude longitude). Skipping<br><br>Warning: In /home/sayali/src/IO/NetCDF/vtkNetCDFReader.cxx, line 782<br>vtkNetCDFReader (0x8906a0): Variable temperature dimensions (depth latitude longitude) are different than the other variable dimensions (latitude longitude). Skipping<br><br>Warning: In /home/sayali/src/IO/NetCDF/vtkNetCDFReader.cxx, line 782<br>vtkNetCDFReader (0x8906a0): Variable u dimensions (depth latitude longitude) are different than the other variable dimensions (latitude longitude). Skipping<br><br>Warning: In /home/sayali/src/IO/NetCDF/vtkNetCDFReader.cxx, line 782<br>vtkNetCDFReader (0x8906a0): Variable v dimensions (depth latitude longitude) are different than the other variable dimensions (latitude longitude). Skipping<br><br></div>I am getting this warning message. But I don't understand how to use these variables. I want to plot salinity and temperature scatterplot.<br><br></div>Best Regards,<br></div>Sayali<br><div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 2:59 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sayali,<div><br></div><div>You'll have a better chance getting a useful answer if you email the whole VTK users list :-)</div><div><br></div><div>Have you tried the vtkNetCDF*Reader classes?</div><div><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkNetCDFReader.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkNetCDFReader.html</a><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkNetCDFCFReader.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkNetCDFCFReader.html</a><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkNetCDFPOPReader.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkNetCDFPOPReader.html</a><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkNetCDFCAMReader.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkNetCDFCAMReader.html</a><br></div><div><br></div><div>Cheers,</div><div>Cory</div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Aug 14, 2015 at 8:05 AM, Sayali Sonawane <span dir="ltr"><<a href="mailto:sayasonawane11@gmail.com" target="_blank">sayasonawane11@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><span style="font-size:12.8000001907349px">Hi Cory,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I am trying to read netcdf .nc file. It has 15 variables, each of different dimension. Can you please suggest me way of reading and mapping it in VTK.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Best Regards,</div><div style="font-size:12.8000001907349px">Sayali</div></div></blockquote><span><font color="#888888"><div> </div></font></span></div><span><font color="#888888">-- <br><div>Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</font></span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>