How to concatenate a .vtr file with itself to create a new object?

I have a simulation result, saved as a .vtr file. The simulation result is 2D and periodic along the x-axis.
I would like to concatenate the .vtr file with itself along the x-periodic direction, and get another combined .vtr file (or any other VTK object) on which I can run the StreamTracer filter so as to visualize velocity (a point array) over 2 axial periods.

I have tried the following with pvpython but this does not lead to a contiguous dataset which can integrate streamlines over 2 periods.

my_data = XMLRectilinearGridReader(FileName="./path/to/file.vtr")
trans_data = Transform(Input=my_data)
trans_data.Transform.Translate = [xShift, 0.0, 0.0]
merged_data = AppendDatasets(Input=[my_data, trans_data])

The StreamTracer only integrates over one of the appended blocks at a time. Here the xShift=32, and the file has 32 points along x with coordinates np.arange(0.5, 32.5).

I have not been able to figure out the answer to this by searching online, and apologies if this is a is a re-post.