[MSNoise] [EXTERNAL] Re: skip job flag

Flinders, Ashton aflinders at usgs.gov
Mon Oct 8 05:51:47 UTC 2018


awesome. Thanks Thomas!

On Sun, Oct 7, 2018 at 10:31 PM Thomas Lecocq <Thomas.Lecocq at seismology.be>
wrote:

> 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
> >
>
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>


-- 
Ashton F. Flinders, Ph.D
U.S. Geological Survey
345 Middlefield Road
Menlo Park, CA 94025
(650) 329-5050


More information about the MSNoise mailing list