dan'l,
which version of forecast are you using?
if you have made any modifications to skins/forecast/skin.conf, please post
the skin.conf file.
have you made modifications to skins/forecast/forecast_table.inc or
skins/forecast/index.html.tmpl?
did the forecast skin have any errors before you made modifications?
the variable num_periods is used by forecast_table.inc to determine how
many periods of forecast should be displayed (some forecasts are one-hour
periods, others are 4- or 6- hour periods, thus the generic 'num_periods')
if you do not specify num_periods, forecast_table uses a default value of
40.
to change that value, specify it in weewx.conf like this:
[Extras]
[[forecast_table_settings]]
source = NWS
num_periods = 120
note that you should also specify the source, since the default is WU and
you're pulling NWS forecasts.
the complete list of options is at the top of forecast_table.inc
forecast_table.inc is a rather complicated file, since it makes extensive
use of cheetah constructs, html, and css. my intent is that you can simply
set variables then include forecast_table.inc if you want a forecast
table. with this approach you can make one table of WU forecast, another
of NWS forecast, just by including forecast_table.inc multiple times. (the
forecast table stresses weewx's cheetah system more than most other reports)
if you have to modify forecast_table.inc, i would like to know how/why so i
can make it easier to use.
if you want to embed portions of a forecast into a template, then use the
$forecast variables directly.
m
--
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.