Changeset 816 for SHX/trunk


Ignore:
Timestamp:
11/06/12 11:55:49 (8 years ago)
Author:
marcus
Message:
  • information and debugging info
File:
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/modules/traces.py

    r815 r816  
    6161                except KeyError: 
    6262                    msg = "no meta data for station '%s' at %s" 
    63                     log_message("warning.meta", msg % ('1', '2')) 
     63                    log_message("info.traces", msg % (t.id, t.get_info("start"))) 
    6464 
    6565                if gain is None: 
     66                    msg = "No gain configured for %s at %s" 
     67                    log_message("warning.traces", msg % (t.id, t.get_info("start"))) 
    6668                    gain = 1. 
    6769 
    6870                t.data *= gain 
     71                msg = "Applied gain factor of %f to %s" 
     72                log_message("debug.traces", msg % (gain, t.id)) 
    6973 
    7074        self.traces.visible += stream 
Note: See TracChangeset for help on using the changeset viewer.