[MSNoise] skip job flag

Flinders, Ashton aflinders at usgs.gov
Sun Oct 7 19:42:54 UTC 2018


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

-- 
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