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,848
    • Issues 1,848
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • 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
  • #20331

Closed
Open
Created Nov 13, 2020 by Niaz@kirit_101

AddTime=1 doesn't add Time column when executed using pvbatch for SaveData

When I execute python script using pvbatch from terminal to add time (as column) to my save data, Time is not added to the file. This is the code I am using :

> SaveData(File_to_Save,
  proxy=slice1,
  CellDataArrays=[‘IDREG’, ‘AREA_X-’, ‘AREA_X+’, ‘AREA_Y-’, ‘AREA_Y+’, ‘AREA_Z-’, ‘AREA_Z+’, ‘DENSITY’, ‘PRESSURE’, ‘TEMPERATURE’, ‘TOTAL_PRESSURE’, ‘VOLUME’, ‘TKE’, ‘YPLUS’, ‘XCEN’, ‘VELOCITY’],
  Precision=8,
  UseScientificNotation=1,
  FieldAssociation=‘Cell Data’, # for cell data
  AddMetaData=0,
  AddTime=1)

However, If I execute this code from Paraview Python Shell, then it adds Time Column at the beginning. I have tried this both in Paraview 5.8.1 and Paraview 5.9.0.

To reproduce the error:

  1. Use the above python code from Paraview Python Shell. You will get the file with Time Column
  2. Use the above python code from the terminal using pvbatch, No Time Column will be written.
Edited Nov 20, 2020 by Utkarsh Ayachit
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking