Closed question0825 closed 1 year ago
I suspect you use a newer version of empymod (>=v2.0) and an old example.
I suspect you use a newer version of empymod (>=v2.0) and an old example.
- What version of empymod are you using?
- Which example is this? (where do you have it from)?
using empymod v2.2.1 the examples was in https://github.com/emsig/article-fdesign
Yes, as expected. You probably talk about this example, right? https://github.com/emsig/article-fdesign/blob/master/notebooks/A-GPR-create-data.ipynb
At the end of each notebook, there is a table that shows with which version was used to run the notebook. In this case, empymod v1.8.1
was used:
The quick and dirty solution is installing empymod v1.8.1
.
There were significant, non-backward compatible changes for empymod v2+
. These changes are listed here: https://empymod.emsig.xyz/en/stable/manual/changelog.html#v2-0-0-numba
I quickly went through this example and put an updated version in the dev-branch, you can find it here: https://github.com/emsig/article-fdesign/blob/dev/notebooks/A-GPR-create-data.ipynb -- with this you should be able to run it.
Currently I lack the time to do more, but I hope this helps.
I also created an issue here to track it: https://github.com/emsig/article-fdesign/issues/1
I am closing this here, as it is tracked over in https://github.com/emsig/article-fdesign/issues/1
the error following below:
How can I fix the errors?