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

need help ! #196

Closed
Plop-obspy opened this issue Feb 19, 2020 · 7 comments
Closed

need help ! #196

Plop-obspy opened this issue Feb 19, 2020 · 7 comments

Comments

@Plop-obspy
Copy link

Hi ! I am a student, trying to work with msnoise but i have some issue.
On the one hand the function compute_cc, remains blocked at 99%, leaving me 15 jobs "in progress".

I decided to continue despite this, the stack is going well, and when I get to compute_mwcs, I have this error message that appears :
(base) diaclase.site:/diaclase_1/Stage_M2_Marine> msnoise compute_mwcs
2020-02-19 12:22:54.955935 msnoise [pid 28164][INFO]: *** Starting: Compute MWCS ***
2020-02-19 12:22:57.203406 msnoise [pid 28164][INFO]: There are MWCS jobs for some days to recompute for FR.RUSF3:FR.RUSF6
Traceback (most recent call last):
File "/u/moana/user/mgros/anaconda2/bin/msnoise", line 10, in
sys.exit(run())
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/msnoise/scripts/msnoise.py", line 1202, in run
cli(obj={})
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/msnoise/scripts/msnoise.py", line 778, in compute_mwcs
main(loglevel=loglevel)
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/msnoise/s05compute_mwcs.py", line 164, in main
cur, ref, f.mwcs_low, f.mwcs_high, goal_sampling_rate, -maxlag, f.mwcs_wlen, f.mwcs_step)
File "/u/moana/user/mgros/anaconda2/lib/python2.7/site-packages/msnoise/move2obspy.py", line 394, in mwcs
window_length_samples = np.int(window_length * df)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
(base) diaclase.site:/diaclase_1/Stage_M2_Marine>

I don't understand why, nor what I can do to fix it.
Thank you in advance for your response.

@ThomasLecocq
Copy link
Member

Hi, did you solve this?

@Plop-obspy
Copy link
Author

Plop-obspy commented Feb 20, 2020 via email

@ThomasLecocq
Copy link
Member

Marine,

OK thanks for this. I will try to make sure those fields cannot be NULL in the next version.

About the "I"n progress jobs: it means they crashed/never completed. You might, next time, want to try resetting them to "T"odo, then run the command in msnoise -v verbose mode.

@Plop-obspy
Copy link
Author

Plop-obspy commented Feb 20, 2020 via email

@ThomasLecocq
Copy link
Member

it shouldn't do, if you msnoise reset it only changes the In progress, if you msnoise reset --all it resets all

@Plop-obspy
Copy link
Author

Plop-obspy commented Feb 20, 2020 via email

@Plop-obspy
Copy link
Author

Plop-obspy commented Feb 20, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants