User Tools

Site Tools


operations:db_ncedc:fix_miniseed

Sample shell script to update header information in MiniSEED files using qedit:

#!/bin/csh
foreach c (BHE BHN BHZ HHE HHN HHZ HNE HNN HNZ LEB LED LEO LEP LHE LHN LHZ LIO LKO LNE LNN LNZ LYV VME VMN VMZ)

set file = BRIB.BK.$c.00.D.2021.070

qedit $file << EOS
auto off
limit corr 1
from first thru last set loc 01
#from first thru last set chan VMZ
file done/BRIB.BK.$c.01.D.2021.070
EOS

qmerge -n done/$file >>& fixed.out


end 
operations/db_ncedc/fix_miniseed.txt · Last modified: 2023/06/26 16:03 by stephane