Hi Rod,

Saw your email & wrote a Python script for you.
Cannot attach executable to email, but you can download it from: 
https://github.com/gthompson/kitchensinkGT/blob/master/bin/autoreg_wrapper.py
It can work through a Seisan WAV/DB/YYYY/MM archive of WAV files, running 
autoreg on 1 file at a time within a try…except, so it should log bad WAV files 
to the file badwavfiles.txt and skip them. autoreg gets its input from a file 
(written by this program), rather than keyboard.

I tried it on a part of the MVO DSNC_ archive I have here, but didn’t have any 
bad files, so badwavfiles.txt is an empty file for me.
I am running this on CentOS 7. You’ll see it complains that it is moving a WAV 
file to the place it already resides – can safely ignore that.

Merry Xmas to you and everyone at MVO/SRC.

Glenn

From: [email protected] <[email protected]> on behalf of 
Roderick Stewart <[email protected]>
Date: Friday, December 24, 2021 at 7:05 AM
To: [email protected] <[email protected]>
Subject: [seisan] AUTOREG crashing
I need to run AUTOREG on several years of a continuous database. This will take 
a long time and I’d like to leave it running while I enjoy my Christmas dinner.

Unfortunately, AUTOREG crashes on some files, presumably corrupt ones. Like 
this:

/mnt/mvofls2/Seismic_Data/WAV/DSNC_/2021/11/2021_11_07_0320_
At line 3469 of file wave.for (unit = 77, file = 
'/mnt/mvofls2/Seismic_Data/WAV/DSNC_/2021/11/2021_11_07_0320_00.msd')
Fortran runtime error: End of file

Error termination. Backtrace:
#0  0x7fa64ba26682 in ???
#1  0x7fa64ba27149 in ???
#2  0x7fa64ba27d4f in ???
#3  0x7fa64bc4d66b in ???
#4  0x7fa64bc4dc32 in ???
#5  0x7fa64bc4a71e in ???
#6  0x7fa64bc4f274 in ???
#7  0x7fa64bc502bb in ???
#8  0x5555e21e1d33 in ???
#9  0x5555e21de900 in ???
#10  0x5555e216a870 in MAIN__
at /home/seisan/seismo/PRO/autoreg.for:445
#11  0x5555e216ee49 in main
at /home/seisan/seismo/PRO/autoreg.for:787

This is SEISAN 12 on Debian Linux.

It going to take a long time to fix the problem every time AUTOREG crashes.

Is there any way to run AUTOREG to jump over these presumed corrupt files and 
provide a list of files that it would crash on.

Rod
--
Roderick Stewart
Research Fellow (Volcano-Seismology), Montserrat Volcano Observatory
www.mvo.ms<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mvo.ms%2F&data=04%7C01%7Cthompsong%40usf.edu%7C0d714337bcff4cc3846a08d9c6d5975f%7C741bf7dee2e546df8d6782607df9deaa%7C0%7C0%7C637759443376473162%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=vVbt54GtSQsS3vkPkqFqxxtMjF9%2Bgmna7mQPXI%2B%2B%2BRs%3D&reserved=0>
email: [email protected]<mailto:[email protected]>, 
[email protected]<mailto:[email protected]>, 
[email protected]<mailto:[email protected]>

phone: (+1-664) 491-5647
fax: (+1-664) 491-2423
direct line: (+1-664) 491-5726
mobile: (+1-664) 495-0743
home: (+1-664) 491-3139
roaming: +44 7452 023889
trinidad: +1 (868) 780-4296







[EXTERNAL EMAIL] DO NOT CLICK links or attachments unless you recognize the 
sender and know the content is safe.
_______________________________________________
seisan mailing list
[email protected]
https://mailman.uib.no/listinfo/seisan

Reply via email to