# How to merge gas files if there are different E fields, same angles and same B fields?

**URL:** <https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673>\
**Category:** Garfield++\
**Created:** [September 2, 2024, 11:16am UTC](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673 "2024-09-02T11:16:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alksndr.volkov](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/alksndr.volkov/32/36212_2.png) [@alksndr.volkov](https://root-forum.cern.ch/u/alksndr.volkov)\
**Post date:** [September 2, 2024, 11:16am UTC](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673/1 "2024-09-02T11:16:45Z")

</div>

I tried to merge two gas tables, but it did not allow me to do this, saying that no two axes are the same.

 ![Screenshot1](https://root-forum.cern.ch/uploads/default/original/3X/b/7/b736bc11b770a7596047c4aa9b62676e557ef26f.png)  
 ![Screenshot2](https://root-forum.cern.ch/uploads/default/original/3X/5/8/582dde8d435404c5e9dd8b8cdd964b5fc194d6a0.png)

---

<div class="post-metadata">

**Author:** ![mdessole](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mdessole/32/34021_2.png) [@mdessole](https://root-forum.cern.ch/u/mdessole)\
**Post date:** [September 2, 2024, 11:39am UTC](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673/2 "2024-09-02T11:39:16Z")

</div>

Hi @alksndr.volkov,  
welcome to the ROOT forum!  
Let me add in the loop our Garfield expert @hschindl.  
Cheers,  
Monica

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [September 2, 2024, 12:03pm UTC](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673/3 "2024-09-02T12:03:30Z")

</div>

Dear @alksndr.volkov

Can you please copy paste here the snippet of your code where you merge the tables, along with the error message you obrained and the commands you used to create those two gas tables?  
Thanks  
Piet

---

<div class="post-metadata">

**Author:** ![alksndr.volkov](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/alksndr.volkov/32/36212_2.png) [@alksndr.volkov](https://root-forum.cern.ch/u/alksndr.volkov)\
**Post date:** [September 2, 2024, 1:11pm UTC](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673/4 "2024-09-02T13:11:32Z")

</div>

The mistake was in file name, so now it works well, but anyway thank you for your time!

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [September 16, 2024, 1:12pm UTC](https://root-forum.cern.ch/t/how-to-merge-gas-files-if-there-are-different-e-fields-same-angles-and-same-b-fields/60673/5 "2024-09-16T13:12:00Z")

</div>

Closed on September 16, 2024, 1:12pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
