-
Notifications
You must be signed in to change notification settings - Fork 141
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
Res2Dinv Format Error #629
Comments
A simple bug only occuring for Pole-Dipole that was corrected (eedac16) |
There was an error during terrain import because the Sensors are 73, while the terrain data is only 30. How should I handle this? print(data) Data: Sensors: 73 data: 358, nonzero entries: ['a', 'b', 'm', 'n', 'rhoa', 'valid'] 0 1291.784 |
Generally, topographic data are having a different discretization. However, it seems like the are not read from the res2dinv file. Try reading them with numpy and use the following function for interpolation: |
I understand. Thank you very much for your patient response. Good luck to you. |
We enabled reading topography from res2dinv file format (48ce372). Note that the points are read but not yet automatically applied to the electrode positions, which might make sense later in a script. One can use
However, in your case there is something wrong as your electrodes go beyond zero. So either there is something wrong in your data file, or our import routine has a bug for pole-dipole in conjunction for midpoint (is it between M and N or between A and M or the mean of A,M,N?) positions specified. We will have to check but you should do so as well as independent on topography, your data are not correctly read. |
Any reply to my last comment on the wrong data? Note that we have released version v.1.4.6 supporting res2dinv topography information. |
I've checked the code of the current version v1.4.6 with some other res2dinv files and the following procedure works well:
It assumes that the x coordinates in the data file are along the topography.
|
In your case the electrodes start at -30m. If you're sure that your format is correct and the import of Pole-Dipole data is wrong, please open a new issue. |
Problem description
Excuse me Sir, I try to load a resisitivity data use format Res2Dinv. The following error occurred. Please help me. thank you very mush.
Your environment
Please provide the output of
print(pygimli.Report())
here. If that does notwork, please give provide some additional information on your:
Operating system: Windows
Python version: 3.9
pyGIMLi version: 1.4.5
Way of installation: Conda package
Steps to reproduce
Actual behavior
RES2DC.txt
The text was updated successfully, but these errors were encountered: