# Merge xmf datasets in time

**URL:** https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637
**Category:** ParaView Support
**Created:** [October 23, 2020, 1:08am UTC](https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637 "2020-10-23T01:08:38Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Kihiro\_Bando](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kihiro_bando/32/5178_2.png) [@Kihiro\_Bando](https://discourse.paraview.org/u/Kihiro_Bando)
#### Post date: [October 23, 2020, 1:08am UTC](https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637/1 "2020-10-23T01:08:38Z")

</div>

Hi,

Let’s say I have 2 .xmf files, each of them points to a set of .h5 files. The first file has timesteps 1-10 and the second one has timestepes 10-20. Otherwise, the .xmf files are identical.

I would like to know if there is a simple way to merge those datasets into a single one containing data from timesteps 1-20. Is that possible?

Thank you very much in advance.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [October 23, 2020, 3:27am UTC](https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637/2 "2020-10-23T03:27:17Z")

</div>

Welcome to the ParaView community!

I suspect that if you just load both files, it will work correctly. If not, try loading both, and then apply the TemporalShiftScale filter to your second dataset.

Alan

---

<div class="post-metadata">

### Author: ![Kihiro\_Bando](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kihiro_bando/32/5178_2.png) [@Kihiro\_Bando](https://discourse.paraview.org/u/Kihiro_Bando)
#### Post date: [October 23, 2020, 3:35am UTC](https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637/3 "2020-10-23T03:35:51Z")

</div>

Thanks. What do you mean loading both files? I tried on the command line `paraview file1.xmf file2.xmf` and only the first one showed up.

The thing is time is recorded correctly on both datasets. The issue is since they appear as 2 different datasets in the pipeline, one is hiding the other and they each only animate for their own time range. When creating animations, this becomes a problem because it does not automatically switch from one dataset to the other.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [October 23, 2020, 4:00am UTC](https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637/4 "2020-10-23T04:00:55Z")

</div>

Within ParaView, File/ Open. Open dataset 1. Apply. File/ Open. Open dataset 2. Apply.

---

<div class="post-metadata">

### Author: ![Kihiro\_Bando](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kihiro_bando/32/5178_2.png) [@Kihiro\_Bando](https://discourse.paraview.org/u/Kihiro_Bando)
#### Post date: [October 23, 2020, 3:25pm UTC](https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637/5 "2020-10-23T15:25:58Z")

</div>

They are not recognized as a single dataset with this method.

---

<div class="post-metadata">

### Author: ![Kihiro\_Bando](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kihiro_bando/32/5178_2.png) [@Kihiro\_Bando](https://discourse.paraview.org/u/Kihiro_Bando)
#### Post date: [October 26, 2020, 4:19pm UTC](https://discourse.paraview.org/t/merge-xmf-datasets-in-time/5637/6 "2020-10-26T16:19:09Z")

</div>

Hi! Any other suggestions? thanks
