[Opengeoscience-developers] vtk reader error

Ben Burnett benjam.arlyn at gmail.com
Mon Jul 22 12:24:10 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130722/3d63734d/attachment.html>


More information about the Opengeoscience-developers mailing list