Thanks to NOAA and xpath, I know when it’s the best time to walk my dog

Luna loves to go to the beach, especially when it’s during low tide.

 

Now, I could go visit local websites daily for the low tides in my area, but…

notimeforthat

Lucky for Luna, her daddy knows how to sling some computer coding, so… a script was developed to process daily tide predictions via data directly from NOAA and display only those that are in morning or early evening when it’s a good time to go for a walk on the beach.

Now, I get a daily email in my inbox with the low tide predictions for mornings/evenings of the next three days.

selfhandslap

If interested, the python code is over at my github, and it uses lxml / xpath to process and filter the NOAA XML data.

https://github.com/jaredevans/check_lowtides

This entry was posted in Programming. Bookmark the permalink.