Changed photodiode bug level from warning to info.

Thu, 12 Apr 2018 11:33:51 +0300

author
Iannis <i.binietoglou@impworks.gr>
date
Thu, 12 Apr 2018 11:33:51 +0300
changeset 147
d6a27ff6df88
parent 146
968f8c944f90
child 149
6be372caf9fd

Changed photodiode bug level from warning to info.

atmospheric_lidar/licel.py file | annotate | diff | comparison | revisions
--- a/atmospheric_lidar/licel.py	Thu Mar 29 17:30:39 2018 +0300
+++ b/atmospheric_lidar/licel.py	Thu Apr 12 11:33:51 2018 +0300
@@ -123,7 +123,7 @@
             ADCrange = self.discriminator  # Discriminator value already in mV
 
             if self.is_photodiode and (self.adcbits == 0):
-                logger.warning("Assuming adcbits equal 1. This is a bug in current licel format when storing photodiode data.")
+                logger.info("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).

mercurial