Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,841
    • Issues 1,841
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #12967
Closed
Open
Created Feb 27, 2012 by Kitware Robot@kwrobotOwner

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking