[Opengeoscience-developers] vtk reader error

David E DeMarle dave.demarle at kitware.com
Mon Jul 22 12:32:36 EDT 2013


Version skew is the culprit. Instead of the netcdf_units branch, use plain
old VTK master.


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Mon, Jul 22, 2013 at 12:24 PM, Ben Burnett <benjam.arlyn at gmail.com>wrote:

> I'm getting this error trying to run modules/vtk_reader.py:read() with
> some default parameters
>
>   File "vtk_reader.py", line 31, in read
>     tunits = reader.GetTimeUnits()
> AttributeError: GetTimeUnits
>
> I placed to 'print vtk' statement right before this line to make sure I
> was using the right vtk
> <module 'vtk' from
> '/Users/benbu/src/climatepipes/vtk_build/Wrapping/Python/vtk/__init__.pyc'>
>
> I built this vtk after checking out the netcdf_units branch with this
> command
> git fetch http://review.source.kitware.com/p/VTK refs/changes/19/11719/1
> && git checkout FETCH_HEAD -b netcdf_units
>
> Any ideas what could be wrong, and why the vtk.vtkNetCDFCFReader() object
> doesn't have GetTimeUnits function?
>
> -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/20130722/fc7d8220/attachment.html>


More information about the Opengeoscience-developers mailing list