[MSNoise] (BUD) structure?

Kasper van Wijk k.vanwijk at auckland.ac.nz
Tue Apr 1 00:23:17 UTC 2014


Hi Thom:

The errors happen both as -i (needs a fix in the documentation: no longer
"init") and in chron. Here is an excerpt of the output with the print
statement added as you suggested:

[kasper at kvan637-277769 MSNoise-master]$ python -i s01scan_archive.py
2014-04-01 13:18:11,043 [INFO] *** Starting: Scan Archive ***
2014-04-01 13:18:11,130 [INFO] Will work on 1 threads
['',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..EHE.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..EHE.2014.090',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..EHN.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..EHN.2014.090',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..EHZ.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..EHZ.2014.090',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..LCQ.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..LCQ.2014.090',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VEC.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VEC.2014.090',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VEM.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VEM.2014.090',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VEP.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VEP.2014.090',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VKI.2014.089',
'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/ABAZ.NZ..VKI.2014.090']
2014-04-01 13:18:11,252 [INFO] Started:
/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ
2014-04-01 13:18:11,276 [INFO] child process calling self.run()
Problem [Errno 21] Is a directory:
u'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/ABAZ/'
2014-04-01 13:18:13,215 [INFO] process shutting down
2014-04-01 13:18:13,215 [INFO] process exiting with exitcode 0

And maybe it is not too bad, but I don't know enough about the sqlite to
understand if the attached screenshot means the data_availability table is
filled or not, but

[kasper at kvan637-277769 MSNoise-master]$ python s02new_jobs.py
2014-04-01 13:21:01,630 [INFO] *** Starting: New Jobs ***
2014-04-01 13:21:01,664 [DEBUG] Found 0 new jobs to do
2014-04-01 13:21:01,839 [INFO] *** Finished: New Jobs ***

there are no new jobs..

Cheers,
Kasper



On 31 March 2014 21:04, Thomas Lecocq <thomas.lecocq at oma.be> wrote:

> Kasper,
>
> Does this happen when initialising the scan ? (- i argument) ? or in cron ?
> Is the data_availability table filled, even with all the errors ?
>
> It looks like, when listing files in a directory, the "." or "/" line
> gets returned, which leads to the read-error... This said, the ExitCode
> 0 means it sucessfully finished the process.
>
> one thing to test:
>
> on Line 179, add :
>
>     print files
>
>
> with the same indentation as the following line (L180: if len(files) !=
> 0:).
>
> Best regards
>
> Thom
>
>
> Le 31/03/2014 02:52, Kasper van Wijk a écrit :
> > Dear Thomas,
> >
> > python s01scan_archive.py leads to many errors of this type:
> >
> > 2014-03-31 13:39:36,535 [INFO] Started:
> > /home/kasper/Downloads/MSNoise-master/AUCK/NZ/WTAZ
> > 2014-03-31 13:39:36,538 [INFO] child process calling self.run()
> > Problem [Errno 21] Is a directory:
> > u'/home/kasper/Downloads/MSNoise-master/AUCK/NZ/WTAZ/'
> > 2014-03-31 13:39:36,603 [INFO] process shutting down
> > 2014-03-31 13:39:36,603 [INFO] process exiting with exitcode 0
> >
> > My data is in the following BUD structure:
> > [kasper at kvan637-277769 AWAZ]$ pwd
> >
> > /home/kasper/Downloads/MSNoise-master/AUCK/NZ/
> >
> > [kasper at kvan637-277769 NZ]$ ls -ltr
> > total 44
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 RVAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 AWAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 WIAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 MKAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 MBAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 HBAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 ETAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 ABAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 WTAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 KBAZ
> > drwxrwxr-x. 2 kasper kasper 4096 Mar 31 13:00 EPAZ
> > [kasper at kvan637-277769 NZ]$ cd AWAZ/
> > [kasper at kvan637-277769 AWAZ]$ ls
> > AWAZ.NZ..EH1.2014.078  AWAZ.NZ..LCQ.2014.078  AWAZ.NZ..VEP.2014.078
> > AWAZ.NZ..EH1.2014.089  AWAZ.NZ..LCQ.2014.089  AWAZ.NZ..VEP.2014.089
> > AWAZ.NZ..EH2.2014.078  AWAZ.NZ..VEC.2014.078  AWAZ.NZ..VKI.2014.078
> > AWAZ.NZ..EH2.2014.089  AWAZ.NZ..VEC.2014.089  AWAZ.NZ..VKI.2014.089
> > AWAZ.NZ..EHZ.2014.078  AWAZ.NZ..VEM.2014.078
> > AWAZ.NZ..EHZ.2014.089  AWAZ.NZ..VEM.2014.089
> >
> > I am only intending to xcorrelate the EHZ (and EHN and EHE, if they
> exist).
> >
> > Config screen attached.
> >
> > Cheers,
> > kasper
> >
> >
> > _______________________________________________
> > MSNoise mailing list
> > MSNoise at mailman-as.oma.be
> > http://mailman-as.oma.be/mailman/listinfo/msnoise
>
> _______________________________________________
> MSNoise mailing list
> MSNoise at mailman-as.oma.be
> http://mailman-as.oma.be/mailman/listinfo/msnoise
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pourthomas1.png
Type: image/png
Size: 106719 bytes
Desc: not available
URL: <http://mailman-as.oma.be/pipermail/msnoise/attachments/20140401/d46df341/attachment-0001.png>


More information about the MSNoise mailing list