cohenadair / anglers-log

Anglers' Log is a mobile application written in Flutter that allows users to track, analyze, and share their catches in the sport of fishing.
https://anglerslog.ca/
GNU General Public License v3.0
25 stars 8 forks source link

Weather data is inaccurate #841

Closed cohenadair closed 1 year ago

cohenadair commented 1 year ago

A user reported as of June 27th, weather data has been inaccurate. In particular, the sunset and sunrise data.

In my testing, the app says Port Albert sunrise was 9:30 PM, and sunset was 12:30 AM.

Need to check if the data from Visual Crossing changed, or if there's some kind of interruption in service. Most likely, the JSON structure changed, or perhaps a Flutter update changed such that we need to parse the timestamps differently.

cohenadair commented 1 year ago

From the user:

I really like the app and use it a lot. Unfortunately though, it seems that the fetch-weather feature broke for me, or at least it's not accurate anymore. Untill July 27 it was correct, starting July 29 it's bugged. Now the sunrise/set is shown at 2am and 6pm, when it should be 5am and 9.30pm. The weather itself is still okayish but not nearly as accurate as before. The shown location from where it should fetch the weather seems to still be correct. No clue, what is going wrong there...

cohenadair commented 1 year ago

I've contacted Visual Crossing about this - the data received by the API is not accurate, and the sunrise/subsetEpoch times do not match the normal sunrise/sunset fields. Temperature is ~10 degrees off.