Open Hoteryoung opened 1 year ago
Hi there,
We are aware of this issue. Some minor changes were made to the way adjoint sources are calculated and this broke some of the tests related to misfit and adjoint source calculations. Fixing this is on the to-do list and I will look into it. You don't have to worry about this too much.
What are your plans for using LASIF? Are you planning to do FWI using e.g. Salvus?
Best wishes, Dirk-Philip
Appreciate your quick reply. I'm glad to hear that this bug is on the to-do list.
Indeed, I,m trying to do some work about FWI. But, currently, I'm a total green hand in this area.
Besides, I want to know whether these assertion errors will affect my learning to use LASIF.
Best wishes, Hoter Young
It shouldn't.
However, LASIF is currently made to work with the wave equation solver Salvus: (see: https://mondaic.com) Was this clear to you?
This software requires a license to be able to do wavefield simulations. Alternatively, you could fork LASIF and adapt it to use it with different solvers.
I'm not aware of this before. I will look into it.
Thanks again for your kind suggestion.
Hi, sorry to bother you guys, but I encountered some assertion errors when executing the py.test command after I install the LASIF_2.0 through pyenv(not anaconda).
I'm a rookie at Seismology. And I'm not sure what's wrong with my installation.
Here is some info about my env. platform MacOS Monterey Python 3.7.13 Python packages: alabaster 0.7.12 appnope 0.1.3 attrs 22.2.0 Babel 2.11.0 backcall 0.2.0 Cartopy 0.20.3 certifi 2022.12.7 charset-normalizer 2.1.1 click 8.1.3 cmasher 1.6.3 colorama 0.4.6 colorspacious 1.1.2 cycler 0.11.0 debugpy 1.6.4 decorator 5.1.1 dill 0.3.6 docutils 0.17.1 e13tools 0.9.6 entrypoints 0.4 exceptiongroup 1.1.0 Flask 2.2.2 Flask-Cache 0.13.1 fonttools 4.38.0 geographiclib 2.0 geojson 2.5.0 greenlet 2.0.1 h5py 3.7.0 idna 3.4 imagesize 1.4.1 importlib-metadata 6.0.0 iniconfig 1.1.1 ipydatawidgets 4.3.2 ipykernel 6.16.2 ipython 7.34.0 ipywidgets 8.0.4 isodate 0.6.1 itsdangerous 2.1.2 jedi 0.18.2 Jinja2 3.1.2 joblib 1.2.0 jupyter_client 7.4.8 jupyter_core 4.12.0 jupyterlab-widgets 3.0.5 kiwisolver 1.4.4 lasif 0.0.1 /Users/yanghaote2/Documents/code/LASIF_2.0 lxml 4.9.2 MarkupSafe 2.1.1 matplotlib 3.5.3 matplotlib-inline 0.1.6 mock 5.0.0 nest-asyncio 1.5.6 networkx 2.6.3 nose 1.3.7 numexpr 2.8.4 numpy 1.21.6 obspy 1.3.1 packaging 22.0 pandas 1.3.5 parso 0.8.3 pathlib 1.0.1 pexpect 4.8.0 pickleshare 0.7.5 Pillow 9.4.0 pip 22.3.1 pluggy 1.0.0 progressbar 2.5 prompt-toolkit 3.0.36 prov 2.0.0 psutil 5.9.4 ptyprocess 0.7.0 pyasdf 0.7.5 Pygments 2.14.0 pyparsing 3.0.9 pyproj 3.2.1 PyQt5 5.15.7 PyQt5-Qt5 5.15.2 PyQt5-sip 12.11.0 pyqtgraph 0.12.4 pyshp 2.3.1 pytest 7.2.0 python-dateutil 2.8.2 pythreejs 2.4.1 pytz 2022.7 pyzmq 24.0.1 rdflib 6.2.0 requests 2.28.1 scipy 1.7.3 seaborn 0.12.2 setuptools 47.1.0 Shapely 1.8.5 six 1.16.0 snowballstemmer 2.2.0 Sphinx 5.3.0 sphinx-rtd-theme 1.1.1 sphinxcontrib-applehelp 1.0.2 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 2.0.0 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.5 SQLAlchemy 1.4.46 toml 0.10.2 tomli 2.0.1 tornado 6.2 tqdm 4.64.1 traitlets 5.8.0 traittypes 0.2.1 typing_extensions 4.4.0 urllib3 1.26.13 wcwidth 0.2.5 Werkzeug 2.2.2 widgetsnbextension 4.0.4 zipp 3.11.0
AssertionError: