{"id":144,"date":"2011-10-03T17:31:36","date_gmt":"2011-10-03T21:31:36","guid":{"rendered":"http:\/\/www.cloppermillweather.org\/blog\/?p=144"},"modified":"2011-10-03T17:31:36","modified_gmt":"2011-10-03T21:31:36","slug":"more-web-site","status":"publish","type":"post","link":"https:\/\/www.cloppermillweather.org\/blog\/2011\/10\/03\/more-web-site\/","title":{"rendered":"More Web Site"},"content":{"rendered":"<p>I finished the commuter info page and weather advisories page.\u00a0 The commuter page displays the Government operating status (a bigger deal in this area than you might think).\u00a0 It also displays traffic information that comes from a feed provided by traffic.com.\u00a0 I do a bit of parsing of that feed, as well as weeding out some of the information that doesn&#8217;t really affect traffic.\u00a0 Then I sort the results by the traffic jam factor in descending order.\u00a0 So bigger road blocks show up first in the list.<\/p>\n<p>For the advisories page, I grab the latest advisories from the NWS, separate them into categories (watch, warning, advisory, statement&#8230;) and display them on the page.\u00a0 I also display any warnings on the main page in orange, with a link to the advisories page.\u00a0 I also moved over my links, webcam, and about pages.\u00a0 I need to revise the about page, as some of the specifics about the weather station have changed since I first wrote that page.<\/p>\n<p>I finished the weather statistics and did some clean up on the page display.\u00a0 Some bugs may still surface, but it seems to be working fairly well so far.\u00a0 It was a fair bit of work to rewrite my Java code in PHP.\u00a0 It is getting easier as my PHP skills improve.\u00a0 This is the first time I have programmed anything in PHP, so I still have a lot to learn.\u00a0 The biggest stumbling block I have at the moment are my astronomical calculations.\u00a0 It took me months and a a fair amount of testing to get that right in Java.\u00a0 Not very anxious to repeat that in PHP.\u00a0 I may do some Google searching and see what existing PHP code I can turn up.\u00a0 Another option is to use the Java code to create an XML file with the results of the calculations in Java, and just use PHP to display them.\u00a0 More work than I would like, but a lot less than converting my Java calculations to PHP.<\/p>\n<p>I still have the humidity and solar sensors waiting for me to finish repairing, along with the fan aspirated solar radiation shield.\u00a0 Then rewire the rain gauge for RJ45 rather than RJ11.\u00a0 I need to get cracking.\u00a0 The weather is getting colder, and I want to get the weather station back outside where it belongs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finished the commuter info page and weather advisories page.\u00a0 The commuter page displays the Government operating status (a bigger deal in this area than you might think).\u00a0 It also displays traffic information that comes from a feed provided by &hellip; <a href=\"https:\/\/www.cloppermillweather.org\/blog\/2011\/10\/03\/more-web-site\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-144","post","type-post","status-publish","format-standard","hentry","category-weather"],"_links":{"self":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/comments?post=144"}],"version-history":[{"count":0,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/posts\/144\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/media?parent=144"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/categories?post=144"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloppermillweather.org\/blog\/wp-json\/wp\/v2\/tags?post=144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}