aqualinkorg / aqualink-app

Aqualink.org Ocean Monitoring Application
MIT License
33 stars 11 forks source link

Alert level seems off #926

Closed ericboucher closed 9 months ago

ericboucher commented 10 months ago

Alert level seems off on some sites (no alert when the DHW is super high)

Eg. https://aqualink.org/sites/2904

Screenshot 2023-09-21 at 12 19 43 PM
ericboucher commented 10 months ago

After investigation, I think it's because we are using dailyData.weeklyAlertLevel (and dailyDaya may be having some issues). We could maybe use latestData instead.

ericboucher commented 10 months ago

This will be partially resolved by #927 However, we should still investigate why the dailyData values are wrong. It looks like the daily alert calculation is not working properly in the backend.