From 934cfb69de66c34e4b59400ae6f6525c800f3fb9 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 11 Feb 2024 15:09:51 -0600 Subject: [PATCH] update post --- .../posts/display-tempest-weather-static-site/index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/posts/display-tempest-weather-static-site/index.md b/content/posts/display-tempest-weather-static-site/index.md index cd64db9..ee3063d 100644 --- a/content/posts/display-tempest-weather-static-site/index.md +++ b/content/posts/display-tempest-weather-static-site/index.md @@ -1,5 +1,5 @@ --- -title: "Displaying Data from Tempest Weather Station on a Static Site" +title: "Displaying Data from a Tempest Weather Station on a Static Site" date: "2024-02-11T20:48:49Z" # lastmod: 2024-02-10 description: "Using a GitHub Actions workflow to retrieve data from an authenticated API, posting results to a publicly-accessible pastebin, and displaying them on a static web site." @@ -607,10 +607,10 @@ For testing this, I can manually alter[^alter] the contents of the pastebin to e ![Local test page reflecting "57°f (13.9°c), feels 67°f (19.4°c)" and "no rain today"](local-test-conditional.png) The final touch will be to change the icons depending on the values of certain fields: -- The conditions icon will vary from to , roughly corresponding to the `icon` value from the Tempest API. -- The temperature icon will range from to depending on the temperature. -- The precipitation icon will be for no precipitation, and progress through and for a bit more rain, and cap out at for lots of rain[^rain]. -- The pressure icon should change based on the trend: , , and . +- The conditions icon will vary from to , roughly corresponding to the `icon` value from the Tempest API. +- The temperature icon will range from to depending on the temperature. +- The precipitation icon will be for no precipitation, and progress through and for a bit more rain, and cap out at for lots of rain[^rain]. +- The pressure icon should change based on the trend: , , and . [^rain]: Okay, admittedly this progression isn't perfect, but it's the best I could come up with within the free FA icon set.