Closed msnookusgs closed 7 months ago
Yes, you have to modify the electrode positions in the data container and then the mesh generation should work automatically. Say you have the electrode heights in an array ez, then you can set them by
for i, el in enumerate(data.sensors()):
data.setSensor(i, [el.x(), ez[i]])
Thank you! Worked perfectly.
Hi all,
I'm working on inverting some ERT field data, and I'm running into issues with getting topography represented accurately.
I am reading in data from a sting file (.stg) using pybert, and these data have the x positions of the electrodes stored but do not have the z positions (elevation) as we collected these separately. Therefore, the automatically generated mesh produced by the invert function is flat and yields an inaccurate inversion.
I have tried creating my own mesh by making polygons based on the true electrode positions, but when I try running the inversions using my own created mesh I get the error: "There is a requested electrode that does not match the given mesh. " My thinking is this could be because there are two extra nodes introduced when I try to make the mesh a rectangle (vertices placed at the bottom left and bottom right corners of this graph).
So, I guess I have 2 main questions about how I should proceed.
Thanks for any and all suggestions. Michael