livelog crashed with this error:
File "/usr/local/lib/python3.9/dist-packages/pywws/conversions.py",
line 199, in dew_point
gamma = ((a * temp) / (b + temp)) + math.log(float(hum) / 100)
ValueError: math domain error
When this happened, every time we tried to relaunch the program it failed with the same error message. Somehow, it seems that hum took a value of zero, hence the math domain error of the logarithm.
To work around the problem we have locally changed line 195 of conversion.py to:
if temp is None or hum is None or hum == 0:
Weather station model is PCE-FWS 20N. pywws-version is 23.2.0. It is running on a Raspberry Pi.
livelog crashed with this error:
File "/usr/local/lib/python3.9/dist-packages/pywws/conversions.py",
line 199, in dew_point
gamma = ((a * temp) / (b + temp)) + math.log(float(hum) / 100)
ValueError: math domain error
When this happened, every time we tried to relaunch the program it failed with the same error message. Somehow, it seems that hum took a value of zero, hence the math domain error of the logarithm.
To work around the problem we have locally changed line 195 of conversion.py to:
if temp is None or hum is None or hum == 0:
Weather station model is PCE-FWS 20N. pywws-version is 23.2.0. It is running on a Raspberry Pi.