Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

making MSNoise cli faster #212

Open
ThomasLecocq opened this issue Nov 11, 2020 · 0 comments
Open

making MSNoise cli faster #212

ThomasLecocq opened this issue Nov 11, 2020 · 0 comments
Projects

Comments

@ThomasLecocq
Copy link
Member

ThomasLecocq commented Nov 11, 2020

related to obspy/obspy#2748 I'm trying to have the msnoise command run (at least its imports) under 1 second.

currently, it takes more than 5 seconds to simply list the commands (msnoise or msnoise --help) ... Toooo long!

Steps:

  1. only import pkg_resources if the plugins config is defined
  2. move scipy.signal to the PWS calculation if it is needed (in api)

work in progress: split the API for "database"-related functions ; and functions requiring obspy imports, to be able to import only the former using the msnoise.scripts.msnoise cli.

@ThomasLecocq ThomasLecocq added this to In progress in MSNoise 2 Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
MSNoise 2
In progress
Development

No branches or pull requests

1 participant