Change log level of some messages from info to debug.

Mon, 08 Jun 2020 23:24:17 +0300

author
ioannis <ioannis@ioannis-VirtualBox>
date
Mon, 08 Jun 2020 23:24:17 +0300
changeset 202
79a75340ae30
parent 201
49f1419b74fc
child 203
e7a6a5f6caca

Change log level of some messages from info to debug.

atmospheric_lidar/licel.py file | annotate | diff | comparison | revisions
atmospheric_lidar/licelv2.py file | annotate | diff | comparison | revisions
--- a/atmospheric_lidar/licel.py	Sat May 02 19:26:49 2020 +0300
+++ b/atmospheric_lidar/licel.py	Mon Jun 08 23:24:17 2020 +0300
@@ -142,7 +142,7 @@
             ADCrange = self.discriminator  # Discriminator value already in mV
 
             if self.is_photodiode and (self.adcbits == 0):
-                logger.info(
+                logger.debug(
                     "Assuming adcbits equal 1. This is a bug in current licel format when storing photodiode data.")
                 channel_data = norm * ADCrange / (2 ** self.adcbits)
             else:
--- a/atmospheric_lidar/licelv2.py	Sat May 02 19:26:49 2020 +0300
+++ b/atmospheric_lidar/licelv2.py	Mon Jun 08 23:24:17 2020 +0300
@@ -96,7 +96,7 @@
             ADCrange = self.discriminator  # Discriminator value already in mV
 
             if self.is_photodiode and (self.adcbits == 0):
-                logger.info("Assuming adcbits equal 1. This is a bug in current licel format when storing photodiode data.")
+                logger.debug("Assuming adcbits equal 1. This is a bug in current licel format when storing photodiode data.")
                 channel_data = norm * ADCrange / (2 ** self.adcbits)
             else:
                 channel_data = norm * ADCrange / ((2 ** self.adcbits) - 1)  # Licel LabView code has a bug (does not account -1).
@@ -162,7 +162,6 @@
         self.latitude = float(self.raw_info['latitude'])
 
         self.zenith_angle_raw = float(self.raw_info['zenith_angle'])
-        logger.debug('Fix zenith angle? %s' % self.fix_zenith_angle)
 
         if self.fix_zenith_angle:
             logger.debug('Fixing zenith angle.')

mercurial