month.html.tmpl 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. <!DOCTYPE html>
  2. <html class="no-js">
  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/month.html" itemprop="url"/>
  16. #end if
  17. <title itemprop="name">$station.location Monthly Weather Summary</title>
  18. <!-- Open Graph -->
  19. <meta property="og:site_name" content="$station.location Monthly Weather Summary" />
  20. <meta property="og:title" content="Monthly Weather Summary"/>
  21. #if $Extras.has_key('web_url')
  22. <meta property="og:url" content="$Extras.web_url/month.html"/>
  23. #end if
  24. <meta property="og:description" content="Monthly Weather Summary for $station.location - weather web site powered by WeeWX" />
  25. <meta property="og:type" content="website" />
  26. <!-- Icons -->
  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 href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
  32. <link rel="stylesheet" href="css/main.css">
  33. <!-- Skripte -->
  34. <script src="js/modernizr-2.6.2.min.js"></script>
  35. <script src="js/checkdiff.js"></script>
  36. </head>
  37. <body>
  38. <header>
  39. <div class="container-fix" >
  40. <div class="h-left" >
  41. <h1><i class="fa fa-cloud" ></i> $station.location </h1>
  42. <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="fa fa-map-marker" ></i> Show on map</a></p>
  43. <h2>Monthly Weather Summary</h2>
  44. <p><i class="fa fa-clock-o" ></i> $current.dateTime $current.dateTime.format("%Z")</p>
  45. <p id="freshweather" class="m-orange"></p>
  46. <script>
  47. window.onload = checkDiff("$current.dateTime ($current.dateTime.format('%Z'))");
  48. </script>
  49. </div>
  50. <div class="h-right" >
  51. <table>
  52. <tr>
  53. <td><b>Station:</b></td>
  54. <td>$station.hardware</td>
  55. </tr>
  56. <tr>
  57. <td><b>Software:</b></td>
  58. <td><a href="http://weewx.com/" target="_blank" >WeeWX v$station.version</a></td>
  59. </tr>
  60. <tr>
  61. <td><b>Weewx uptime:</b></td>
  62. <td>$station.uptime</td>
  63. </tr>
  64. <tr>
  65. <td><b>Server uptime:</b></td>
  66. <td>$station.os_uptime</td>
  67. </tr>
  68. #if $Extras.has_key('cwop') and $Extras.has_key('crahs')
  69. <tr>
  70. <td><b>Station IDs:</b></td>
  71. <td><a href="$Extras.cwop_url" target="_blank">$Extras.cwop</a> | <a href="$Extras.crahs_url" target="_blank">$Extras.crahs</a></td>
  72. </tr>
  73. #end if
  74. </table>
  75. </div>
  76. <nav>
  77. <ul class="topnav" id="myTopnav">
  78. <li class="icon"><a href="javascript:void(0);" onclick="myFunction()"><i class="fa fa-bars" ></i></a></li>
  79. <li><a href="/" >Current</a></li>
  80. <li><a href="week.html" >Week</a></li>
  81. <li class="active"><a href="month.html" >Month</a></li>
  82. <li><a href="year.html" >Year</a></li>
  83. <li><a href="summary.html" >Summaries</a></li>
  84. <li><a href="station.html" >Station</a></li>
  85. <li><a href="RSS/weewx_rss.xml" ><i class="fa fa-rss" ></i></a></li>
  86. </ul>
  87. </nav>
  88. </div>
  89. </header>
  90. <div class="main" >
  91. <div class="container" >
  92. <div class="left" >
  93. <div class="card" >
  94. <h1><i class="fa fa-calendar m-orange" ></i> This Month</h1>
  95. <table class="tablespacer">
  96. <tr>
  97. <td>High Temperature</td>
  98. <td>$month.outTemp.max</td>
  99. <td>$month.outTemp.maxtime</td>
  100. </tr>
  101. <tr>
  102. <td>Low Temperature</td>
  103. <td>$month.outTemp.min</td>
  104. <td>$month.outTemp.mintime</td>
  105. </tr>
  106. <tr>
  107. <td>High Heat Index</td>
  108. <td>$month.heatindex.max</td>
  109. <td>$month.heatindex.maxtime</td>
  110. </tr>
  111. <tr>
  112. <td>Low Wind Chill</td>
  113. <td>$month.windchill.min</td>
  114. <td>$month.windchill.mintime</td>
  115. </tr>
  116. <tr>
  117. <td>High Dewpoint</td>
  118. <td>$month.dewpoint.max</td>
  119. <td>$month.dewpoint.maxtime</td>
  120. </tr>
  121. <tr>
  122. <td>Low Dewpoint</td>
  123. <td>$month.dewpoint.min</td>
  124. <td>$month.dewpoint.mintime</td>
  125. </tr>
  126. <tr>
  127. <td>High Humidity</td>
  128. <td>$month.outHumidity.max</td>
  129. <td>$month.outHumidity.maxtime</td>
  130. </tr>
  131. <tr>
  132. <td>Low Humidity</td>
  133. <td>$month.outHumidity.min</td>
  134. <td>$month.outHumidity.mintime</td>
  135. </tr>
  136. <tr>
  137. <td>High Barometer</td>
  138. <td>$month.barometer.max</td>
  139. <td>$month.barometer.maxtime</td>
  140. </tr>
  141. <tr>
  142. <td>Low Barometer</td>
  143. <td>$month.barometer.min</td>
  144. <td>$month.barometer.mintime</td>
  145. </tr>
  146. <tr>
  147. <td>Rain Total</td>
  148. <td>$month.rain.sum</td>
  149. <td></td>
  150. </tr>
  151. <tr>
  152. <td>High Rain Rate</td>
  153. <td>$month.rainRate.max</td>
  154. <td>$month.rainRate.maxtime</td>
  155. </tr>
  156. <tr>
  157. <td>High Wind Speed</td>
  158. <td>$month.wind.max <br>$month.wind.gustdir</td>
  159. <td>$month.wind.maxtime</td>
  160. </tr>
  161. <tr>
  162. <td>Average Wind</td>
  163. <td>$month.wind.avg</td>
  164. <td></td>
  165. </tr>
  166. <tr>
  167. <td>RMS Wind</td>
  168. <td>$month.wind.rms</td>
  169. <td></td>
  170. </tr>
  171. <tr>
  172. <td>Vector Average Speed</td>
  173. <td>$month.wind.vecavg</td>
  174. <td></td>
  175. </tr>
  176. <tr>
  177. <td>Vector Average Direction</td>
  178. <td>$month.wind.vecdir</td>
  179. <td></td>
  180. </tr>
  181. <tr>
  182. <td>High Inside Temperature</td>
  183. <td>$month.inTemp.max</td>
  184. <td>$month.inTemp.maxtime</td>
  185. </tr>
  186. <tr>
  187. <td>Low Inside Temperature</td>
  188. <td>$month.inTemp.min</td>
  189. <td>$month.inTemp.mintime</td>
  190. </tr>
  191. #if $month.extraTemp1.has_data
  192. <tr>
  193. <td>High Pond Temp</td>
  194. <td>$month.extraTemp1.max</td>
  195. <td>$month.extraTemp1.maxtime</td>
  196. </tr>
  197. <tr>
  198. <td>Low Pond Temp</td>
  199. <td>$month.extraTemp1.min</td>
  200. <td>$month.extraTemp1.mintime</td>
  201. </tr>
  202. #end if
  203. #if $month.UV.has_data
  204. <tr>
  205. <td>High UV</td>
  206. <td>$month.UV.max</td>
  207. <td>$month.UV.maxtime</td>
  208. </tr>
  209. <tr>
  210. <td>Low UV</td>
  211. <td>$month.UV.min</td>
  212. <td>$month.UV.mintime</td>
  213. </tr>
  214. #end if
  215. #if $month.ET.has_data and $month.ET.sum.raw >0.0
  216. <tr>
  217. <td>High ET</td>
  218. <td>$month.ET.max</td>
  219. <td>$month.ET.maxtime</td>
  220. </tr>
  221. <tr>
  222. <td>Low ET</td>
  223. <td>$month.ET.min</td>
  224. <td>$month.ET.mintime</td>
  225. </tr>
  226. #end if
  227. #if $month.radiation.has_data
  228. <tr>
  229. <td>High Radiation</td>
  230. <td>$month.radiation.max</td>
  231. <td>$month.radiation.maxtime</td>
  232. </tr>
  233. <tr>
  234. <td>Low Radiation</td>
  235. <td>$month.radiation.min</td>
  236. <td>$month.radiation.mintime</td>
  237. </tr>
  238. #end if
  239. </table>
  240. </div>
  241. <div class="card" >
  242. <h1><i class="fa fa-calendar m-orange" ></i> Last $month($months_ago=12).dateTime.format("%B %Y")</h1>
  243. <table class="tablespacer">
  244. <tr>
  245. <td>High Temperature</td>
  246. <td>$month($months_ago=12).outTemp.max</td>
  247. <td>$month($months_ago=12).outTemp.maxtime</td>
  248. </tr>
  249. <tr>
  250. <td>Low Temperature</td>
  251. <td>$month($months_ago=12).outTemp.min</td>
  252. <td>$month($months_ago=12).outTemp.mintime</td>
  253. </tr>
  254. <tr>
  255. <td>High Heat Index</td>
  256. <td>$month($months_ago=12).heatindex.max</td>
  257. <td>$month($months_ago=12).heatindex.maxtime</td>
  258. </tr>
  259. <tr>
  260. <td>Low Wind Chill</td>
  261. <td>$month($months_ago=12).windchill.min</td>
  262. <td>$month($months_ago=12).windchill.mintime</td>
  263. </tr>
  264. <tr>
  265. <td>High Dewpoint</td>
  266. <td>$month($months_ago=12).dewpoint.max</td>
  267. <td>$month($months_ago=12).dewpoint.maxtime</td>
  268. </tr>
  269. <tr>
  270. <td>Low Dewpoint</td>
  271. <td>$month($months_ago=12).dewpoint.min</td>
  272. <td>$month($months_ago=12).dewpoint.mintime</td>
  273. </tr>
  274. <tr>
  275. <td>High Humidity</td>
  276. <td>$month($months_ago=12).outHumidity.max</td>
  277. <td>$month($months_ago=12).outHumidity.maxtime</td>
  278. </tr>
  279. <tr>
  280. <td>Low Humidity</td>
  281. <td>$month($months_ago=12).outHumidity.min</td>
  282. <td>$month($months_ago=12).outHumidity.mintime</td>
  283. </tr>
  284. <tr>
  285. <td>High Barometer</td>
  286. <td>$month($months_ago=12).barometer.max</td>
  287. <td>$month($months_ago=12).barometer.maxtime</td>
  288. </tr>
  289. <tr>
  290. <td>Low Barometer</td>
  291. <td>$month($months_ago=12).barometer.min</td>
  292. <td>$month($months_ago=12).barometer.mintime</td>
  293. </tr>
  294. <tr>
  295. <td>Rain Total</td>
  296. <td>$month($months_ago=12).rain.sum</td>
  297. <td></td>
  298. </tr>
  299. <tr>
  300. <td>High Rain Rate</td>
  301. <td>$month($months_ago=12).rainRate.max</td>
  302. <td>$month($months_ago=12).rainRate.maxtime</td>
  303. </tr>
  304. <tr>
  305. <td>High Wind Speed</td>
  306. <td>$month($months_ago=12).wind.max <br>$month($months_ago=12).wind.gustdir</td>
  307. <td>$month($months_ago=12).wind.maxtime</td>
  308. </tr>
  309. <tr>
  310. <td>Average Wind</td>
  311. <td>$month($months_ago=12).wind.avg</td>
  312. <td></td>
  313. </tr>
  314. <tr>
  315. <td>RMS Wind</td>
  316. <td>$month($months_ago=12).wind.rms</td>
  317. <td></td>
  318. </tr>
  319. <tr>
  320. <td>Vector Average Speed</td>
  321. <td>$month($months_ago=12).wind.vecavg</td>
  322. <td></td>
  323. </tr>
  324. <tr>
  325. <td>Vector Average Direction</td>
  326. <td>$month($months_ago=12).wind.vecdir</td>
  327. <td></td>
  328. </tr>
  329. <tr>
  330. <td>High Inside Temperature</td>
  331. <td>$month($months_ago=12).inTemp.max</td>
  332. <td>$month($months_ago=12).inTemp.maxtime</td>
  333. </tr>
  334. <tr>
  335. <td>Low Inside Temperature</td>
  336. <td>$month($months_ago=12).inTemp.min</td>
  337. <td>$month($months_ago=12).inTemp.mintime</td>
  338. </tr>
  339. #if $month($months_ago=12).extraTemp1.has_data
  340. <tr>
  341. <td>High Pond Temp</td>
  342. <td>$month($months_ago=12).extraTemp1.max</td>
  343. <td>$month($months_ago=12).extraTemp1.maxtime</td>
  344. </tr>
  345. <tr>
  346. <td>Low Pond Temp</td>
  347. <td>$month($months_ago=12).extraTemp1.min</td>
  348. <td>$month($months_ago=12).extraTemp1.mintime</td>
  349. </tr>
  350. #end if
  351. #if $month($months_ago=12).UV.has_data
  352. <tr>
  353. <td>High UV</td>
  354. <td>$month($months_ago=12).UV.max</td>
  355. <td>$month($months_ago=12).UV.maxtime</td>
  356. </tr>
  357. <tr>
  358. <td>Low UV</td>
  359. <td>$month($months_ago=12).UV.min</td>
  360. <td>$month($months_ago=12).UV.mintime</td>
  361. </tr>
  362. #end if
  363. #if $month($months_ago=12).ET.has_data and $month.ET.sum.raw >0.0
  364. <tr>
  365. <td>High ET</td>
  366. <td>$month($months_ago=12).ET.max</td>
  367. <td>$month($months_ago=12).ET.maxtime</td>
  368. </tr>
  369. <tr>
  370. <td>Low ET</td>
  371. <td>$month($months_ago=12).ET.min</td>
  372. <td>$month($months_ago=12).ET.mintime</td>
  373. </tr>
  374. #end if
  375. #if $month($months_ago=12).radiation.has_data
  376. <tr>
  377. <td>High Radiation</td>
  378. <td>$month($months_ago=12).radiation.max</td>
  379. <td>$month($months_ago=12).radiation.maxtime</td>
  380. </tr>
  381. <tr>
  382. <td>Low Radiation</td>
  383. <td>$month($months_ago=12).radiation.min</td>
  384. <td>$month($months_ago=12).radiation.mintime</td>
  385. </tr>
  386. #end if
  387. </table>
  388. </div>
  389. </div>
  390. <div class="right" >
  391. <div class="card cc graphs" >
  392. <h1><i class="fa fa-line-chart m-gruen" ></i> Monthly Statistics and Plots</h1>
  393. <img src="monthtempdew.png" alt="temperatures" />
  394. <img src="monthrain.png" alt="rain" />
  395. <img src="monthwind.png" alt="wind" />
  396. <img src="monthwinddir.png" alt="Hi Wind" />
  397. <img src="monthwindvec.png" alt="Wind Vector" />
  398. <img src="monthtempchill.png" alt="heatchill" />
  399. <img src="monthbarometer.png" alt="barometer"/>
  400. <img src="monthinside.png" alt="Inside" />
  401. <img src="monthinhumid.png" alt="Inside/Outside Humidity" />
  402. #if $month.UV.has_data
  403. <img src="monthuv.png" alt="UV Index" />
  404. #end if
  405. #if $month.radiation.has_data
  406. <img src="monthradiation.png" alt="Radiation" />
  407. #end if
  408. #if $month.UV.has_data
  409. <img src="monthuv.png" alt="UV Index" />
  410. #end if
  411. #if $month.rxCheckPercent.has_data
  412. <img src="monthrx.png" alt="month rx percent"/>
  413. #end if
  414. #if $month.extraTemp1.has_data
  415. <img src="monthpond.png" alt="Pond Temperatures" />
  416. #end if
  417. </div>
  418. </div>
  419. </div>
  420. </div>
  421. <footer>
  422. <div class="container-fix">
  423. <div style="text-align:center">
  424. #if $Extras.has_key('you')
  425. <i class="fa fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
  426. #end if
  427. &sdot;
  428. Copyright <i class="fa fa-copyright"></i> $latest.dateTime.format("%Y")
  429. <br>
  430. Sofaskin by <a href="http://blauesledersofa.de">Blaues Ledersofa</a>
  431. &sdot;
  432. CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
  433. <br>
  434. Powered by<i class="fa fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a>
  435. </div>
  436. </div>
  437. </footer>
  438. #if $Extras.has_key('googleAnalyticsId')
  439. <!-- Google Analytics -->
  440. <script>
  441. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  442. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  443. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  444. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  445. ga('create', '$Extras.googleAnalyticsId', 'auto');
  446. ga('send', 'pageview');
  447. </script>
  448. #end if
  449. <!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
  450. <script>
  451. function myFunction() {
  452. var x = document.getElementById("myTopnav");
  453. if (x.className === "topnav") {
  454. x.className += " responsive";
  455. } else {
  456. x.className = "topnav";
  457. }
  458. }
  459. </script>
  460. </body>
  461. </html>