Closed Striken5 closed 1 year ago
I don't think this is related to the update. There was no change to the astronomical code. Instead, it's probably related to the time of year and by coincidence it coincided with the update.
Unfortunately, the code is not designed to handle the situation where the sun doesn't rise/set. It is a known limitation and is referenced in issue #60. There is a work around in that issue, and I am currently working on getting the additional functionality incorporated into the code.
I have comment out lines 439, 440, 443 and 444 of main.py Like in post #60. Then the screen looks like the one in the picture. I dont understand why time of year should have anyting with temprature reading, preasure reading, wind readings and all the other readings, execpt sun and moon graph. All the other readings should come from the weather station/web connection?
Time of year is responsible for causing the sunrise/sunset bug. The lack of weather data (which does come from the weather station) is a consequence of the sunrise/sunset bug.
Did the workaround suggested in #60 work for you? If not, can you share your station ID so I can investigate further
After the workaround in #60 it starts the program. But only with wind reading. Station id 53780 Line 439, 440, 443 and 444 is # out in main.py sun and moon
OK, I missed that the solar information is used elsewhere as well. You also need to comment out line 425 in lib/observationParser.py
. That should get you back up and running with any sun/moon data until I get this bug fixed
👍👍👍 Now its runing 😁 Then you know the stationID for testing the sun moon code 😊
Closing as a duplicate of #60
This is the info in the console window that appears
I have comment out lines 439, 440, 443 and 444 of main.py because this error
Is this the fault? Or is there another method for us who live in the far north?
It is only half of the wind info in winr rose and sager/forecast thats work when I start wfpiconsole