hello,
I combiled all channels xml files under one xml file by using obspy…
only the end of the final XML file should look like:
but it remains at each end of channel parametrs.
Would you please, recommend what should I add to the following scipt to remove unnecessary lines?
from obspy import read_inventory
from obspy import read_inventory as read
inv = read(‘AB.MV01.00.HHE.xml’, format=‘STATIONXML’)
inv += read(‘AB.MV01.00.HHN.xml’, format=‘STATIONXML’)
inv += read(‘AB.MV01.00.HHZ.xml’, format=‘STATIONXML’)
inv += read(‘AB.MV01.00.LHE.xml’, format=‘STATIONXML’)
inv += read(‘AB.MV01.00.LHN.xml’, format=‘STATIONXML’)
inv += read(‘AB.MV01.00.LHZ.xml’, format=‘STATIONXML’)
print(inv)
inv.write(‘MV01.xml’, format= ‘STATIONXML’)
in addition: is it possible to correct Startdate; sensor type; azimuth;dip parameters using obspy and how???
thanks