Open erichnau opened 3 years ago
Hi Erich,
Thank you for letting me know. The reason why I had np.int16 for *.rd7 files was because I had no access to any such files and just guessed what the encoding could be (as I wrote in the code). Do you happen to have an example .rd7 file that you could send me that I can use to test? Ideally together with a figure of how the data should look like.
Thanks and best wishes, Alain
Hi Alain, I unfortunately have no other software to show rd7 files (my ReflexW is outdated and my main processing software is kind of a black box where I only get to see the depthslices) I do have data from two different MALÅ GX systems. The first one is a bit older (2019) and saves the data in both rd3 and rd7 format (this might help), but they use the same header file. The newer system (2021) uses only rd7 files.
For me changing dtype to np.int32 in GPRPy worked fine for displaying the data, but I haven't used any of the processing tools though.
Cheers, Erich
HI, I want to know, how do I compile code after making to those changes in gprIO_MALA.py then build and install. As my new changes are not getting compiled. I tried python gprpy.py but I get compile err. "import gprpy.toolbox.gprIO_DT1 as gprIO_DT1 ModuleNotFoundError: No module named 'gprpy.toolbox'; 'gprpy' is not a package"
I am in conda env where I am able to run gprpy successfully in both Profile and warr mode. Please help.
Thanks and Regards Manisha
Hi,
Because this is python, there is no compiling happening. After editing the code, you can simply uninstall gprpy using pip:
pip uninstall gprpy from a directory outside of the gprpy folders.
Then reinstall the gprpy using pip install . from the right directory (see installation instructions)
On Thu, Feb 2, 2023, 3:37 AM MumMumMum @.***> wrote:
HI, I want to know, how do I compile code after making to those changes in gprIO_MALA.py then build and install. As my new changes are not getting compiled. I tried python gprpy.py but I get compile err. "import gprpy.toolbox.gprIO_DT1 as gprIO_DT1 ModuleNotFoundError: No module named 'gprpy.toolbox'; 'gprpy' is not a package"
I am in conda env where I am able to run gprpy successfully in both Profile and warr mode. Please help.
Thanks and Regards Manisha
— Reply to this email directly, view it on GitHub https://github.com/NSGeophysics/GPRPy/issues/20#issuecomment-1413422445, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEAPHI2IYEQMJW62RW2GE4DWVN537ANCNFSM5DPV4YZQ . You are receiving this because you commented.Message ID: @.***>
... i should say "no compiling by hand necessary". Python itself may do some compiling in the background to produce those .pyc files. But that all happens automatically.
On Thu, Feb 2, 2023, 8:15 AM Alain Plattner @.***> wrote:
Hi,
Because this is python, there is no compiling happening. After editing the code, you can simply uninstall gprpy using pip:
pip uninstall gprpy from a directory outside of the gprpy folders.
Then reinstall the gprpy using pip install . from the right directory (see installation instructions)
On Thu, Feb 2, 2023, 3:37 AM MumMumMum @.***> wrote:
HI, I want to know, how do I compile code after making to those changes in gprIO_MALA.py then build and install. As my new changes are not getting compiled. I tried python gprpy.py but I get compile err. "import gprpy.toolbox.gprIO_DT1 as gprIO_DT1 ModuleNotFoundError: No module named 'gprpy.toolbox'; 'gprpy' is not a package"
I am in conda env where I am able to run gprpy successfully in both Profile and warr mode. Please help.
Thanks and Regards Manisha
— Reply to this email directly, view it on GitHub https://github.com/NSGeophysics/GPRPy/issues/20#issuecomment-1413422445, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEAPHI2IYEQMJW62RW2GE4DWVN537ANCNFSM5DPV4YZQ . You are receiving this because you commented.Message ID: @.***>
Thanks for your reply. I used setup build and setup install. It worked for me thanks a ton
On Thu, 2 Feb 2023, 19:45 Alain Plattner, @.***> wrote:
Hi,
Because this is python, there is no compiling happening. After editing the code, you can simply uninstall gprpy using pip:
pip uninstall gprpy from a directory outside of the gprpy folders.
Then reinstall the gprpy using pip install . from the right directory (see installation instructions)
On Thu, Feb 2, 2023, 3:37 AM MumMumMum @.***> wrote:
HI, I want to know, how do I compile code after making to those changes in gprIO_MALA.py then build and install. As my new changes are not getting compiled. I tried python gprpy.py but I get compile err. "import gprpy.toolbox.gprIO_DT1 as gprIO_DT1 ModuleNotFoundError: No module named 'gprpy.toolbox'; 'gprpy' is not a package"
I am in conda env where I am able to run gprpy successfully in both Profile and warr mode. Please help.
Thanks and Regards Manisha
— Reply to this email directly, view it on GitHub <https://github.com/NSGeophysics/GPRPy/issues/20#issuecomment-1413422445 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AEAPHI2IYEQMJW62RW2GE4DWVN537ANCNFSM5DPV4YZQ
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/NSGeophysics/GPRPy/issues/20#issuecomment-1413813958, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSPMTH6T75MGBCJLW7PA7DWVO6R5ANCNFSM5DPV4YZQ . You are receiving this because you commented.Message ID: @.***>
Hi, just started working with data from our new MALA GX system using *.rd7 filetypes, but data were not displayed correctly. In gprIO_MALA.py line 27 dtype should be np.int32 (not np.int16).
Cheers, Erich