# Issue with Integrate Variables Write Time Steps

**URL:** https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177
**Category:** ParaView Support
**Created:** [September 10, 2025, 2:38pm UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177 "2025-09-10T14:38:04Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Andrew\_C](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andrew_c/32/12469_2.png) [@Andrew\_C](https://discourse.paraview.org/u/Andrew_C)
#### Post date: [September 10, 2025, 2:38pm UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177/1 "2025-09-10T14:38:04Z")

</div>

When I click File → Save Data, and include “Write Time Steps”, to save the results of an Integrate Variables to csv over time, there are several problems…

1. Some of the time-steps do not get written. Some of the variable are written as 0, while others, including the coordinates, are completely missing
2. Some of the data is incorrectly written. If I compare what was saved in the csv file vs what’s shown in Paraview, it does not match. If I re-write the csv, I may get different values again

I tried various things, like not writing the time step, writing to different files, unchecking String for the header, but the same problem persisted

It’s able to write the first few time-steps correctly, but eventually it starts writing the wrong values to the csv file(s)

I tried other solution, such as plot over time… This unfortunately did not work either, because I have a plane that moves with each time step. The plot over time seems to take the plane at a single fixed position over all the time-steps, but does not recalculate it’s position each step, and then plot.

I do not know if the non-fixed position of my plane I want to integrate over is what’s also causing problems. It’s possible but tedious to do everything manually, which is what seems I will have to do for now.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 11, 2025, 8:28am UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177/2 "2025-09-11T08:28:01Z")

</div>

Please share data and steps to reproduce the issue.

---

<div class="post-metadata">

### Author: ![Andrew\_C](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andrew_c/32/12469_2.png) [@Andrew\_C](https://discourse.paraview.org/u/Andrew_C)
#### Post date: [September 11, 2025, 12:09pm UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177/3 "2025-09-11T12:09:31Z")

</div>

due to data limitations, I’ve sent you a link in a discord and e-mail message

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 11, 2025, 1:54pm UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177/4 "2025-09-11T13:54:58Z")

</div>

Thanks, please share simple steps to reproduce the issue.

---

<div class="post-metadata">

### Author: ![Andrew\_C](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andrew_c/32/12469_2.png) [@Andrew\_C](https://discourse.paraview.org/u/Andrew_C)
#### Post date: [September 11, 2025, 2:12pm UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177/5 "2025-09-11T14:12:27Z")

</div>

1. Open the pvsm

2. scroll to the bottom of the pipe line and ensure “GroupDatasets1” is selcted

3. File→ Save Data

4. Open up the csv file to compare

---

<div class="post-metadata">

### Author: ![Andrew\_C](https://discourse.paraview.org/user_avatar/discourse.paraview.org/andrew_c/32/12469_2.png) [@Andrew\_C](https://discourse.paraview.org/u/Andrew_C)
#### Post date: [September 22, 2025, 9:39am UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177/6 "2025-09-22T09:39:45Z")

</div>

Hi,  
I think I found an alternative way to achieve what I want, by creating a Macro

From an empty Paraview Session, I do the following:

1. Start a trace
2. load my state
3. select the Integrate Filter
4. File → Save Data, set a name, set output variables to write
5. Move Forward one time step
6. Repeat Step 4
7. Stop Trace

After I save the python script, I modified it to loop over steps 4 - 6, and it writes each file individually with the data. If I load my case and any of the written csv data files, the values are the same. I should be able to program the rest of the script so that I can append and save the csv into one file.

I still think though, that saved csv files from File→Save Data with “Write Steps” should match exactly the results shown from the GUI in Paraview, and not have any missing data.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 22, 2025, 11:45am UTC](https://discourse.paraview.org/t/issue-with-integrate-variables-write-time-steps/17177/7 "2025-09-22T11:45:45Z")

</div>

Thanks for the feedback.

FYI @nicolas.vuaille
