On Friday, December 9, 2016 at 11:59:36 AM UTC-5, vince wrote:
>
> How do you get the first screenshot to happen ?
> (the 'simple display of one week forecast')
>

the screenshots on the wiki are png images, but the forecast extension 
emits html.

include the file forecast_iconic.inc in one of your weewx template files.  
for example:

#include "forecast_iconic.inc"

will do a 7 day forecast using WU data.

#set global $forecast_iconic_settings = dict()
#set global $forecast_iconic_settings['source'] = 'UKMO'
#set global $forecast_iconic_settings['num_days'] = 10
#include "forecast_iconic.inc"

will do a 10-day forecast using UK Met data.

you can configure in your template just before the include, in the 
skin.conf, or in weewx.conf - whichever best fits your 
customization/configuration procedures.

these assume that you have installed the forecasting extension, i.e., the 
search list extension is in your skin's search list extension list, and the 
forecast service is obtaining data from the forecast sources.

notice that the weewx forecasting extension is different from embedded 
forecasts in common wx templates such as meteotemplate, saratoga, or leuven.

the weewx forecasting extension pulls data into a single forecasting 
database whose schema works with many different forecast services.  that 
means you can pull data from different sources, but use a single, 
consistent syntax for displaying the data within weewx templates.

the weewx forecasting extension provides canned displays of forecast data 
(iconic, strip, and table), but it also enables you to display fine-grained 
(or aggregate) forecast data anywhere and anyway you want within your 
templates.

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.

Reply via email to