month.html.tmpl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489
  1. <!DOCTYPE html>
  2. <html lang="en" 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="Monthly Weather Summary for $station.location Weather Station ($Extras.cwop). This web site is powered by WeeWX">
  9. #else
  10. <meta name="description" content="Monthly Weather Summary for $station.location Weather Station. This web site is 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 for $station.location"/>
  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 Station. This web site is 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 site kit links -->
  33. <!-- If you have a pro license -->
  34. <script src="https://kit.fontawesome.com/20f41d8eed.js" crossorigin="anonymous"></script>
  35. <!-- Free license -->
  36. <!-- <script src="https://kit.fontawesome.com/b527f43d5a.js" crossorigin="anonymous"></script> -->
  37. <!-- Script -->
  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>Monthly Weather Summary</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 class="active"><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><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. <div class="main" >
  89. <div class="container" >
  90. <div class="left" >
  91. <div class="card" >
  92. <h1><i class="far fa-calendar-alt m-orange" ></i> This Month</h1>
  93. <table class="tablespacer">
  94. <tr>
  95. <td>High Temperature</td>
  96. <td>$month.outTemp.max</td>
  97. <td>$month.outTemp.maxtime</td>
  98. </tr>
  99. <tr>
  100. <td>Low Temperature</td>
  101. <td>$month.outTemp.min</td>
  102. <td>$month.outTemp.mintime</td>
  103. </tr>
  104. <tr>
  105. <td>High Heat Index</td>
  106. <td>$month.heatindex.max</td>
  107. <td>$month.heatindex.maxtime</td>
  108. </tr>
  109. <tr>
  110. <td>Low Wind Chill</td>
  111. <td>$month.windchill.min</td>
  112. <td>$month.windchill.mintime</td>
  113. </tr>
  114. <tr>
  115. <td>High Dewpoint</td>
  116. <td>$month.dewpoint.max</td>
  117. <td>$month.dewpoint.maxtime</td>
  118. </tr>
  119. <tr>
  120. <td>Low Dewpoint</td>
  121. <td>$month.dewpoint.min</td>
  122. <td>$month.dewpoint.mintime</td>
  123. </tr>
  124. <tr>
  125. <td>High Humidity</td>
  126. <td>$month.outHumidity.max</td>
  127. <td>$month.outHumidity.maxtime</td>
  128. </tr>
  129. <tr>
  130. <td>Low Humidity</td>
  131. <td>$month.outHumidity.min</td>
  132. <td>$month.outHumidity.mintime</td>
  133. </tr>
  134. <tr>
  135. <td>High Barometer</td>
  136. <td>$month.barometer.max</td>
  137. <td>$month.barometer.maxtime</td>
  138. </tr>
  139. <tr>
  140. <td>Low Barometer</td>
  141. <td>$month.barometer.min</td>
  142. <td>$month.barometer.mintime</td>
  143. </tr>
  144. <tr>
  145. <td>Rain Total</td>
  146. <td>$month.rain.sum</td>
  147. <td></td>
  148. </tr>
  149. <tr>
  150. <td>High Rain Rate</td>
  151. <td>$month.rainRate.max</td>
  152. <td>$month.rainRate.maxtime</td>
  153. </tr>
  154. <tr>
  155. <td>High Wind Speed</td>
  156. <td>$month.wind.max <br>$month.wind.gustdir</td>
  157. <td>$month.wind.maxtime</td>
  158. </tr>
  159. <tr>
  160. <td>Average Wind</td>
  161. <td>$month.wind.avg</td>
  162. <td></td>
  163. </tr>
  164. <tr>
  165. <td>RMS Wind</td>
  166. <td>$month.wind.rms</td>
  167. <td></td>
  168. </tr>
  169. <tr>
  170. <td>Vector Average Speed</td>
  171. <td>$month.wind.vecavg</td>
  172. <td></td>
  173. </tr>
  174. <tr>
  175. <td>Vector Average Direction</td>
  176. <td>$month.wind.vecdir</td>
  177. <td></td>
  178. </tr>
  179. #if $month.inTemp.has_data
  180. <tr>
  181. <td>High Inside Temperature</td>
  182. <td>$month.inTemp.max</td>
  183. <td>$month.inTemp.maxtime</td>
  184. </tr>
  185. <tr>
  186. <td>Low Inside Temperature</td>
  187. <td>$month.inTemp.min</td>
  188. <td>$month.inTemp.mintime</td>
  189. </tr>
  190. #end if
  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 Index</td>
  206. <td>$month.UV.max</td>
  207. <td>$month.UV.maxtime</td>
  208. </tr>
  209. #end if
  210. #if $month.ET.has_data and $month.ET.sum.raw >1
  211. <tr>
  212. <td>High ET</td>
  213. <td>$month.ET.max</td>
  214. <td>$month.ET.maxtime</td>
  215. </tr>
  216. <tr>
  217. <td>Low ET</td>
  218. <td>$month.ET.min</td>
  219. <td>$month.ET.mintime</td>
  220. </tr>
  221. #end if
  222. #if $month.radiation.has_data
  223. <tr>
  224. <td>High Radiation</td>
  225. <td>$month.radiation.max</td>
  226. <td>$month.radiation.maxtime</td>
  227. </tr>
  228. #end if
  229. #if $month.lux.has_data
  230. <tr>
  231. <td>High Brightness</td>
  232. <td>$month.lux.max</td>
  233. <td>$month.lux.maxtime</td>
  234. </tr>
  235. #end if
  236. #if $month.lightningStrikes.has_data
  237. <tr>
  238. <td>Max Lightning Day</td>
  239. <td>$month.lightningStrikes.max</td>
  240. <td>$month.lightningStrikes.maxtime</td>
  241. </tr>
  242. <tr>
  243. <td>Lightning Total</td>
  244. <td>$month.lightningStrikes.sum</td>
  245. <td></td>
  246. </tr>
  247. #end if
  248. </table>
  249. </div>
  250. #if $month($months_ago=12).outTemp.max.string != " N/A"
  251. <div class="card" >
  252. <h1><i class="far fa-calendar-alt m-orange" ></i> Last $month($months_ago=12).dateTime.format("%B %Y")</h1>
  253. <table class="tablespacer">
  254. <tr>
  255. <td>High Temperature</td>
  256. <td>$month($months_ago=12).outTemp.max</td>
  257. <td>$month($months_ago=12).outTemp.maxtime</td>
  258. </tr>
  259. <tr>
  260. <td>Low Temperature</td>
  261. <td>$month($months_ago=12).outTemp.min</td>
  262. <td>$month($months_ago=12).outTemp.mintime</td>
  263. </tr>
  264. <tr>
  265. <td>High Heat Index</td>
  266. <td>$month($months_ago=12).heatindex.max</td>
  267. <td>$month($months_ago=12).heatindex.maxtime</td>
  268. </tr>
  269. <tr>
  270. <td>Low Wind Chill</td>
  271. <td>$month($months_ago=12).windchill.min</td>
  272. <td>$month($months_ago=12).windchill.mintime</td>
  273. </tr>
  274. <tr>
  275. <td>High Dewpoint</td>
  276. <td>$month($months_ago=12).dewpoint.max</td>
  277. <td>$month($months_ago=12).dewpoint.maxtime</td>
  278. </tr>
  279. <tr>
  280. <td>Low Dewpoint</td>
  281. <td>$month($months_ago=12).dewpoint.min</td>
  282. <td>$month($months_ago=12).dewpoint.mintime</td>
  283. </tr>
  284. <tr>
  285. <td>High Humidity</td>
  286. <td>$month($months_ago=12).outHumidity.max</td>
  287. <td>$month($months_ago=12).outHumidity.maxtime</td>
  288. </tr>
  289. <tr>
  290. <td>Low Humidity</td>
  291. <td>$month($months_ago=12).outHumidity.min</td>
  292. <td>$month($months_ago=12).outHumidity.mintime</td>
  293. </tr>
  294. <tr>
  295. <td>High Barometer</td>
  296. <td>$month($months_ago=12).barometer.max</td>
  297. <td>$month($months_ago=12).barometer.maxtime</td>
  298. </tr>
  299. <tr>
  300. <td>Low Barometer</td>
  301. <td>$month($months_ago=12).barometer.min</td>
  302. <td>$month($months_ago=12).barometer.mintime</td>
  303. </tr>
  304. <tr>
  305. <td>Rain Total</td>
  306. <td>$month($months_ago=12).rain.sum</td>
  307. <td></td>
  308. </tr>
  309. <tr>
  310. <td>High Rain Rate</td>
  311. <td>$month($months_ago=12).rainRate.max</td>
  312. <td>$month($months_ago=12).rainRate.maxtime</td>
  313. </tr>
  314. <tr>
  315. <td>High Wind Speed</td>
  316. <td>$month($months_ago=12).wind.max <br>$month($months_ago=12).wind.gustdir</td>
  317. <td>$month($months_ago=12).wind.maxtime</td>
  318. </tr>
  319. <tr>
  320. <td>Average Wind</td>
  321. <td>$month($months_ago=12).wind.avg</td>
  322. <td></td>
  323. </tr>
  324. <tr>
  325. <td>RMS Wind</td>
  326. <td>$month($months_ago=12).wind.rms</td>
  327. <td></td>
  328. </tr>
  329. <tr>
  330. <td>Vector Average Speed</td>
  331. <td>$month($months_ago=12).wind.vecavg</td>
  332. <td></td>
  333. </tr>
  334. <tr>
  335. <td>Vector Average Direction</td>
  336. <td>$month($months_ago=12).wind.vecdir</td>
  337. <td></td>
  338. </tr>
  339. #if $month($months_ago=12).inTemp.has_data
  340. <tr>
  341. <td>High Inside Temperature</td>
  342. <td>$month($months_ago=12).inTemp.max</td>
  343. <td>$month($months_ago=12).inTemp.maxtime</td>
  344. </tr>
  345. <tr>
  346. <td>Low Inside Temperature</td>
  347. <td>$month($months_ago=12).inTemp.min</td>
  348. <td>$month($months_ago=12).inTemp.mintime</td>
  349. </tr>
  350. #end if
  351. #if $month($months_ago=12).extraTemp1.has_data
  352. <tr>
  353. <td>High Pond Temp</td>
  354. <td>$month($months_ago=12).extraTemp1.max</td>
  355. <td>$month($months_ago=12).extraTemp1.maxtime</td>
  356. </tr>
  357. <tr>
  358. <td>Low Pond Temp</td>
  359. <td>$month($months_ago=12).extraTemp1.min</td>
  360. <td>$month($months_ago=12).extraTemp1.mintime</td>
  361. </tr>
  362. #end if
  363. #if $month($months_ago=12).UV.has_data
  364. <tr>
  365. <td>High UV Index</td>
  366. <td>$month($months_ago=12).UV.max</td>
  367. <td>$month($months_ago=12).UV.maxtime</td>
  368. </tr>
  369. #end if
  370. #if $month($months_ago=12).ET.has_data and $month($months_ago=12).ET.sum.raw >1
  371. <tr>
  372. <td>High ET</td>
  373. <td>$month($months_ago=12).ET.max</td>
  374. <td>$month($months_ago=12).ET.maxtime</td>
  375. </tr>
  376. #end if
  377. #if $month($months_ago=12).radiation.has_data
  378. <tr>
  379. <td>High Radiation</td>
  380. <td>$month($months_ago=12).radiation.max</td>
  381. <td>$month($months_ago=12).radiation.maxtime</td>
  382. </tr>
  383. #end if
  384. #if $month($months_ago=12).lux.has_data
  385. <tr>
  386. <td>High Brightness</td>
  387. <td>$month($months_ago=12).lux.max</td>
  388. <td>$month($months_ago=12).lux.maxtime</td>
  389. </tr>
  390. #end if
  391. #if $month($months_ago=12).lightningStrikes.has_data
  392. <tr>
  393. <td>Max Lightning Day</td>
  394. <td>$month($months_ago=12).lightningStrikes.max</td>
  395. <td>$month($months_ago=12).lightningStrikes.maxtime</td>
  396. </tr>
  397. <tr>
  398. <td>Lightning Total</td>
  399. <td>$month($months_ago=12).lightningStrikes.sum</td>
  400. <td></td>
  401. </tr>
  402. #end if
  403. </table>
  404. </div>
  405. #end if
  406. </div>
  407. <div class="right" >
  408. <div class="card cc graphs" >
  409. <h1><i class="fas fa-chart-line m-gruen" ></i> Monthly Statistics and Plots</h1>
  410. <img src="monthtempdew.png" alt="temperatures" />
  411. <img src="monthrain.png" alt="rain" />
  412. <img src="monthwind.png" alt="wind" />
  413. <img src="monthwinddir.png" alt="Hi Wind" />
  414. <img src="monthwindvec.png" alt="Wind Vector" />
  415. <img src="monthbarometer.png" alt="barometer"/>
  416. #if $month.inTemp.has_data
  417. <img src="monthinside.png" alt="Inside" />
  418. #end if
  419. <img src="monthinhumid.png" alt="Inside/Outside Humidity" />
  420. #if $month.UV.has_data
  421. <img src="monthuv.png" alt="UV Index" />
  422. #end if
  423. #if $month.radiation.has_data
  424. <img src="monthradiation.png" alt="Radiation" />
  425. #end if
  426. #if $month.lightningStrikes.has_data
  427. <img src="monthlightning.png" alt="Lightning" />
  428. #end if
  429. #if $month.windBatteryStatus.has_data and $month.outTempBatteryStatus.has_data
  430. <img src="monthbattery.png" alt="battery"/>
  431. #end if
  432. #if $month.rxCheckPercent.has_data
  433. <img src="monthrx.png" alt="month rx percent"/>
  434. #end if
  435. #if $month.extraTemp1.has_data
  436. <img src="monthpond.png" alt="Pond Temperatures" />
  437. #end if
  438. </div>
  439. </div>
  440. </div>
  441. </div>
  442. <footer>
  443. <div class="container-fix">
  444. <div style="text-align:center">
  445. #if $Extras.has_key('you')
  446. <i class="fab fa-pied-piper-pp"> </i><a href=mailto:$Extras.email> $Extras.you</a>
  447. #end if
  448. &sdot;
  449. Copyright <i class="far fa-copyright"></i> $latest.dateTime.format("%Y")
  450. <br>
  451. Sofaskin by <a href="http://neoground.com">Neoground</a>
  452. &sdot;
  453. CW9009 Version by <a href="http://cw9009.x10host.com">JDS</a>
  454. &sdot;
  455. Powered by<i class="fas fa-cog fa-spin fa-fw" aria-hidden="true"></i><a href="http://weewx.com/" target="_blank">WeeWX</a>
  456. </div>
  457. </div>
  458. </footer>
  459. #if $Extras.has_key('googleAnalyticsId')
  460. <!-- Google Analytics -->
  461. <script>
  462. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  463. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  464. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  465. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  466. ga('create', '$Extras.googleAnalyticsId', 'auto');
  467. ga('send', 'pageview');
  468. </script>
  469. #end if
  470. <!-- Toggle between adding and removing the "responsive" class to topnav when the user clicks on the icon -->
  471. <script>
  472. function myFunction() {
  473. var x = document.getElementById("myTopnav");
  474. if (x.className === "topnav") {
  475. x.className += " responsive";
  476. } else {
  477. x.className = "topnav";
  478. }
  479. }
  480. </script>
  481. </body>
  482. </html>