Changeset 1236
- Timestamp:
- 04/07/2020 04:56:53 PM (3 years ago)
- Location:
- SHX/trunk/SeismicHandler
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
SHX/trunk/SeismicHandler/cmdscripts/READ_GERMAN_STATIONS.SHC
r1213 r1236 7 7 sdef lon 11.6156 8 8 9 echo perf__ reading starts at $systime 9 10 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 10 11 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 /addr=eth /excludenets=z3,s 11 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 /addr=lmu 12 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 /addr=lmu /excludenets=z3 12 13 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 /addr=resif /excludenets=z3 13 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 /addr=orfeus 14 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 /addr=orfeus /excludenets=z3,nl 14 15 fdsnws |"lat|,|"lon|,|6.| * * ?h? #1 #2 /addr=gfz /excludenets=z3 16 echo perf__ reading ended at $systime 17 echo perf__ $tottrcs traces read 15 18 chanselect hh,eh,bh ,00,10,11 19 echo perf__ meta started at $systime 16 20 meta all complete /addr=gfz 17 21 meta all complete /addr=orfeus … … 20 24 meta all complete /addr=eth 21 25 meta all complete /del_incomplete 26 echo perf__ meta ended at $systime 27 echo perf__ $tottrcs traces remained 22 28 23 29 -
SHX/trunk/SeismicHandler/commands/magnitude.py
r1234 r1236 428 428 429 429 def determineMagnitudeMl( self, trc, stime, etime, degdist ): 430 if stime >= etime: 431 return None 430 432 # find horizontals 431 433 horizcomp = "NE12XY" … … 450 452 sl = trc.slice_relative( stime, etime ) 451 453 #ampl.append( max( abs(max(sl.data)), abs(min(sl.data)) ) ) 454 if len(sl.data) < 10: 455 print "dbg: short data on", trc.stats.station, trc.stats.channel 456 return None 452 457 mean = sl.data.mean() 453 458 ampl.append( max(sl.data.max()-mean, mean-sl.data.min()) ) -
SHX/trunk/SeismicHandler/patches/obspy_.py
r1191 r1236 482 482 if end > hi: 483 483 end = hi 484 484 485 485 start = self.stats.starttime + start - torigin 486 486 end = self.stats.starttime + end - torigin 487 488 if start > end: 489 end = start 487 490 488 491 return self.slice(start, end) -
SHX/trunk/SeismicHandler/tools/netstodb.s
r1233 r1236 1 # update station metadata for SHX doing magnitude estimations: 2 # run this script on smpc52: 'source netstodb.s' 3 # copy DB file to shx1f: 'scp ~/.shx/inventory.db detector@shx1f:.shx/' 1 4 ~/svn/SHX/SeismicHandler/tools/FdsnMeta2Db.py SX,TH,GR BGR 2 5 ~/svn/SHX/SeismicHandler/tools/FdsnMeta2Db.py CH ETH
Note: See TracChangeset
for help on using the changeset viewer.