Open cbraver opened 7 years ago
Hello,
Could you post your netcdf file somewhere so I can try to reproduce this with your data?
Thanks.
Here is my netcdf file:
https://drive.google.com/open?id=0B1lsRjDOKJFRbmVjN1ljTC0tc2M
it is from 8 single files with the nco's ncrcat command
the animation of scalars like T(temperature) is OK
Thanks for your reply.
got it thanks will take a look shortly
@doutriaux1 maybe related to https://github.com/UV-CDAT/vcs/issues/263?
@danlipsa i think that was the error.
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~