You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, just found this nice project, thanks!
I am struggling with some "segy" data.
It seems in python with segyio i can load and display data (e.g. using cube = segyio.cube(filename)).
However trying to load the same file in RGPR and subsequently trying to plot(x)
it results in:
Error in base::rowSums(x, na.rm = na.rm, dims = dims, ...) :
'x' must be an array of at least two dimensions
checking:
> nrow(x)
[1] 1024
> ncol(x)
[1] 542
> dims(x)
seems like 2 Dimensional data.
I have to admit at this point that I am a lot more proficient in python than in R.
Am I doing something wrong? Is the segy file broken ?
the example:
plot(frenkeLine00)
plots as expected.
Thanks for your help!
The text was updated successfully, but these errors were encountered:
Thank you for opening this issue. I checked where the function rowSums() is used and I think that your issue is related to the coordinates or to the trace positions.
Can you tell me, what is the output of?
# trace coordinates
coord(x)
# trace relative position on the GPR line estimated when reading the file
pos(x)
# compute trace relative position on the GPR line based on coordinates -> should raise an error
relTrPos(x)
Hi, just found this nice project, thanks!
I am struggling with some "segy" data.
It seems in python with
segyio
i can load and display data (e.g. usingcube = segyio.cube(filename)
).However trying to load the same file in RGPR and subsequently trying to
plot(x)
it results in:
checking:
seems like 2 Dimensional data.
I have to admit at this point that I am a lot more proficient in python than in R.
Am I doing something wrong? Is the segy file broken ?
the example:
plots as expected.
Thanks for your help!
The text was updated successfully, but these errors were encountered: