Calculator choking on data with "text" fields.
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Using a series of CSV files (and running Table to Points and 2DDelaunay polygon filters successfully on the files) I try using the Calculator filter to create vectors to plot with the Glyph tool. But when I use the calculator – one of the “Point Data” fields (arrays) is not numeric – and when I write my formula (which does not use the non-numeric field) and hit “Apply” - the Output message says ERROR: In ........\source\VTK\Graphics\vtkArrayCalculator.cxx, line 304 vtkPVArrayCalculator (000000000B39EAE0): Invalid array name: 'Name' (the name of the non numeric field is “Name”). I tried renaming this field in the input file – and this didn’t work. So I removed the non-numeric field completely from the input file – and the calculator did work. I believe the calculator somehow gets choked if there is a text array in a file. I am attaching the CSV file that I am trying to work with. The formula I am trying to apply to this is: iHat* 'FLOFx' + jHat * 'FLOFz'+ kHat * 0.