the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
Tomofast-x 2.0: an open-source parallel code for inversion of potential field data, to recover density, susceptibility and magnetisation vector, with topography and wavelet compression
Abstract. We present a major release of the Tomofast-x open-source gravity and magnetic inversion code that incorporates several functionalities enhancing its performance and applicability for both industrial and academic studies. The code has been re-designed with a focus on real-world mineral exploration scenarios, while offering flexibility for applications at regional scale or for crustal studies. This new version includes several major improvements: magnetization vector inversion, inversion of multi-component magnetic data, wavelet compression, improved handling of topography with support for non-uniform grids, a new, efficient parallelization scheme, a flexible parameter file, and optimized input-output operations. Extensive testing has been conducted on a large synthetic dataset as well as field data from a prospective area of the Eastern Goldfields (Western Australia) to explore new functionalities with a focus on inversion for magnetisation vectors and magnetic susceptibility, respectively. Results demonstrate the effectiveness of Tomofast-x 2.0 in real-world studies in terms of both the recovery of subsurface features and performances on shared and distributed memory machines. Overall, with its updated features, improved capabilities, and performances, the new version of Tomofast-x provides a free open-source, validated advanced and versatile tool for constrained gravity and magnetic inversion.
-
Notice on discussion status
The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.
-
Preprint
(2857 KB)
-
The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.
- Preprint
(2857 KB) - Metadata XML
- BibTeX
- EndNote
- Final revised paper
Journal article(s) based on this preprint
Interactive discussion
Status: closed
-
RC1: 'Comment on egusphere-2023-2243', Andrea Balza, 09 Dec 2023
Tomofast-x 2.0: an open-source parallel code for inversion of potential field data, to recover density, susceptibility and magnetisation vector, with topography and wavelet compression
Dear Authors,
I extend my appreciation for your significant contributions to the paper titled "Tomofast-x 2.0: an Open-Source Parallel Code for Inversion of Potential Field Data." The advancements in Tomofast, as presented, are noteworthy and contribute significantly to the field. The way the data and model vector are parallelized is very innovative to my knowledge.
Although this paper has two very different topics with the main overlap being that they are both in the Tomofast 2.0 release, the paper was structured very well. The explanation of the parallelization methodology was very clear for non-experts and well understood throughout the paper.
While I express my overall endorsement of the paper, I would like to propose consideration of the following points:
- For the synthetic data, I am not sure how much the adding of the homogenous half space and topography plus the response of the magnetic bodies is affecting the result. It would be useful to review this using other inversion codes that have the capability of forward modeling the homogeneous half space including the magnetic bodies even if it is not parallelized.
- The results pertaining to the reduction factor are presented with clarity. However, inclusion of computing times and computational power specifications for inversions under varying reduction factors would enhance the comprehensiveness of the paper. Such data would afford readers insights into the nuanced trade-offs between continuity in inversion results and computational efficiency.
- The paper would really improve by enhancing the text and colorbar in the model figures. By eliminating the grey background and increasing the size of the axis labels will make the image clearer. It would be interesting to see the flexibility of Tomofast with other open-source visualization software that is Python based, such as PyVista. Other aesthetic changes to the TMI map and figures are noted in the PDF.
Kindly refer to the attached PDF for detailed comments.
Best Regards,
Andrea Balza Morales
-
AC1: 'Reply on RC1', Vitaliy Ogarko, 18 Jan 2024
Dear Andrea Balza Morales,
Thank you for your constructive review and the opportunity to improve the paper. We are pleased to read that you are of opinion that results are noteworthy and contribute significantly to the field.
Below are our answers to your comments.
Reviewer:
“For the synthetic data, I am not sure how much the adding of the homogenous half space and topography plus the response of the magnetic bodies is affecting the result. It would be useful to review this using other inversion codes that have the capability of forward modeling the homogeneous half space including the magnetic bodies even if it is not parallelized.”
Answer:
We have compared the calculated responses of Tomofast-x and Potent for simple cuboid models which can be accurately represented by the regularisation of Tomofast-x and achieved excellent agreement. As long as the magnetism of the halfspace is purely induced and its susceptibility not high then there will be no coupling between the halfspace and the bodies, due to linearity, so adding their response should be a valid approach. If a code which can accurately map the shapes and size of the bodies used in our synthetic example and also map the response of magnetic topography becomes available and adequate computational resources can be found to run it, we would be happy to assist in confirming the validity of our approach.
Reviewer:
“The results pertaining to the reduction factor are presented with clarity. However, inclusion of computing times and computational power specifications for inversions under varying reduction factors would enhance the comprehensiveness of the paper. Such data would afford readers insights into the nuanced trade-offs between continuity in inversion results and computational efficiency.”
Answer:
We included in the paper a figure that shows the memory usage and CPU time for different compression rates. We also included to the paper the following paragraph discussing the added figure:
“Figure 11 shows the memory usage and CPU time (wall time) for compression rates from Rc=0.1% to Rc=50%, for the Callisto model, using Ncpu=40 cores on a machine with shared memory system. The memory was recorded by the value of ‘VmHWM’ saved in the '/proc/self/status' file. This corresponds to the peak resident set size (“high water mark”) memory. The total memory is calculated by summing up this value across all processors. The memory reported in Figure 11 is measured at the end of the run to calculate the maximum RAM memory used. Both the memory used and CPU time scale nearly linearly with the compression rate. The theoretical memory prediction Eq.(A1) has a constant offset from the measured memory. This can be explained by the memory internally allocated by the MPI library. The offset also scales nearly linearly with Ncpu and this is explained by the shared memory allocated by the MPI. Thus, the actual amount of the allocated “offset memory” is smaller than reported using this approach, by a factor of ~Ncpu.”
Reviewer:
“The paper would really improve by enhancing the text and colorbar in the model figures. By eliminating the grey background and increasing the size of the axis labels will make the image clearer. It would be interesting to see the flexibility of Tomofast with other open-source visualization software that is Python based, such as PyVista. Other aesthetic changes to the TMI map and figures are noted in the PDF.”
Answer:
We modified all model figures by increasing the colorbar size, changing the background to white, and changing the colour of the axis labels, to make them more readable. We also adjusted the TMI map and topography figures according to your suggestions from the attached PDF.
Our point-by-point answers to the comments and suggestions from your attached PDF are provided in the supplementary material.
Thanks, and regards,
The authors
-
RC2: 'Comment on egusphere-2023-2243', Anonymous Referee #2, 04 Jan 2024
Dear Authors,
the manuscript "Tomofast-x 2.0: an Open-Source Parallel Code for Inversion of Potential Field Data." presents the capabilities of the software package “Tomofast-x” in a clear and structured way and I would also like to express my endorsement of the paper.
There are a couple of minor points which should, IMHO, be considered for improvement:
As a general remark I agree with the comment RC1 that the readability of the legends in some of the figures, particularly Fig 3 (b), Fig 6, 8, 10, 13 could be improved. Another issue I would see is that, although I’m not an expert in that area, the choice of color scale in some figures (Fig 3, 4 and to a lesser degree Fig 6) might be problematic for readers with impaired red-green vision.
One specific point is that on page 4, lines 8-10, the authors state that "What has been missing from this mix is an open source, cross platform, package able to scale to continental sized problems while offering rapid answers at prospect scale". There are two aspects of this statement which might benefit from some clarification: (1) While the authors describe on the previous page why SimPEG doesn't fulfill those criteria, they do not do so for the other packages mentioned in Table 1 and (2) given that the authors mention “cross platform” it would be nice to add some information on which platforms the packages listed in Table 1 actually run.
And finally, I assume the “Releif” in the heading of Table 2 is a typo.
Citation: https://doi.org/10.5194/egusphere-2023-2243-RC2 -
AC2: 'Reply on RC2', Vitaliy Ogarko, 18 Jan 2024
Dear Reviewer,
Thank you for your constructive review and the opportunity to improve the paper. We are pleased to read that you endorse the paper.
Below are our answers to your comments.
Reviewer:
“As a general remark I agree with the comment RC1 that the readability of the legends in some of the figures, particularly Fig 3 (b), Fig 6, 8, 10, 13 could be improved.”
Answer:
We modified all proposed figures by increasing the colorbar size, changing the background to white, and changing the colour of the axis labels, to make them more readable.
Reviewer:
“Another issue I would see is that, although I’m not an expert in that area, the choice of color scale in some figures (Fig 3, 4 and to a lesser degree Fig 6) might be problematic for readers with impaired red-green vision.”
Answer:
The colours tables for the images have caused us a great deal of difficulty. At the request of the topic editor, we changed the colours to be interpretable by a range of colour blindnesses and tested them against colour blind test sites. While for normal vision it is sometimes difficult to determine what is high and what is low perversely, the colour-blind test sites suggest that this is not the case for colour blind readers.
Reviewer:
“One specific point is that on page 4, lines 8-10, the authors state that "What has been missing from this mix is an open source, cross platform, package able to scale to continental sized problems while offering rapid answers at prospect scale". There are two aspects of this statement which might benefit from some clarification: (1) While the authors describe on the previous page why SimPEG doesn't fulfill those criteria, they do not do so for the other packages mentioned in Table 1 and (2) given that the authors mention “cross platform” it would be nice to add some information on which platforms the packages listed in Table 1 actually run.”
Answer:
(1) We added in the paper the following sentence to clarify why other listed in Table 1 codes do not fulfill the performance criteria:
“To the best of our knowledge, among the open-source codes listed in Table 1, Tomofast-x is the only one that offers wavelet compression of the sensitivity matrix.”
(2) Because it is not essential to the code and to avoid confusions, we removed the mention of "cross-platform" from the manuscript.
Reviewer:
“And finally, I assume the “Releif” in the heading of Table 2 is a typo.”
Answer:
We corrected this typo.
Thanks, and regards,
The authors
Citation: https://doi.org/10.5194/egusphere-2023-2243-AC2
-
AC2: 'Reply on RC2', Vitaliy Ogarko, 18 Jan 2024
Interactive discussion
Status: closed
-
RC1: 'Comment on egusphere-2023-2243', Andrea Balza, 09 Dec 2023
Tomofast-x 2.0: an open-source parallel code for inversion of potential field data, to recover density, susceptibility and magnetisation vector, with topography and wavelet compression
Dear Authors,
I extend my appreciation for your significant contributions to the paper titled "Tomofast-x 2.0: an Open-Source Parallel Code for Inversion of Potential Field Data." The advancements in Tomofast, as presented, are noteworthy and contribute significantly to the field. The way the data and model vector are parallelized is very innovative to my knowledge.
Although this paper has two very different topics with the main overlap being that they are both in the Tomofast 2.0 release, the paper was structured very well. The explanation of the parallelization methodology was very clear for non-experts and well understood throughout the paper.
While I express my overall endorsement of the paper, I would like to propose consideration of the following points:
- For the synthetic data, I am not sure how much the adding of the homogenous half space and topography plus the response of the magnetic bodies is affecting the result. It would be useful to review this using other inversion codes that have the capability of forward modeling the homogeneous half space including the magnetic bodies even if it is not parallelized.
- The results pertaining to the reduction factor are presented with clarity. However, inclusion of computing times and computational power specifications for inversions under varying reduction factors would enhance the comprehensiveness of the paper. Such data would afford readers insights into the nuanced trade-offs between continuity in inversion results and computational efficiency.
- The paper would really improve by enhancing the text and colorbar in the model figures. By eliminating the grey background and increasing the size of the axis labels will make the image clearer. It would be interesting to see the flexibility of Tomofast with other open-source visualization software that is Python based, such as PyVista. Other aesthetic changes to the TMI map and figures are noted in the PDF.
Kindly refer to the attached PDF for detailed comments.
Best Regards,
Andrea Balza Morales
-
AC1: 'Reply on RC1', Vitaliy Ogarko, 18 Jan 2024
Dear Andrea Balza Morales,
Thank you for your constructive review and the opportunity to improve the paper. We are pleased to read that you are of opinion that results are noteworthy and contribute significantly to the field.
Below are our answers to your comments.
Reviewer:
“For the synthetic data, I am not sure how much the adding of the homogenous half space and topography plus the response of the magnetic bodies is affecting the result. It would be useful to review this using other inversion codes that have the capability of forward modeling the homogeneous half space including the magnetic bodies even if it is not parallelized.”
Answer:
We have compared the calculated responses of Tomofast-x and Potent for simple cuboid models which can be accurately represented by the regularisation of Tomofast-x and achieved excellent agreement. As long as the magnetism of the halfspace is purely induced and its susceptibility not high then there will be no coupling between the halfspace and the bodies, due to linearity, so adding their response should be a valid approach. If a code which can accurately map the shapes and size of the bodies used in our synthetic example and also map the response of magnetic topography becomes available and adequate computational resources can be found to run it, we would be happy to assist in confirming the validity of our approach.
Reviewer:
“The results pertaining to the reduction factor are presented with clarity. However, inclusion of computing times and computational power specifications for inversions under varying reduction factors would enhance the comprehensiveness of the paper. Such data would afford readers insights into the nuanced trade-offs between continuity in inversion results and computational efficiency.”
Answer:
We included in the paper a figure that shows the memory usage and CPU time for different compression rates. We also included to the paper the following paragraph discussing the added figure:
“Figure 11 shows the memory usage and CPU time (wall time) for compression rates from Rc=0.1% to Rc=50%, for the Callisto model, using Ncpu=40 cores on a machine with shared memory system. The memory was recorded by the value of ‘VmHWM’ saved in the '/proc/self/status' file. This corresponds to the peak resident set size (“high water mark”) memory. The total memory is calculated by summing up this value across all processors. The memory reported in Figure 11 is measured at the end of the run to calculate the maximum RAM memory used. Both the memory used and CPU time scale nearly linearly with the compression rate. The theoretical memory prediction Eq.(A1) has a constant offset from the measured memory. This can be explained by the memory internally allocated by the MPI library. The offset also scales nearly linearly with Ncpu and this is explained by the shared memory allocated by the MPI. Thus, the actual amount of the allocated “offset memory” is smaller than reported using this approach, by a factor of ~Ncpu.”
Reviewer:
“The paper would really improve by enhancing the text and colorbar in the model figures. By eliminating the grey background and increasing the size of the axis labels will make the image clearer. It would be interesting to see the flexibility of Tomofast with other open-source visualization software that is Python based, such as PyVista. Other aesthetic changes to the TMI map and figures are noted in the PDF.”
Answer:
We modified all model figures by increasing the colorbar size, changing the background to white, and changing the colour of the axis labels, to make them more readable. We also adjusted the TMI map and topography figures according to your suggestions from the attached PDF.
Our point-by-point answers to the comments and suggestions from your attached PDF are provided in the supplementary material.
Thanks, and regards,
The authors
-
RC2: 'Comment on egusphere-2023-2243', Anonymous Referee #2, 04 Jan 2024
Dear Authors,
the manuscript "Tomofast-x 2.0: an Open-Source Parallel Code for Inversion of Potential Field Data." presents the capabilities of the software package “Tomofast-x” in a clear and structured way and I would also like to express my endorsement of the paper.
There are a couple of minor points which should, IMHO, be considered for improvement:
As a general remark I agree with the comment RC1 that the readability of the legends in some of the figures, particularly Fig 3 (b), Fig 6, 8, 10, 13 could be improved. Another issue I would see is that, although I’m not an expert in that area, the choice of color scale in some figures (Fig 3, 4 and to a lesser degree Fig 6) might be problematic for readers with impaired red-green vision.
One specific point is that on page 4, lines 8-10, the authors state that "What has been missing from this mix is an open source, cross platform, package able to scale to continental sized problems while offering rapid answers at prospect scale". There are two aspects of this statement which might benefit from some clarification: (1) While the authors describe on the previous page why SimPEG doesn't fulfill those criteria, they do not do so for the other packages mentioned in Table 1 and (2) given that the authors mention “cross platform” it would be nice to add some information on which platforms the packages listed in Table 1 actually run.
And finally, I assume the “Releif” in the heading of Table 2 is a typo.
Citation: https://doi.org/10.5194/egusphere-2023-2243-RC2 -
AC2: 'Reply on RC2', Vitaliy Ogarko, 18 Jan 2024
Dear Reviewer,
Thank you for your constructive review and the opportunity to improve the paper. We are pleased to read that you endorse the paper.
Below are our answers to your comments.
Reviewer:
“As a general remark I agree with the comment RC1 that the readability of the legends in some of the figures, particularly Fig 3 (b), Fig 6, 8, 10, 13 could be improved.”
Answer:
We modified all proposed figures by increasing the colorbar size, changing the background to white, and changing the colour of the axis labels, to make them more readable.
Reviewer:
“Another issue I would see is that, although I’m not an expert in that area, the choice of color scale in some figures (Fig 3, 4 and to a lesser degree Fig 6) might be problematic for readers with impaired red-green vision.”
Answer:
The colours tables for the images have caused us a great deal of difficulty. At the request of the topic editor, we changed the colours to be interpretable by a range of colour blindnesses and tested them against colour blind test sites. While for normal vision it is sometimes difficult to determine what is high and what is low perversely, the colour-blind test sites suggest that this is not the case for colour blind readers.
Reviewer:
“One specific point is that on page 4, lines 8-10, the authors state that "What has been missing from this mix is an open source, cross platform, package able to scale to continental sized problems while offering rapid answers at prospect scale". There are two aspects of this statement which might benefit from some clarification: (1) While the authors describe on the previous page why SimPEG doesn't fulfill those criteria, they do not do so for the other packages mentioned in Table 1 and (2) given that the authors mention “cross platform” it would be nice to add some information on which platforms the packages listed in Table 1 actually run.”
Answer:
(1) We added in the paper the following sentence to clarify why other listed in Table 1 codes do not fulfill the performance criteria:
“To the best of our knowledge, among the open-source codes listed in Table 1, Tomofast-x is the only one that offers wavelet compression of the sensitivity matrix.”
(2) Because it is not essential to the code and to avoid confusions, we removed the mention of "cross-platform" from the manuscript.
Reviewer:
“And finally, I assume the “Releif” in the heading of Table 2 is a typo.”
Answer:
We corrected this typo.
Thanks, and regards,
The authors
Citation: https://doi.org/10.5194/egusphere-2023-2243-AC2
-
AC2: 'Reply on RC2', Vitaliy Ogarko, 18 Jan 2024
Peer review completion
Journal article(s) based on this preprint
Data sets
Callisto and Synthetic400 models Vitaliy Ogarko, Kim Frankcombe, Taige Liu https://doi.org/10.5281/zenodo.8397794
Model code and software
Tomofast-x v.2.0 Vitaliy Ogarko, Kim Frankcombe, Taige Liu, Jeremie Giraud, Roland Martin, Mark Jessell https://doi.org/10.5281/zenodo.8397949
Viewed
HTML | XML | Total | BibTeX | EndNote | |
---|---|---|---|---|---|
270 | 159 | 20 | 449 | 16 | 10 |
- HTML: 270
- PDF: 159
- XML: 20
- Total: 449
- BibTeX: 16
- EndNote: 10
Viewed (geographical distribution)
Country | # | Views | % |
---|
Total: | 0 |
HTML: | 0 |
PDF: | 0 |
XML: | 0 |
- 1
Kim Frankcombe
Taige Liu
Jeremie Giraud
Roland Martin
Mark Jessell
The requested preprint has a corresponding peer-reviewed final revised paper. You are encouraged to refer to the final revised version.
- Preprint
(2857 KB) - Metadata XML