Open Wangmmstar opened 1 year ago
Hi June,
Thank you for your encouraging comment and for using GPRPy.
When you change the source python file, you need to reinstall gprpy:
pip uninstall gprpy
then
pip install .
in the GPRPy folder. This will integrate your changes into the installed gprpy package, which is stored in your python package manager's folder.
Another option could be to use / alter a script that I just made available https://github.com/NSGeophysics/gpr2ascii
You could edit it to store the data as a .npy instead of a .DZT file.
I hope this helps. Best and thank you, Alain
Hi June,
Thank you for your encouraging comment and for using GPRPy.
When you change the source python file, you need to reinstall gprpy:
pip uninstall gprpy
thenpip install .
in the GPRPy folder. This will integrate your changes into the installed gprpy package, which is stored in your python package manager's folder. Another option could be to use / alter a script that I just made available https://github.com/NSGeophysics/gpr2ascii You could edit it to store the data as a .npy instead of a .DZT file.I hope this helps. Best and thank you, Alain
Hi Alain,
Thank you for your informative reply! I am trying the second way that use your gpr2ascii repository. I am not sure how could I edit it to store the data as a .npy file? Just change the suffix of file? Could you give me more details? Thanks again!
Best, June
Hi, thank you for your wonderful work!
I processed the .DZT file using gprpy. However, when I save the file, it can only save as .gpr file. Even though I changed the source python file to let it not forcely save .gpr file, still get the same output. Do you have any suggestions on save the processed data as .DZT file or convert the .gpr file to .DZT or npy file? Any help would be very much appreciated!!
Best, June