Type unsupported for Data array conversion in Python / Numpy
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
unsigned long long but I get unsupported type of errors:
Traceback (most recent call last): File "", line 22, in File "", line 4, in RequestData File "/Users/xxxx/Sources/ParaView-v4.1.0-build/lib/site-packages/paraview/vtk/dataset_adapter.py", line 136, in getitem return self.GetArray(idx) File "/Users/xxxx/Sources/ParaView-v4.1.0-build/lib/site-packages/paraview/vtk/dataset_adapter.py", line 146, in GetArray array = vtkDataArrayToVTKArray(vtkarray, self.DataSet()) File "/Users/xxxx/Sources/ParaView-v4.1.0-build/lib/site-packages/paraview/vtk/dataset_adapter.py", line 35, in vtkDataArrayToVTKArray narray = numpy_support.vtk_to_numpy(array) File "/Users/xxxx/Sources/ParaView-v4.1.0-build/lib/site-packages/paraview/numpy_support.py", line 200, in vtk_to_numpy "Unsupported array type %s"%typ AssertionError: Unsupported array type 17
It crashes when trying to get a reference to the point data: input = inputs[0] numPoints = input.GetNumberOfPoints() sampleDate = input.PointData['SAMPLE_DATE’]