# Do multiple time-related filters execute independently?

**URL:** https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408
**Category:** ParaView Support
**Created:** [April 15, 2024, 3:42pm UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408 "2024-04-15T15:42:30Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![robertsawko](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robertsawko/32/6283_2.png) [@robertsawko](https://discourse.paraview.org/u/robertsawko)
#### Post date: [April 15, 2024, 3:42pm UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408/1 "2024-04-15T15:42:30Z")

</div>

I have a fairly large dataset and a fairly complicated pipeline and I would like to avoid redundant data loads. Specifically, I perform several clips of the domain, compute several different integrals in each clip and then I want to see temporal statistics for some integrals and plot over time for others.

My question is: does Plot Data Over Tim and Temporal Statistics filters execute independently? It would make sense in this instance to load a new time, update all downstream filters before loading another time step. Is that what happens? Please let me know.

---

<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: [April 15, 2024, 3:51pm UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408/2 "2024-04-15T15:51:21Z")

</div>

PlotDataOverTime and TemporalStatitics are both CONTINUE\_EXECUTABLE filters which means they will trigger each a full pass on the timesteps, which can be very heavy as the data will be loaded for every time steps, for each filter.

A way to avoid that is to add a TemporalCache filter after your data reader and set the cache size to the number of timesteps in your data.  
This will of course increase memory usage by a lot but you will load each timesteps only once.

---

<div class="post-metadata">

### Author: ![robertsawko](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robertsawko/32/6283_2.png) [@robertsawko](https://discourse.paraview.org/u/robertsawko)
#### Post date: [April 15, 2024, 4:37pm UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408/3 "2024-04-15T16:37:44Z")

</div>

Thanks, @mwestphal. I am going to read into it presently. I didn’t quite appreciate what Temporal Cache filter cache is. Can I just ask if it makes sense to cache the entire data source or the clips or is that the trade off I need to check myself?

---

<div class="post-metadata">

### Author: ![robertsawko](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robertsawko/32/6283_2.png) [@robertsawko](https://discourse.paraview.org/u/robertsawko)
#### Post date: [April 15, 2024, 4:49pm UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408/4 "2024-04-15T16:49:58Z")

</div>

Oh wow… the difference is quite substantial. Thanks a lot!

---

<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: [April 16, 2024, 7:51am UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408/5 "2024-04-16T07:51:21Z")

</div>

> [@robertsawko](#):
>
> Can I just ask if it makes sense to cache the entire data source or the clips or is that the trade off I need to check myself?

I would suggest to put it right after your reader unless you do not have enough memory.

---

<div class="post-metadata">

### Author: ![robertsawko](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robertsawko/32/6283_2.png) [@robertsawko](https://discourse.paraview.org/u/robertsawko)
#### Post date: [April 16, 2024, 9:37pm UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408/6 "2024-04-16T21:37:24Z")

</div>

Sorry, I have unmarked it as a solution as I am not so sure Temporal Caching works in a case I described. Temporal Statistics and Plot Over Time from my different clips still seem to execute independently.

I feel like a simple solution would be to implement a stepper through all time steps and reading values of all my integrals and noting them down somewhere. I could then compute averages and plots over time.

Or maybe what I should do is to group all my integrals into a single data sets and then put Temporal Statistics or Plot Data Over Time on top of it?

---

<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: [April 17, 2024, 5:41am UTC](https://discourse.paraview.org/t/do-multiple-time-related-filters-execute-independently/14408/7 "2024-04-17T05:41:10Z")

</div>

> [@robertsawko](#):
>
> Temporal Statistics and Plot Over Time from my different clips still seem to execute independently.

Of course they do. The temporal cache only avoid reading the timesteps multiples times.

> I feel like a simple solution would be to implement a stepper through all time steps and reading values of all my integrals and noting them down somewhere. I could then compute averages and plots over time.

Not supported by VTK. Interesting idea but definitely not trivial.
