Skip to content

3D vector animation error #2192

Description

@cbraver

My data is (8, 21, 45, 70) and the dimensions are (time, level, lat, lon). my code is:

import vcs, cdms2

x = vcs.init()
f = cdms2.open('all.nc')
v = f["v"]
u = f["u"]
dv3d = vcs.get3d_vector()
dv3d.BasemapOpacity = 0.19
dv3d.ZSlider = 0.5
dv3d.GlyphDensity = 3.5
dv3d.GlyphSize = 0.27
x.plot(u, v, dv3d)
x.interact()

when I click the animate and step, I got the following messages:

ERROR: In /export/doutriaux1/miniconda2/conda-bld/vtk-cdat_1503063744037/work/Common/Core/vtkDataArray.cxx, line 1423
vtkFloatArray (0x429f8f0): Number of tuples in 'from' (64680) and 'to' (517440) do not match.

Can't get Metadata for var zeros!

I'm new to uv-cdat, can anyone tells me where is wrong, thank you very much~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions