uafgeotools / mtuq

moment tensor uncertainty quantification
BSD 2-Clause "Simplified" License
65 stars 22 forks source link

meca [error] running serialgridsearch.dc.py example #226

Closed jl-miller closed 8 months ago

jl-miller commented 9 months ago

pygmt.exceptions.GMTCLibError: Module 'meca' failed with status code 72: meca [ERROR]: Option -c is not a recognized common option

rmodrak commented 9 months ago

Thanks for this report. I get this error too after installing mtuq and pygmt from scratch under conda. In my case, it seems that conda install pygmt now results in a very outdated version of pygmt. Could I ask what is the output of pygmt.__version__ in your case?

jl-miller commented 9 months ago

(mtuq)$ pip show pygmt Name: pygmt Version: 0.2.1

print(pygmt.version) v0.2.1

rmodrak commented 9 months ago

To update pygmt you could try:

conda install 'pygmt>=0.9'

After updating in the above manner, I no longer get the pygmt 'meca' error.

rmodrak commented 8 months ago

Now added to the documentation:

https://uafgeotools.github.io/mtuq/install/issues.html#troubleshooting-pygmt-installation

Please reopen if there are any other related PyGMT problems.