<div dir="ltr">Version skew is the culprit. Instead of the netcdf_units branch, use plain old VTK master. <div><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 Mon, Jul 22, 2013 at 12:24 PM, 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">I'm getting this error trying to run modules/vtk_reader.py:read() with some default parameters<div><br></div><div><div> File "vtk_reader.py", line 31, in read</div><div> tunits = reader.GetTimeUnits()</div>
<div>AttributeError: GetTimeUnits</div></div><div><br></div><div>I placed to 'print vtk' statement right before this line to make sure I was using the right vtk</div><div><module 'vtk' from '/Users/benbu/src/climatepipes/vtk_build/Wrapping/Python/vtk/__init__.pyc'><br>
</div><div><br></div><div>I built this vtk after checking out the netcdf_units branch with this command </div><div>git fetch <a href="http://review.source.kitware.com/p/VTK" target="_blank">http://review.source.kitware.com/p/VTK</a> refs/changes/19/11719/1 && git checkout FETCH_HEAD -b netcdf_units<br>
</div><div><br></div><div>Any ideas what could be wrong, and why the vtk.vtkNetCDFCFReader() object doesn't have GetTimeUnits function?</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>