Archived
1
0

Added Zambretti prediction to 6hrs template and a separate tweet.

This commit is contained in:
Markus Birth 2016-10-18 15:03:22 +02:00
parent d5f3f3ed84
commit a8b274ae3a
2 changed files with 23 additions and 0 deletions

View File

@ -15,6 +15,7 @@
<th colspan="3">Wind</th>
<th rowspan="2">Regen</th>
<th rowspan="2">Luftdruck</th>
<th rowspan="2">Vorhersage</th>
</tr>
<tr>
<th>Ri</th>
@ -35,6 +36,7 @@
<td>#wind_gust "%.0f ㎞/h" "" "wind_kmph(x)"#</td>
<td>#rain "%0.1f ㎜"#</td>
<td>#rel_pressure "%.0f ㍱"#, #pressure_trend "%s" "" "pressure_trend_text(x)"#</td>
<td>#calc "Zambretti(params, data)"#</td>
</tr>
#jump 1#
#endloop#

View File

@ -0,0 +1,21 @@
#! pywws - Python software for USB Wireless Weather Stations #
#! http://github.com/jim-easterbrook/pywws #
#! Copyright (C) 2008-13 Jim Easterbrook jim@jim-easterbrook.me.uk #
#! #
#! This program is free software; you can redistribute it and/or #
#! modify it under the terms of the GNU General Public License #
#! as published by the Free Software Foundation; either version 2 #
#! of the License, or (at your option) any later version. #
#! #
#! This program is distributed in the hope that it will be useful, #
#! but WITHOUT ANY WARRANTY; without even the implied warranty of #
#! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
#! GNU General Public License for more details. #
#! #
#! You should have received a copy of the GNU General Public License #
#! along with this program; if not, write to the Free Software #
#! Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #
#hourly#
#timezone local#
#roundtime True#
#idx "%H:%M %Z:"# Forecast for the next 12 hours: #calc "Zambretti(params, data)"#