station.html.tmpl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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,chrome=1">
  6. <meta http-equiv="Refresh" content="180">
  7. <meta name="description" content="$station.location Weather Station ($Extras.cwop) - weather web site powered by WeeWX">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="profile" href="http://gmpg.org/xfn/11" />
  10. #if $Extras.has_key('web_url')
  11. <link rel="canonical" href="$Extras.web_url/station.html" itemprop="url"/>
  12. #end if
  13. <title itemprop="name">$station.location ($Extras.cwop) Station Information</title>
  14. <!-- Open Graph -->
  15. <meta property="og:site_name" content="$station.location ($Extras.cwop) Station Information" />
  16. <meta property="og:title" content="Station Information"/>
  17. #if $Extras.has_key('web_url')
  18. <meta property="og:url" content="$Extras.web_url/station.html"/>
  19. #end if
  20. <meta property="og:description" content="Station Information for $station.location ($Extras.cwop) - weather web site powered by WeeWX" />
  21. <meta property="og:type" content="website" />
  22. <!-- Icons -->
  23. <link rel="icon" href="favicon.ico" type="image/png">
  24. <link rel="apple-touch-icon" href="touch-icon.png"/>
  25. <!-- Styles -->
  26. <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
  27. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  28. <link rel="stylesheet" href="css/main.css">
  29. <!-- Skripte -->
  30. <script src="js/modernizr-2.6.2.min.js"></script>
  31. </head>
  32. <body>
  33. <header>
  34. <div class="container-fix" >
  35. <div class="h-left" >
  36. <h1><i class="fa fa-cloud" ></i> $station.location </h1>
  37. <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.location" target="_blank" ><i class="fa fa-map-marker" ></i> Show on map</a></p>
  38. <h2>Station Information</h2>
  39. <p><i class="fa fa-clock-o" ></i> $current.dateTime $current.dateTime.format("%Z")</p>
  40. </div>
  41. <div class="h-right" >
  42. <table>
  43. <tr><td><b>Station:</b></td><td>$station.hardware</td></tr>
  44. <tr><td><b>Software:</b></td><td><a href="http://weewx.com/" target="_blank" >WeeWX v$station.version</a></td></tr>
  45. <tr><td><b>Weewx uptime:</b></td><td>$station.uptime</td></tr>
  46. <tr><td><b>Server uptime:</b></td><td>$station.os_uptime</td></tr>
  47. <tr><td><b>Station IDs:</b></td><td><a href="http://www.findu.com/cgi-bin/wxpage.cgi?call=$Extras.cwop&last=24" >$Extras.cwop</a> | <a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=pws:$Extras.wunderground&MR=1" >$Extras.wunderground</a></td></tr>
  48. </table>
  49. </div>
  50. <nav>
  51. <ul class="topnav" id="myTopnav">
  52. <li class="icon"><a href="javascript:void(0);" onclick="myFunction()"><i class="fa fa-bars" ></i></a></li>
  53. <li><a href="/" >Current</a></li>
  54. <li><a href="week.html" >Week</a></li>
  55. <li><a href="month.html" >Month</a></li>
  56. <li><a href="year.html" >Year</a></li>
  57. <li class="active"><a href="station.html" >Station</a></li>
  58. <li><a href="summary.html" >Summaries</a></li>
  59. <li><a href="RSS/weewx_rss.xml" ><i class="fa fa-rss" ></i> </a></li>
  60. </ul>
  61. </nav>
  62. </div>
  63. </header>
  64. <!-- Main container -->
  65. <div class="main" >
  66. <div class="container" >
  67. <div class="left" >
  68. <div class="card" >
  69. <h1><i class="fa fa-info-circle" ></i> Station Information</h1>
  70. The station is a <a href="http://www.lacrossetechnology.com/2316/">La Crosse WS-2316</a> located about 3 miles north-northwest of
  71. Meridian, Idaho in the Kelly Creek Subdivision. The station has been running since November 7, 2007. A <a href="https://www.raspberrypi.org/" target="_blank" >Raspberry Pi 2 Model B<!-- Raspberry Pi icon by Icons8 --> <img src="https://maxcdn.icons8.com/Color/PNG/24/Logos/raspberry_pi-24.png" title="Raspberry Pi" height="18" width="18"></a> running
  72. <a href="http://weewx.com/" target="_blank" >WeeWX v$station.version</a> processes the data which is sent to <a href="http://www.wxqa.com/" target="_blank" >CWOP</a> and <a href="http://www.wunderground.com/" target="_blank" >Weather Underground</a> in addition
  73. to this web site. Data is sent every 10 minutes.
  74. <br><br>
  75. Latitude: $station.latitude[0]&deg; $station.latitude[1]' $station.latitude[2]
  76. <br>
  77. Longitude: $station.longitude[0]&deg; $station.longitude[1]' $station.longitude[2]
  78. <br>
  79. Elevation: $station.altitude
  80. <br>
  81. <table class="tablespacer">
  82. <tr><td colspan="3"><br>Data is also available from:</td></tr>
  83. <tr><td><center><a href="http://www.findu.com/cgi-bin/wxpage.cgi?call=$Extras.cwop&last=24" ><img src="icons/cwop.png" title="CWOP" alt="cwop" /><br>$Extras.cwop</a></center></td>
  84. #if $Extras.has_key('wunderground')
  85. <td><center><a href="http://www.wunderground.com/cgi-bin/findweather/getForecast?query=pws:$Extras.wunderground&MR=1" ><img src="icons/wu.png" title="Weather Underground" alt="$Extras.wunderground" /><br>$Extras.wunderground</a></center></td>
  86. #end if
  87. #if $Extras.has_key('mwest')
  88. <td><center><a href="http://mesowest.utah.edu/cgi-bin/droman/meso_base_dyn.cgi?stn=$Extras.mwest&unit=0&timetype=LOCAL" ><img src="icons/mesowest.png" height="84" width="84" title=Mesowest" alt="$Extras.mwest" /><br>$Extras.mwest</a></center></td>
  89. #end if
  90. #if $Extras.has_key('crahs')
  91. <td><center><a href="" ><img src="icons/CoCoRaHS.png" height="84" width="84" title="CoCoRaHS" alt="CoCoRaHS" /><br>$Extras.crahs</a></center></td>
  92. #end if
  93. </tr>
  94. </table>
  95. </div>
  96. <div class="card" >
  97. <h1><i class="fa fa-code"></i> Site Code</h1>
  98. This web site uses Sofaskin for WeeWx, designed by Sven at <a href="http://neoground.com/projects/weewx/">Neoground</a>. Sofaskin is a
  99. custom skin model from Google's Material Design that uses <a href="getbootstrap.com">Bootstrap</a> to display the weather data.
  100. I made a variety of functional changes to the
  101. original Sofaskin code which is available on <a href="">GitHub</a>. My Sofaskin-CW9009 skin
  102. needs an additional python script (historygenerator.py) which was adapted from another
  103. skin, <a href="http://www.dajda.net/about.html">Dajda.net</a>, to generate the history tables.
  104. The code for the web page skins and python script is available from the web sites below.
  105. <br><br>
  106. Sofaskin from Neoground:
  107. <br>
  108. <i class="fa fa-info-circle"> </i><a href="http://neoground.com/projects/weewx/"> http://neoground.com/projects/weewx/</a>
  109. <br><br>
  110. Sofaskin-CW9009:
  111. <br><i class="fa fa-github"> </i> I will added the code to GitHub before January 2017!
  112. <br><br>
  113. Dajda Skin (historygenerator.py):
  114. <br>
  115. <i class="fa fa-info-circle"></i> <a href="http://www.dajda.net/about.html">http://www.dajda.net/about.html</a>
  116. <br>
  117. <i class="fa fa-github"></i> <a href="http://github.com/brewster76/fuzzy-archer">http://github.com/brewster76/fuzzy-archer</a>
  118. <br><br>
  119. Questions? Send them to <a href=mailto:josh@cw9009.x10host.com>josh@cw9009.x10host.com</a>
  120. <br>
  121. </div>
  122. <div class="card" >
  123. <h1><i class="fa fa-server m-rot"></i> Status</h1>
  124. <table>
  125. <tr><td><b>WeeWX uptime:</b></td><td>$station.uptime</td></tr>
  126. <tr><td><b>Server uptime:</b></td><td>$station.os_uptime</td></tr>
  127. </table>
  128. </div>
  129. </div>
  130. <div class="right" >
  131. <div class="card" >
  132. <h1><i class="fa fa-history m-gruen" ></i> Station History</h1>
  133. <table class="tablespacer">
  134. <tr><td>01/23/2016</td></tr>
  135. <tr><td>Moved temperature/humidity sensor to the front of the house (north facing) under eaves.</td></tr>
  136. </table>
  137. <table class="tablespacer">
  138. <tr><td><br>12/31/2015</td></tr>
  139. <tr><td>Changed hardware from PC to Raspberry Pi 2 Model B. Changed software from HeavyWeather to WeeWX 3.3.1. </td></tr>
  140. </table>
  141. <table class="tablespacer">
  142. <tr><td><br>09/18/2009</td></tr>
  143. <tr><td>Attached the wind sensor to the west side of the roof. The sensor is about a foot above the roof. Temperatures sensor was attached under the northwest corner eaves.</td></tr>
  144. </table>
  145. <img src="photo/IMG_0925.JPG" alt="photo" class="space small" />
  146. <table class="tablespacer">
  147. <tr><td><br>08/24/2008</td></tr>
  148. <tr><td>Moved station to the southwest corner of the property. Sensors about 5 feet above ground. Wind obstruction from trees and house. Temperature sensor partially shielded. </td></tr>
  149. </table>
  150. <img src="photo/IMG_5374.jpg" alt="photo" class="space small" />
  151. <table class="tablespacer">
  152. <tr><td><br>11/07/2007</td></tr>
  153. <tr><td>Station established in the backyard (south facing) next to the fence.</td></tr>
  154. </table>
  155. <img src="photo/IMG_4957.jpg" alt="photo" class="space small" />
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. <footer>
  161. <div class="container-fix">
  162. <center>
  163. #if $Extras.has_key('you')
  164. <i class="fa fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
  165. #end if
  166. &sdot;
  167. Copyright <i class="fa fa-copyright"></i> $latest.dateTime.format("%Y")
  168. <br>
  169. Design by <a href="http://blauesledersofa.de">blaues Ledersofa</a>
  170. &sdot;
  171. Powered by<i class="fa fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a> and
  172. <!-- Raspberry Pi icon by Icons8 --> <img src="https://maxcdn.icons8.com/Color/PNG/24/Logos/raspberry_pi-24.png" title="Raspberry Pi" height="18" width="18"> <a href="https://www.raspberrypi.org/" target="_blank"> Raspberry Pi 2 Model B</a>.
  173. </center>
  174. </div>
  175. </footer>
  176. #if $Extras.has_key('googleAnalyticsId')
  177. <!-- Google Analytics -->
  178. <script>
  179. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  180. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  181. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  182. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  183. ga('create', '$Extras.googleAnalyticsId', 'auto');
  184. ga('send', 'pageview');
  185. </script>
  186. #end if
  187. <!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
  188. <script>
  189. function myFunction() {
  190. var x = document.getElementById("myTopnav");
  191. if (x.className === "topnav") {
  192. x.className += " responsive";
  193. } else {
  194. x.className = "topnav";
  195. }
  196. }
  197. </script>
  198. </body>
  199. </html>