month.html.tmpl 19 KB

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