This may be a bug in the logic which decides which files have already been
generated.
In your skin.conf file, try changing this
[[ToDate]]
#
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
#
#Wetterseiten
[[[day]]]
template = day.html.tmpl
[[[wetterbild]]]
stale_age = 3570
template = wetter.html.tmpl
[[[indexKR]]]
template = forecastkr.html.tmpl
stale_age = 3570
[[[station]]]
stale_age = 3570
template = station.html.tmpl
[[[statistik]]]
stale_age = 3600
template = statistik.html.tmpl
to this
[[ToDate]]
#
# Reports that show statistics "to date", such as day-to-date,
# week-to-date, month-to-date, etc.
#
[[[statistik]]]
stale_age = 3600
template = statistik.html.tmpl
#Wetterseiten
[[[day]]]
template = day.html.tmpl
[[[wetterbild]]]
stale_age = 3570
template = wetter.html.tmpl
[[[indexKR]]]
template = forecastkr.html.tmpl
stale_age = 3570
[[[station]]]
stale_age = 3570
template = station.html.tmpl
This moves the [[[statistik]]] section up to the top. If this works, then
we will have to find a better solution for populating $SummaryByYear.
-tk
On Wed, Dec 7, 2016 at 7:26 AM, Hartmut Schweidler <[email protected]>
wrote:
> I don’t now where are the error in my fields.
>
>
>
> The source in statistic.html.tmpl
>
> The result in statistic.html
>
> <hr />
>
> <h3>Jahresarchiv</h3>
>
> #for $yr in $SummaryByYear
>
> #set $hesweby = "Archiv/KR-" + $yr + "-table.html"
>
> #set $heslisy = $yr
>
> <input type="button" value="$heslisy" onclick="openURL('$hesweby')"
> />
>
> #end for
>
> <hr />
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <h3>Monatsarchive</h3>
>
> <table>
>
> #for $year in $alltime.years
>
> <tr>
>
> <td>$year.dateTime.format("%Y")</td>
>
> #set $yearhes = $year.dateTime.format("%Y")
>
> #for $month in $year.months
>
> #if $month.outTemp.avg.raw is not None:
>
> #set $monthes = $month.dateTime.format("%m")
>
> #set $montheb = $month.dateTime.format("%B")
>
> #set $hesweb = "Archiv/KR-" + $yearhes + "-" + $monthes +
> "-table.html"
>
> <td><input type="button" value="$montheb" onclick="openURL('$
> hesweb')" /></td>
>
> #else
>
> <td>-</td>
>
> #end if
>
>
>
> #end for
>
> </tr>
>
> #end for
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <p>NOAA - Dateien
>
> <select NAME=noaaselect onchange="openNoaaFile(value)">
>
> #for $monthYear in $SummaryByMonth
>
> <option value="$monthYear">$monthYear</option>
>
> #end for
>
> <option selected>- Monat -</option>
>
> </select>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ⇐ Auswahl: ⇒
>
> <select NAME=noaaselect onchange="openNoaaFile(value)">
>
> #for $yr in $SummaryByYear
>
> <option value="$yr">$yr</option>
>
> #end for
>
> <option selected>- Jahr -</option>
>
> </select>
>
> </p>
>
>
>
> <hr />
>
> <h3>Jahresarchiv</h3>
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
> <input type="button" value="2013"
> onclick="openURL('Archiv/KR-2013-table.html')"
> />
>
> <input type="button" value="2014"
> onclick="openURL('Archiv/KR-2014-table.html')"
> />
>
> <input type="button" value="2015"
> onclick="openURL('Archiv/KR-2015-table.html')"
> />
>
> <input type="button" value="2016"
> onclick="openURL('Archiv/KR-2016-table.html')"
> />
>
>
>
> This are right
>
>
>
>
>
> <tr>
>
> <td>2014</td>
>
> <td><input type="button" value="Januar" onclick="openURL('
> Archiv/KR-2014-01-table.html')" /></td>
>
> <td><input type="button" value="Februar" onclick="openURL('
> Archiv/KR-2014-02-table.html')" /></td>
>
> <td><input type="button" value="März" onclick="openURL('Archiv
> /KR-2014-03-table.html')" /></td>
>
> <td><input type="button" value="April" onclick="openURL('
> Archiv/KR-2014-04-table.html')" /></td>
>
> <td><input type="button" value="Mai" onclick="openURL('Archiv
> /KR-2014-05-table.html')" /></td>
>
> <td><input type="button" value="Juni" onclick="openURL('Archiv
> /KR-2014-06-table.html')" /></td>
>
> <td><input type="button" value="Juli" onclick="openURL('Archiv
> /KR-2014-07-table.html')" /></td>
>
> <td><input type="button" value="August" onclick="openURL('
> Archiv/KR-2014-08-table.html')" /></td>
>
> <td><input type="button" value="September" onclick="openURL('
> Archiv/KR-2014-09-table.html')" /></td>
>
> <td><input type="button" value="Oktober" onclick="openURL('
> Archiv/KR-2014-10-table.html')" /></td>
>
> <td><input type="button" value="November" onclick="openURL('
> Archiv/KR-2014-11-table.html')" /></td>
>
> <td><input type="button" value="Dezember" onclick="openURL('
> Archiv/KR-2014-12-table.html')" /></td>
>
> </tr>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 3 x the block of the years from 2013-10 to 2016-12
>
>
>
> <select NAME=noaaselect onchange="openNoaaFile(value)">
>
> <option value="2013-10">2013-10</option>
>
> <option value="2013-11">2013-11</option>
>
> <option value="2013-12">2013-12</option>
>
> <option value="2014-01">2014-01</option>
>
> <option value="2014-02">2014-02</option>
>
> <option value="2014-03">2014-03</option>
>
> <option value="2014-04">2014-04</option>
>
> <option value="2014-05">2014-05</option>
>
> <option value="2014-06">2014-06</option>
>
> <option value="2014-07">2014-07</option>
>
> <option value="2014-08">2014-08</option>
>
> <option value="2014-09">2014-09</option>
>
> <option value="2014-10">2014-10</option>
>
> <option value="2014-11">2014-11</option>
>
> <option value="2014-12">2014-12</option>
>
> <option value="2015-01">2015-01</option>
>
> <option value="2015-02">2015-02</option>
>
> <option value="2015-03">2015-03</option>
>
> <option value="2015-04">2015-04</option>
>
> <option value="2015-05">2015-05</option>
>
> <option value="2015-06">2015-06</option>
>
> <option value="2015-07">2015-07</option>
>
> <option value="2015-08">2015-08</option>
>
> <option value="2015-09">2015-09</option>
>
> <option value="2015-10">2015-10</option>
>
> <option value="2015-11">2015-11</option>
>
> <option value="2015-12">2015-12</option>
>
> <option value="2016-01">2016-01</option>
>
> <option value="2016-02">2016-02</option>
>
> <option value="2016-03">2016-03</option>
>
> <option value="2016-04">2016-04</option>
>
> <option value="2016-05">2016-05</option>
>
> <option value="2016-06">2016-06</option>
>
> <option value="2016-07">2016-07</option>
>
> <option value="2016-08">2016-08</option>
>
> <option value="2016-09">2016-09</option>
>
> <option value="2016-10">2016-10</option>
>
> <option value="2016-11">2016-11</option>
>
> <option value="2016-12">2016-12</option>
>
>
>
>
>
>
>
> The result must be
>
> Auswahl:
>
> <select NAME=noaaselect onchange="openNoaaFile(value)">
>
> <option value="2013">2013</option>
>
> <option value="2014">2014</option>
>
> <option value="2015">2015</option>
>
> <option value="2016">2016</option>
>
>
>
> And not 9 x the block
>
>
>
> </select>
>
>
>
>
>
>
>
>
>
> Have a look at wetter.hes61.de/statistik.html
>
>
> The souces are on github https://github.com/hes19073/hesweewx
>
>
> I have only updated from weewx 3.6.0 to 3.6.2 all other are the same.
>
>
> I don’t now where are the error in my fields.
>
>
>
>
> Hartmut
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.