Dear Peter,

Thank you very much for your suggestions, it seems it’s the best way to manage 
this issue. It will do the trick. 

Best regards,


Emanuel

On 2013/06/07, at 10:57, Voss, Peter wrote:

> Hi Emanuel,
> 
> VELEST is more than 10000 lines of code and not a SEISAN core program, so it 
> is not going to be fixed in the near future.
> I would collect all the s-files with COLLECT, and use perl to change the 
> station codes:
> perl -i -pe 's/ A0781/ A781 /' collect.out
> perl -i -pe 's/ A0786/ A786 /' collect.out
> and then use SPILT to put the events back into a database.
> Same for STATION0.HYP.
> 
> Station names in waveform files:
> SEISAN format - use WAVFIX
> SEED - I don't know, but for miniseed - use msmod 
> (http://www.iris.edu/pub/programs/miniseed/)
> 
> Good luck,
> peter
> 
> -----Oprindelig meddelelse-----
> Fra: [email protected] [mailto:[email protected]] På vegne af 
> Emanuel Antunes
> Sendt: 6. juni 2013 18:48
> Til: [email protected]
> Emne: [seisan] Renaming stations
> 
> Dear all,
> 
> 
> This question might involve more than just the SEISAN toolset, but I am 
> resorting to this mailing list as it represents the biggest pool of knowledge 
> in the area and an ingenious solution may be presented.
> I am setting out to find a Minimum 1D Velocity model with VELEST, but I am 
> confronted with an apparently simple problem, to which I haven't found any 
> ellegant solution (probably due to my lack of experience):
> 
> VELEST deals with station names of 4 characters max., VELMENU when used to 
> "translate" SEISAN configuration files simply used the first 4 characters of 
> the station names. The data from the seismic network that I am analysing has, 
> by default, 5 characters in each station's name, and in the event that the 
> names get cut to the first 4 chars many of the stations would be named equaly 
> (ex: A0781 and A0786 would both get named A078).
> 
> My question is: Is there a clever way to change my stations' names besides 
> editing all the S-Files and the STATION0.DEF files? Also, is there an 
> automated way (scripts/programs) to rename the station names in the SEED and 
> SEISAN waveform files?
> 
> I will be very grateful if someone could provide an expeditious solution to 
> this seemingly trivial problem.
> Thanks in advance.
> 
> Best Regards,
> 
> 
> Emanuel Antunes
> 
> Integrated Master Degree (MSc) in Physics Engineering M.Sc. Thesis - 
> Seismology Laboratory Instituto Superior Técnico (IST) - Lisbon Technical 
> University (UTL)
> 
> _______________________________________________
> seisan mailing list
> [email protected]
> http://mailman.uib.no/listinfo/seisan
> 
> _______________________________________________
> seisan mailing list
> [email protected]
> http://mailman.uib.no/listinfo/seisan


_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan

Reply via email to