Privacywonk / MMM-Surf

MagicMirror module that pulls in tide, water temp, and Magicseaweed data to show an at-a-glance surf report for your favorite spot.
Other
5 stars 2 forks source link

NOAA ERDDAP RTOFS Data #47

Open Privacywonk opened 4 years ago

Privacywonk commented 4 years ago

24 hour posting cycle: This data is only updated once a day, which means water temp data could be up to 24 hours old.

in node_helper, if we exceed the the date threshold ("axis maximum" in NOAA terms) there is a block of error checking code that will subtract a day from current date and rerun the query to pull in the old data.

TO-DO: Custom timer for this data to only pull once a day and cache responses.

GPS Coordinates and null Responses The data set is very sensitive near coast lines. If you are too close, you may get a null value.

TO-DO: Error handling for null value + Visual indicator to user to adjust coordinates further into the ocean.