-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1f3af98
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello,
I've updated the SeisGo package but I keep getting the same error.
1f3af98
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you update SeisGo? Can you check whether your utils.py has been updated? The new fix is not on pip repository yet. If you downloaded SeisGo via GitHub, run in terminal: git pull. Then run:
pip install .
in the main SeisGo folder that contains the setup.py.1f3af98
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I downloaded it via GitHub and also checked the
utils.py
file after I encountered the error and it seems to contain the changes. In fact I deleted the environment and created a fresh one just to make sure that everything is in place, and still got the same error.1f3af98
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you reproduce the error in a fresh environment?
1f3af98
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to reproduce the error. I found another place that uses ObsPy's taper function, which is the cause of the error. I have replaced it with seisgo.utils.taper(), which is independent of ObsPy's taper function. The seisgo version on both GitHub and pip has been consistently updated. I also updated and tested the seisgo_download_xcorr_demo.ipynb with the latest usage. I should run just fine. Let me know if you have any further issues with it. Thanks again for using SeisGo and report errors.