Misc inventory format


#1

Hi all,

I would like to import a station inventory being in a very strange format. It’s an ascii file with a line per channel (how weird is that?). It look like this:

#columns: network station location channel latitude longitude elevation samplerate gain units groundmotionclip azimuth dip sensortype
KN AKT0 17 HLE 39.29750 140.56290 77 100 4.194304e+03 counts/(cm/sec2) 0.00000 0.0 -90.0 UNKNOWN
KN AKT0 18 HLE 39.19390 140.19020 130 100 4.194304e+03 counts/(cm/sec2) 0.00000 0.0 -90.0 UNKNOWN
KN AKT0 19 HLE 39.03840 140.45100 170 100 4.194304e+03 counts/(cm/sec2) 0.00000 0.0 -90.0 UNKNOWN

Is there a tool for this? Should I convert to something else? Any ideas ?

As a first try, i’ll do my own python script to make inventory line by line with obspy…