<div dir="ltr">I don't see an API for that on the reader, so I suppose the only way to request a subset is via the pipeline mechanics. Ie, set UpdateExtent before you call Update.<div><br></div><div style>To go from cdms variable to vtk object, we might adapt the code that Aashish and I wrote in UVCDAT for the ParaView displays. That was written partially at the paraview python level but it won't be hard to adapt it since we more or less ignored the proxy layer and assumed we had direct access to the data.</div>
<div style><br></div><div style>Note: we should use vtkNetCDFCFReader for the most part as that subclass adds understanding of the CF conventions that the climate data will most likely have and will give us better results.</div>
<div style><br></div><div style><br></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Fri, May 3, 2013 at 11:48 AM, Ben Burnett <span dir="ltr"><<a href="mailto:benjam.arlyn@gmail.com" target="_blank">benjam.arlyn@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">Can vtkNetCDFReader read partial data from a file like cdms can? e.g., only read data between -30 and 30 latitude.<div><br></div><div>or</div><div><br></div><div>Is there a way to convert a cdms variable object to a vtk object?</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Ben</div></font></span></div>
<br>_______________________________________________<br>
Opengeoscience-developers mailing list<br>
<a href="mailto:Opengeoscience-developers@public.kitware.com">Opengeoscience-developers@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers</a><br>
<br></blockquote></div><br></div>