Skip to content

Cannot animate Isofill #1141

@chaosphere2112

Description

@chaosphere2112

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()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions