Changeset 1203 for SHX


Ignore:
Timestamp:
15.12.2016 22:02:44 (3 years ago)
Author:
klaus
Message:

changed naming

Location:
SHX/trunk/SeismicHandler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/cmdscripts/LOCAL_MAGNITUDE_PLOT.SHC

    r1202 r1203  
    4141zoom all 3 
    4242mplplot/tracelabelsize=5 |trc_|#7| sw blue,2*lightblue #1 
    43 magnitude dumpfile ml |magndump_|#7| 
     43magnitude dumpfile ml |dump_|#7| 
    4444 
    4545return 
  • SHX/trunk/SeismicHandler/commands/magnitude.py

    r1202 r1203  
    247247            magtype = self.getMagtype( self.parameters[1] ) 
    248248            dumpfile = self.parameters[2].lower() 
     249            if dumpfile.endswith('.png') 
     250                dumpfile = os.path.splitext(dumpfile)[0] + '.txt' 
    249251            fp = open( dumpfile, 'w' ) 
    250252            for x,y,lab in zip(*self.getMagnitudePlotData(magtype)): 
Note: See TracChangeset for help on using the changeset viewer.