Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot animate Isofill #1141

Closed
chaosphere2112 opened this issue Mar 11, 2015 · 0 comments
Closed

Cannot animate Isofill #1141

chaosphere2112 opened this issue Mar 11, 2015 · 0 comments
Assignees
Milestone

Comments

@chaosphere2112
Copy link
Contributor

When you try to animate an isofill, you receive this error:

/Users/fries2/uvcdat/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vcs/VTKPlots.pyc in update_input(self, vtkobjects, array1, array2, update)
   1797                   else:
   1798                       mapper = vtk.vtkPolyDataMapper()
-> 1799                       mapper.SetInputConnection(ports[i].GetOutputPort())
   1800                       lut,rg = vtkobjects["vtk_backend_luts"][i]
   1801                       if lut is not None:

IndexError: list index out of range

Test case:

import vcs, cdms2 as cdms, os, sys

# Open data file:
filepath = os.path.join(vcs.prefix, 'sample_data/clt.nc')
cdmsfile = cdms.open( filepath )
x = vcs.init()
x.isofill(cdmsfile["clt"])
x.animate.create()
x.animate.run()
x.animate.stop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants