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,869
    • Issues 1,869
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 92
    • Merge requests 92
  • 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
  • #20711
Closed
Open
Created May 12, 2021 by Jean Favre@jfavreContributor

FindData failure with NaN

ParaView 5.9.1-RC2

if my data has some NaN values, FindData silently fails to find "data is max", "data is min", and prints error messages with "data is greater/less than mean"

/local/apps/ParaView/5.9.1/lib/python3.8/site-packages/vtkmodules/numpy_interface/dataset_adapter.py:254: RuntimeWarning: invalid value encountered in greater_equal
  return getattr(numpy.ndarray, attr_name)(l[0], l[1])
/local/apps/ParaView/5.9.1/lib/python3.8/site-packages/vtkmodules/numpy_interface/dataset_adapter.py:254: RuntimeWarning: invalid value encountered in less_equal
  return getattr(numpy.ndarray, attr_name)(l[0], l[1])

the attached Python script sets up the data to test. Use FindData on the "result" scalar array.pvFindDataIssue.py

Edited May 14, 2021 by Mathieu Westphal
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking