MTgeophysics/mtpy

error when create input data file for ModEM. from edi files

anismoh opened this issue · 4 comments

hello
I need some help, please

when I created an input data file for 3d inversion(ModEM), I get this file with the error word"Tra": I didn't know why I get this word ??

5.62341e-03 GCA MT Tra -29.868 139.695 0.000 0.000 0.000 ZXX -1.587891e+00 -1.748876e+01 6.943004e+00
5.62341e-03 GCA MT Tra -29.868 139.695 0.000 0.000 0.000 ZXY 1.339160e+02 4.278995e+01 6.943004e+00
5.62341e-03 GCA MT Tra -29.868 139.695 0.000 0.000 0.000 ZYX -1.363492e+02 -1.484753e+01 6.943004e+00
5.62341e-03 GCA MT Tra -29.868 139.695 0.000 0.000 0.000 ZYY -6.012245e+01 4.819113e+00 6.943004e+00
1.00000e-02 GCA MT Tra -29.868 139.695 0.000 0.000 0.000 ZXX 5.579812e+00 -1.253638e+01 6.692426e+00
1.00000e-02 GCA MT Tra -29.868 139.695 0.000 0.000 0.000 ZXY 1.159574e+02 4.500153e+01 6.692426e+00
1.00000e-02 GCA MT Tra -29.868 139.695 0.000 0.000 0.000 ZYX -1.424418e+02 -2.135535e+01 6.692426e+00

when I inverse this file with ModEM 3d the code indicates that the error began on the line where ''Tra'' appears

thank you sir for helping, but in the header of the created input data file explain the type of every column:

Period(s) Code GG_Lat GG_Lon X(m) Y(m) Z(m) Component Real Imag Error

I think there is no column for the name of the station !

Hi yes try removing spaces from your station names, if you check your edi files what is the station name? I think MTPy might be cutting the name short, do your station names in your edi files all start with "GCA MT Tra"?
As for the header, mine has that too and it runs fine, that row is commented anyway. I think the "Code" column is for the station name.

yes sir you are right , thank you so much, the code column is about Data ID, from the edi file :

HEAD

DATAID="GCA MT Transect"