Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import ERT field data #768

Open
AY131313 opened this issue Sep 8, 2024 · 3 comments
Open

Can't import ERT field data #768

AY131313 opened this issue Sep 8, 2024 · 3 comments

Comments

@AY131313
Copy link

AY131313 commented Sep 8, 2024

Hi,
I am trying to conduct an ERT field data inversion using the pygimli. I design the database exactly as it is supposed to (unified format) and it is shown in some cases like lake and etc. I try importing like below:

Load your dataset

data = ert.load(r"the path\ERTfield.ohm", load=True, verbose=True)
print(data)

The issue is that the data values are not imported and I don't know why. but as the message below, parameters like a,b,m, and n are imported as the electrode positions:

Data: Sensors: 171 data: 0, nonzero entries: ['a', 'b', 'm', 'n']

I do my work in jupyter notebook environment.
I also upload the dataset I wanna import.
ERTfield2.xlsx

I have even tried using pybert.importData(), but no data is imported.

data = pb.importData(r"the path to dataset\ERTfield2.ohm", verbose=True)
print(data)

@halbmy
Copy link
Contributor

halbmy commented Sep 9, 2024

You have (as correctly read) 171 electrodes but you refer to electrodes far above this number:

#a	b	m	n	rhoa	error
297	303	298	302	49.18	1.4754
295	305	298	302	61.12	1.8336
293	307	298	302	75.74	2.2722
....

The a/b/m/n numbers are indices into the electrode list and should be between 1 and 171. As all are above 171, the number of valid data is 0.

@AY131313
Copy link
Author

AY131313 commented Sep 10, 2024

hello again,
Thanks for providing insight into the subject.
now I have to make my electrode distances 1 to 171, how should I do it?
Also, the psedusection section resulted from the inversion process of this exact ERT field data is uploaded. they are resulted utilizing the zonedres2D software. can you suggest setting the invert function arguments to result in something like the image?
1

@halbmy
Copy link
Contributor

halbmy commented Sep 11, 2024

Whereas the electrodes have arbitrary (float) positions (x and y) in the upper electrode section, the ABMN of lower section only holds indices (integer) into this list, so a 185 becomes a 1 (the first electrode mentioned), the 200 a 2 and so on.

Again: those numbers are NOT distances but indices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants