aqualinkorg / aqualink-app

Aqualink.org Ocean Monitoring Application
MIT License
34 stars 12 forks source link

tempWeeklyAlert should be 0 not undefined #960

Open ericboucher opened 9 months ago

ericboucher commented 9 months ago

It looks like we might be dropping 0 values for tempAlert, (and other metrics?) in the backend. I noticed this while looking at collections.

Eg. Minderoo which had 3 sites level 1 and 9 sites "undefined", which led to the following view on the dashboard:

Screenshot 2023-12-20 at 12 15 40 PM

I fixed this temporarily in the frontend but we should investigate the root cause in the backend.