Giter Site home page Giter Site logo

renwangqi / edi2mare Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiangfcn/edi2mare

0.0 0.0 0.0 478 KB

Edi2Mare is a little GUI to help you to convert EDI-files into the correct format to run inversions with MARE2DEM.

License: GNU General Public License v3.0

MATLAB 100.00%

edi2mare's Introduction

Edi2Mare

Edi2Mare is a little GUI to help you to convert EDI-files into the correct format to run inversions with MARE2DEM. Its development has been sponsored by GEOTEM Ingeniería S.A. de C.V. (http://geotem.com.mx) in Mexico City, and it has been released to the public under the GNU General Public License V3. So far it has only been used with files created with ProcMT and with WinGLink.

  • MARE2DEM is a parallel adaptive finite element code for 2D forward and inverse modeling for electromagnetic geophysics. It was developed with funding support from the Scripps Seafloor Electromagnetic Methods Consortium, http://mare2dem.ucsd.edu.
  • ProcMT is free and open-source software to process MT data, provided by Metronix Geophysics, http://geo-metronix.de.
  • WinGLink is a multidisciplinary software program developed to process, interpret and integrate several geophysical disciplines in a unique interpretation model, developed by Schlumberger http://www.slb.com.

Some warnings:

  1. Edi2Mare was programmed in the Linux-version of Matlab R2012b. It was not tested outside this environment (not with other versions of Matlab nor on Windows/Mac).
  2. Edi2Mare was created to solve a problem. However, there is lots of room for improvements. If you find Edi2Mare useful, and have the time to improve the code, then please go ahead!
  3. Edi2Mare was only tested with *.edi-files from ProcMT, and *.wln-files from WinGLink.
  4. There are apparently different possible formats for *.wln-files. At the moment, only two are supported. 4 header lines are expected for both, and the frequency values must be in the first column. Then, Rho XY, Phi XY, Rho YX, and Phi YX are expected either in columns {2, 3, 4, 5} or in columns {3, 5, 7, 9}. In the first case, the file must have less than 9 columns. This part is fragile. If you have an issue with loading *.wln-files, have a look at the file GUI/load_data.m from line 230 onwards.

Summary

With Edi2Mare you can:

  • Prepare *.edi-files for Mamba2D and MARE2DEM; Edi2Mare will create the file *.emdata, which can subsequently be loaded with Mamba2D.
  • Correct for Static Shift by using TEM-data; automatic estimation is possible.
  • You can use *.wln-files, exported from WinGLink, instead of *.edi-files.
  • Adjust the altitude of the receivers, Z-shift (MARE2DEM requires that all receivers are in the subsurface).
  • Define the inversion-line (0-point and angle) and select the receivers for this line.
  • Select the frequency-band that goes into the inversion.
  • Deselect bad data.
  • Define error levels.
  • Show Robert L. Parkers D+ approximation.

User interface

Example screenshot: Image of Yaktocat

I believe that Edi2Mare is simple enough so it does not require lots of information. A few notes:

  • Installation:

    • Just copy the whole repo to your computer, and add the path to your MATLAB-path.
    • MARE2DEM must be in your Matlab-path.
  • To start Edi2Mare, just execute Edi2Mare in the MATLAB command line.

  • Many elements will show additional information if you hoover over them with your mouse.

  • To start, you have to click on Load in the section Measurement. There you can choose the folder where you have the *.edi- or *.wln-files, and optionally the *.tem-files.

    Important points:

    1. In the data-folder you need a file coordinates.txt. The format of this file is:

      Name Easting Northing Altitude

      For instance:

      10_MT-1 749570.000 2224523.000 1620.125
      11_MT-2 747507.000 2223857.000 1565.855
      12_MT-3 745604.000 2224368.000 1526.000
      13_MT-Test 755432.000 2222445.000 1795.514

    2. The names of the *.edi-, *.wln-, and *.tem-files and the names of coordinates.txt have to start with the same 2-digit number, for instance:

      • 13_mt_auto_processing_median.edi

      • 13_NETEM.tem

      • coordinates.txt

        13_MT-Test 755432.000 2222445.000 1795.514

      The part following the number (##_) in the names of coordinates.txt is used to name the receivers; in the example the used name for that receiver would be MT-Test. These names and the file-names may not contain spaces.

  • Z-Shift is positive facing downwards (convention from MARE2DEM).

  • The automatic Fit for the Static Shift is just a suggestion, not necessarily the best values; it is a minimization between MT and TEM data.

  • North and East are given in kilometers in Edi2Mare.

  • The angle of the inversion-line is counterclockwise, in degrees.

  • The System is for instance 14 N; the UTM Coordinate System.

  • The errors are in %.

Edi2Mare with data exported from WinGLink

The idea of Edi2Mare was to create the file *.emdata for MARE2DEM from *.edi-files created with ProcMT. If you have MT data in WinGLink, there is a possibility to use them for Edi2Mare too. You have to export the MT data as *.wln-files: Open the data in WinGLink => Soundings, and then Files => Edit data ... => File => Export to File... and save them with the ending .wln. (Exporting *.edi-files does not work, because then you would export the original file, without the changes you made in WinGLink.)

The functionality of Edi2Mare is limited if you use *.wln-files instead of *.edi-files. You only see Apparent Resistivity and Phase, no Impedances. D+ does not work either. However, it still works to create the *.emdata-file and subsequently run an inversion with MARE2DEM.

edi2mare's People

Contributors

prisae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.