# fix timesteps (round time up)

**URL:** https://discourse.paraview.org/t/fix-timesteps-round-time-up/6792
**Category:** ParaView Support
**Created:** [March 25, 2021, 7:39am UTC](https://discourse.paraview.org/t/fix-timesteps-round-time-up/6792 "2021-03-25T07:39:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ebreard](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ebreard/32/2421_2.png) [@ebreard](https://discourse.paraview.org/u/ebreard)
#### Post date: [March 25, 2021, 7:39am UTC](https://discourse.paraview.org/t/fix-timesteps-round-time-up/6792/1 "2021-03-25T07:39:55Z")

</div>

Hi,

I have two layers, one has timesteps 0.01, 0.02 0.03 s etc because I used the temporalshiftscale filter.  
The other layers has time embedded (read vtp) but the timesteps are 0.0100001, 0.02000035, 0.03000048 s for instance. Paraview goes through time 0.01, then 0.0100001 etc; Thus paraview sees it as if there were 2x the number of frames. How can I round up the time of the second layer to make sure paraview reads both layer simulateneously?

ps: i tried the sychronize filter using one layer with the other but it did not change anything.

Thanks for the help!

Eric

---

<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: [March 25, 2021, 9:08am UTC](https://discourse.paraview.org/t/fix-timesteps-round-time-up/6792/2 "2021-03-25T09:08:43Z")

</div>

Can you try using the TemporalInterpolator ?

---

<div class="post-metadata">

### Author: ![ebreard](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ebreard/32/2421_2.png) [@ebreard](https://discourse.paraview.org/u/ebreard)
#### Post date: [March 25, 2021, 5:35pm UTC](https://discourse.paraview.org/t/fix-timesteps-round-time-up/6792/3 "2021-03-25T17:35:16Z")

</div>

Great find, using Discrete Time Step Interval = 0.01 and Resample factor = 2, it created the time steps 0.01 + 0.01s 🙂  
Thanks!
