[MSNoise] skip job flag
Thomas Lecocq
Thomas.Lecocq at seismology.be
Mon Oct 8 05:31:16 UTC 2018
Hi,
This is indeed a known bug (the mask stuff).
You can mark the faulty job with a flag="X" for example, and then run
msnoise reset CC --rule "flag !='X'"
which should just reset the "I"n progress jobs and not the faulty ones.
Cheers,
Thomas
Le 07/10/2018 à 21:42, Flinders, Ashton a écrit :
> I have a few jobs (in the CC step) that keeps failing (say 2% of 100k
> CC's). It's throwing the error;
>
> Process Process-9:
> Traceback (most recent call last):
> File
> "/home/ashton/anaconda3/envs/msnoise/lib/python3.5/multiprocessing/process.py",
> line 252, in _bootstrap
> self.run()
> File
> "/home/ashton/anaconda3/envs/msnoise/lib/python3.5/multiprocessing/process.py",
> line 93, in run
> self._target(*self._args, **self._kwargs)
> File
> "/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/msnoise/s03compute_cc.py",
> line 318, in main
> t2_novert = make_same_length(t2_novert)
> File
> "/home/ashton/anaconda3/envs/msnoise/lib/python3.5/site-packages/msnoise/api.py",
> line 1437, in make_same_length
> tr.data.mask = mask
> UnboundLocalError: local variable 'mask' referenced before assignment
>
> before I go into debugging what is going on, is there a way I can just have
> it skip this pair? Is there a flag I can set (e.g. a flag of "S" for skip
> would be nice!)? What happens if I set the flag to "D" and its not done?
>
> thanks!
> ashton
>
More information about the MSNoise
mailing list