about.html.tmpl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head itemscope itemtype="http://schema.org/Website">
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta http-equiv="Refresh" content="180">
  7. #if $Extras.has_key('cwop')
  8. <meta name="description" content="$station.location Weather Station ($Extras.cwop) - weather web site powered by WeeWX">
  9. #else
  10. <meta name="description" content="$station.location Weather Station - weather web site powered by WeeWX">
  11. #end if
  12. <meta name="viewport" content="width=device-width, initial-scale=1">
  13. <link rel="profile" href="http://gmpg.org/xfn/11" />
  14. #if $Extras.has_key('web_url')
  15. <link href="$Extras.web_url/about.html" itemprop="url"/>
  16. #end if
  17. <title itemprop="name">About $station.location Weather Station</title>
  18. <!-- Open Graph -->
  19. <meta property="og:site_name" content="$station.location Station Information" />
  20. <meta property="og:title" content="About the Station"/>
  21. #if $Extras.has_key('web_url')
  22. <meta property="og:url" content="$Extras.web_url/about.html"/>
  23. #end if
  24. <meta property="og:description" content="About $station.location - weather web site powered by WeeWX" />
  25. <meta property="og:type" content="website" />
  26. <!-- FavIcons -->
  27. <link rel="icon" href="favicon.ico" type="image/png">
  28. <link rel="apple-touch-icon" href="touch-icon.png"/>
  29. <!-- Styles -->
  30. <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
  31. <link rel="stylesheet" href="css/main.css">
  32. <!-- Font Awesome CDN links for 5.3-->
  33. <!-- If you have a pro license --!>
  34. <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-9ralMzdK1QYsk4yBY680hmsb4/hJ98xK3w0TIaJ3ll4POWpWUYaA2bRjGGujGT8w" crossorigin="anonymous">
  35. <!-- Free license --!>
  36. <!-- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> --!>
  37. <!-- Skripte -->
  38. <script src="js/modernizr-2.6.2.min.js"></script>
  39. <script src="js/checkdiff.js"></script>
  40. </head>
  41. <body>
  42. <header>
  43. <div class="container-fix" >
  44. <div class="h-left" >
  45. <h1><i class="fas fa-cloud" ></i> $station.location </h1>
  46. <p>$station.latitude[0]&deg; $station.latitude[1]' $station.latitude[2] | $station.longitude[0]&deg; $station.longitude[1]' $station.longitude[2] | $station.altitude | <a href="https://www.google.com/maps/?q=$station.latitude[0]&deg;%20$station.latitude[1]%20$station.latitude[2],$station.longitude[0]&deg;%20$station.longitude[1]%20$station.longitude[2]" target="_blank" ><i class="fas fa-map-marker-alt" ></i> Show on map</a></p>
  47. <h2>Station Information</h2>
  48. <p><i class="far fa-clock" ></i> $current.dateTime $current.dateTime.format("%Z")</p>
  49. <p id="freshweather" class="m-orange"></p>
  50. <script>
  51. window.onload = checkDiff("$current.dateTime ($current.dateTime.format('%Z'))");
  52. </script>
  53. </div>
  54. <div class="h-right" >
  55. <table>
  56. <tr>
  57. <td><b>Station:</b></td>
  58. <td>$station.hardware</td>
  59. </tr>
  60. <tr>
  61. <td><b>Software:</b></td>
  62. <td><a href="http://weewx.com/" target="_blank" >WeeWX v$station.version</a></td>
  63. </tr>
  64. <tr>
  65. <td><b>Weewx uptime:</b></td>
  66. <td>$station.uptime</td>
  67. </tr>
  68. <tr>
  69. <td><b>Server uptime:</b></td>
  70. <td>$station.os_uptime</td>
  71. </tr>
  72. </table>
  73. </div>
  74. <nav>
  75. <ul class="topnav" id="myTopnav">
  76. <li class="icon"><a href="javascript:void(0);" onclick="myFunction()"><i class="fas fa-bars" ></i></a></li>
  77. <li><a href="/" >Current</a></li>
  78. <li><a href="week.html" >Week</a></li>
  79. <li><a href="month.html" >Month</a></li>
  80. <li><a href="year.html" >Year</a></li>
  81. <li><a href="summary.html" >Summaries</a></li>
  82. <li class="active"><a href="about.html" >About</a></li>
  83. <li><a href="RSS/weewx_rss.xml" ><i class="fas fa-rss" ></i></a></li>
  84. </ul>
  85. </nav>
  86. </div>
  87. </header>
  88. <!-- Main container -->
  89. <div class="main" >
  90. <div class="container" >
  91. <div class="card">
  92. <h1><i class="fal fa-info-circle"></i> About the Station</h1>
  93. Weather data from a <a href="http://weatherflow.com/smart-home-weather-stations">WeatherFlow Smart Weather Station</a> which is located about 5 miles south-southeast of Meridian, Idaho, is sent to this website every 2.5 minutes. This is a personal
  94. weather station which has been running since August 30, 2018. The station provides the following weather data:
  95. <br>
  96. <br> Temperature
  97. <br> Dewpoint
  98. <br> Humidity
  99. <br> Wind Speed and Direction
  100. <br> Rain and rain intensity
  101. <br> Barometric Pressure
  102. <br> UV
  103. <br> Solar Radiation
  104. <br> Lightning Strikes and distance
  105. <br>
  106. <br> Data is also sent to:
  107. <br>
  108. <table>
  109. <tr>
  110. <td class="about">
  111. <img src="http://cw9009.x10host.com/icons/cwop.png" title="CWOP" alt="cwop" height="60" width="60" />
  112. </td>
  113. <td>
  114. <a href="http://www.findu.com/cgi-bin/wxpage.cgi?call=CW9009&last=24" target="_blank"> CW9009</a> on CWOP (every 10 minutes)
  115. </td>
  116. </tr>
  117. <tr>
  118. <td class="about">
  119. <img src="http://cw9009.x10host.com/icons/mesowest.png" height="60" width="60" title="Mesowest" alt="C9009" />
  120. </td>
  121. <td>
  122. <a href="https://mesowest.utah.edu/cgi-bin/droman/meso_base_dyn.cgi?stn=C9009&unit=0&timetype=LOCAL" target="_blank"> C9009</a> on Mesowest (every 10 minutes)
  123. </td>
  124. </tr>
  125. <tr>
  126. <td class="about">
  127. <img src="http://cw9009.x10host.com/icons/wu.png" title="Weather Underground" alt="KIDMERID85" height="40" width="60" />
  128. </td>
  129. <td>
  130. <a href="https://www.wunderground.com/personal-weather-station/dashboard?ID=KIDMERID85" target="_blank"> KIDMERID85</a> on Weather Underground (every 60 seconds)
  131. </td>
  132. </tr>
  133. <tr>
  134. <td class="about">
  135. <img src="http://cw9009.x10host.com/icons/weatherflow.png" title="WeatherFlow" alt="4952" height="60" width="60" />
  136. </td>
  137. <td>
  138. <a href="https://smartweather.weatherflow.com/share/4952/grid" target="_blank"> 4952</a> on WeatherFlow (every 60 seconds)
  139. </td>
  140. </tr>
  141. </table>
  142. <br>
  143. Daily rain and snowfall observations is taken near the WeatherFlow Station. This data is available here:
  144. <br>
  145. <table>
  146. <tr>
  147. <td class="about">
  148. <img src="http://cw9009.x10host.com/icons/CoCoRaHS.png" height="60" width="60" title="CoCoRaHS" alt="CoCoRaHS" />
  149. </td>
  150. <td>
  151. <a href="https://www.cocorahs.org/ViewData/CountyDailyPrecipReports.aspx?state=ID&county=AD" target="_blank"> ID-AD-45</a> on CoCoRaHS (daily around 700 AM LT)
  152. </td>
  153. </tr>
  154. </table>
  155. <br>
  156. <br> Software:
  157. <br>
  158. <a href="http://weewx.com/" target="_blank">WeeWX v3.8.2</a> using the <a href="https://github.com/captain-coredump/weatherflow-udp" target="_blank">weatherflowUDP driver</a> <i class="fab fa-github"></i>
  159. <br>
  160. <a href="http://fontawesome.com/" target="_blank">Font Awesome</a> icons <i class="fab fa-fort-awesome-alt"></i> used in the template.
  161. <br>
  162. <br> Hardware:
  163. <br>
  164. <a href="https://www.raspberrypi.org/" target="_blank">Raspberry Pi 2 Model B</a>
  165. <br>
  166. <br>
  167. </div>
  168. <div class="card">
  169. <h1><i class="far fa-code"></i> Site Code</h1>
  170. <p>
  171. This web site uses the Sofaskin template for <a href="http://www.weewx.com">WeeWX</a>, designed by Sven at <a href="http://neoground.com/projects/weewx/">Neoground</a>. Sofaskin is a custom skin modelled from Google's Material Design that uses
  172. <a href="http://getbootstrap.com">Bootstrap</a> to display the weather data. I made a variety of functional changes to the original Sofaskin code which is available on GitHub. My Sofaskin-CW9009 skin needs an additional python script, historygenerator.py,
  173. which was adapted from another skin, <a href="http://www.dajda.net/about.html">Dajda.net</a>, to generate the history tables. I have also incorporated some changes in this template by <a href="http://www.torkel.se/weather/index.html">Bjorn Torkelsson</a>.
  174. The code for the web page skins and python script is available from the web sites below.
  175. <br><br> Original Sofaskin template from Neoground:
  176. <br>
  177. <i class="far fa-external-link-square-alt fa-lg"> </i><a href="http://neoground.com/projects/weewx/" target="_blank"> Neoground</a>
  178. <br><br> My Sofaskin-CW9009 template:
  179. <br><i class="fab fa-github-square fa-lg"> </i> <a href="http://github.com/weatherstorm/Sofaskin-CW9009" target="_blank"> Github Repository</a>
  180. <br><br> Dajda template for historygenerator.py code:
  181. <br>
  182. <i class="far fa-external-link-square-alt fa-lg"></i> <a href="http://www.dajda.net/about.html" target="_blank"> Dajda</a>
  183. <br>
  184. <i class="fab fa-github-square fa-lg"></i> <a href="http://github.com/brewster76/fuzzy-archer" target="_blank"> Dajda Github Repository</a>
  185. <br>
  186. <br>
  187. </p>
  188. </div>
  189. <div class="card">
  190. <h1><i class="fas fa-envelope m-rot"></i> Contact</h1>
  191. <div class="contact">
  192. Josh Smith
  193. <br>
  194. <a href=mailto:Josh@cw9009.x10host.com>Josh@cw9009.x10host.com</a>
  195. </div>
  196. </div>
  197. </div>
  198. </div>
  199. <footer>
  200. <div class="container-fix">
  201. <div style="text-align:center">
  202. #if $Extras.has_key('you')
  203. <i class="fab fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
  204. #end if
  205. &sdot;
  206. Copyright <i class="far fa-copyright"></i> $latest.dateTime.format("%Y")
  207. <br>
  208. Sofaskin by <a href="http://blauesledersofa.de">Blaues Ledersofa</a>
  209. &sdot;
  210. CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
  211. &sdot;
  212. Powered by<i class="fas fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a>
  213. </div>
  214. </div>
  215. </footer>
  216. #if $Extras.has_key('googleAnalyticsId')
  217. <!-- Google Analytics -->
  218. <script>
  219. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  220. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  221. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  222. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  223. ga('create', '$Extras.googleAnalyticsId', 'auto');
  224. ga('send', 'pageview');
  225. </script>
  226. #end if
  227. <!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
  228. <script>
  229. function myFunction() {
  230. var x = document.getElementById("myTopnav");
  231. if (x.className === "topnav") {
  232. x.className += " responsive";
  233. } else {
  234. x.className = "topnav";
  235. }
  236. }
  237. </script>
  238. </body>
  239. </html>