[Opengeoscience-developers] vtkNetCDFReader
David E DeMarle
dave.demarle at kitware.com
Fri May 3 13:08:51 EDT 2013
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.
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.
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.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Fri, May 3, 2013 at 11:48 AM, Ben Burnett <benjam.arlyn at gmail.com> wrote:
> Can vtkNetCDFReader read partial data from a file like cdms can? e.g.,
> only read data between -30 and 30 latitude.
>
> or
>
> Is there a way to convert a cdms variable object to a vtk object?
>
> Ben
>
> _______________________________________________
> Opengeoscience-developers mailing list
> Opengeoscience-developers at public.kitware.com
>
> http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130503/5001ad84/attachment.html>
More information about the Opengeoscience-developers
mailing list