Re: [weewx-user] Re: Having trouble getting forecast to work.

2017-02-02 Thread Joachim Rummler
Hello Joe,

I have the same problem with my exoliation skin and I saw that your's is 
working now. I mean, I followed the advices given by mwall but I still have 
the same error. Can you sent me your weewx.conf. forecast-template and the 
skin.conf of the exfoliation skin? That would be helpful for me. Thank you.

Jochen

Am Montag, 16. Januar 2017 20:41:16 UTC+1 schrieb Joe Brockway:
>
> Thank you. 
>
> My forecast page is working now.
>
>
> On Mon, Jan 16, 2017 at 11:58 AM, mwall  > wrote:
>
>> On Monday, January 16, 2017 at 1:47:20 PM UTC-5, Joe Brockway wrote:
>>>
>>> Here is what it looks like. http://73.14.239.120:32983/weewx/
>>>
>>> If you click on forecast you will see the new message.
>>>
>>
>> there is a space between the '#' and 'include' in forecast.html.tmpl
>>
>> that might be causing cheetah to not include header.inc
>>
>> the forecast page is set to only regenerate every 4 hours (see 
>> 'stale_age' in exfoliation/skin.conf)
>>
>> so just delete forecast.html and it will be regenerated when the report 
>> runs again (next archive interval)
>>
>>  
>>
>>> I added the information in the weewx.conf to pull forecast from WU and 
>>> NWS. As you can see I am only displaying WU. How do I get it display both 
>>> WU and NWS. Also How do I get the forecast to be more than three days?
>>>
>>
>> take a look at exfoliation/skin.conf
>>
>> you want num_periods for the current_page_forecast_settings
>>
>> i have attached the forecast.html.tmpl from the mitna skin (which is 
>> derived from exfoliation) so you can see how the menus are done.  notice 
>> that the forecast comparison is not yet ready for primetime.  too many 
>> projects, not enough time!
>>
>> m 
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/r3w3ptPHSj8/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx-user+...@googlegroups.com .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Having trouble getting forecast to work.

2017-01-16 Thread mwall


On Monday, January 16, 2017 at 3:19:51 PM UTC-5, Joe Brockway wrote:
>
> So if I replace my forecast.html.tmpl with the one you have above here I 
> should have the option (on the forecast page) of which forecast to look at 
> and change the way it is displayed?
>>
>>
>>
the mitna forecast.html.tmpl includes mitna.css, so you'll want to change 
that to exfoliation.css.  but it should get you most of the way.

be sure to save a copy of the exfoliation forecast.html.tmpl

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Having trouble getting forecast to work.

2017-01-16 Thread Joe Brockway
So if I replace my forecast.html.tmpl with the one you have above here I 
should have the option (on the forecast page) of which forecast to look at 
and change the way it is displayed?


>
> i have attached the forecast.html.tmpl from the mitna skin (which is 
> derived from exfoliation) so you can see how the menus are done.  notice 
> that the forecast comparison is not yet ready for primetime.  too many 
> projects, not enough time!
>
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Having trouble getting forecast to work.

2017-01-16 Thread Joe Brockway
Thank you.

My forecast page is working now.


On Mon, Jan 16, 2017 at 11:58 AM, mwall  wrote:

> On Monday, January 16, 2017 at 1:47:20 PM UTC-5, Joe Brockway wrote:
>>
>> Here is what it looks like. http://73.14.239.120:32983/weewx/
>>
>> If you click on forecast you will see the new message.
>>
>
> there is a space between the '#' and 'include' in forecast.html.tmpl
>
> that might be causing cheetah to not include header.inc
>
> the forecast page is set to only regenerate every 4 hours (see 'stale_age'
> in exfoliation/skin.conf)
>
> so just delete forecast.html and it will be regenerated when the report
> runs again (next archive interval)
>
>
>
>> I added the information in the weewx.conf to pull forecast from WU and
>> NWS. As you can see I am only displaying WU. How do I get it display both
>> WU and NWS. Also How do I get the forecast to be more than three days?
>>
>
> take a look at exfoliation/skin.conf
>
> you want num_periods for the current_page_forecast_settings
>
> i have attached the forecast.html.tmpl from the mitna skin (which is
> derived from exfoliation) so you can see how the menus are done.  notice
> that the forecast comparison is not yet ready for primetime.  too many
> projects, not enough time!
>
> m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/r3w3ptPHSj8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Having trouble getting forecast to work.

2017-01-16 Thread mwall
On Monday, January 16, 2017 at 1:47:20 PM UTC-5, Joe Brockway wrote:
>
> Here is what it looks like. http://73.14.239.120:32983/weewx/
>
> If you click on forecast you will see the new message.
>

there is a space between the '#' and 'include' in forecast.html.tmpl

that might be causing cheetah to not include header.inc

the forecast page is set to only regenerate every 4 hours (see 'stale_age' 
in exfoliation/skin.conf)

so just delete forecast.html and it will be regenerated when the report 
runs again (next archive interval)

 

> I added the information in the weewx.conf to pull forecast from WU and 
> NWS. As you can see I am only displaying WU. How do I get it display both 
> WU and NWS. Also How do I get the forecast to be more than three days?
>

take a look at exfoliation/skin.conf

you want num_periods for the current_page_forecast_settings

i have attached the forecast.html.tmpl from the mitna skin (which is 
derived from exfoliation) so you can see how the menus are done.  notice 
that the forecast comparison is not yet ready for primetime.  too many 
projects, not enough time!

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


forecast.html.tmpl
Description: Binary data


[weewx-user] Re: Having trouble getting forecast to work.

2017-01-16 Thread Joe Brockway
Ok. I have made those changes. Thank you.

Here is what it looks like. http://73.14.239.120:32983/weewx/

If you click on forecast you will see new page.

I added the information in the weewx.conf to pull forecast from WU and NWS. 
I would like the forecast page to have this 
format: http://sailing.mit.edu/weather/forecast.html

I would like to have the drop down to be able to pick the forecast source 
and have the table, strip and compare options.


Thanks in advance.


-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Having trouble getting forecast to work.

2017-01-16 Thread Joe Brockway
Ok. I have made those changes. Thank you.

Here is what it looks like. http://73.14.239.120:32983/weewx/

If you click on forecast you will see the new message.

I added the information in the weewx.conf to pull forecast from WU and NWS. 
As you can see I am only displaying WU. How do I get it display both WU and 
NWS. Also How do I get the forecast to be more than three days?

Thanks in advance.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Having trouble getting forecast to work.

2017-01-16 Thread mwall
On Monday, January 16, 2017 at 12:28:36 PM UTC-5, Joe Brockway wrote:
>
> I am running weewx 3.6.1, exfoliation .40 and forecast 3.2.9.
>
> The forecast page displays: "forecast_table: forecast search list 
> extension is not installed".
>

you need to add the ForecastVariables search list extension to your 
exfoliation skin.conf:

[CheetahGenerator]
search_list_extensions = user.forecast.ForecastVariables

you will also have to add the forecast icons to the copy list in your 
exfoliation skin.conf:

[CopyGenerator]
copy_once = ..., icons/*.png

you will also have to copy the forecast icons to the exfoliation skin:

cp -rp skins/forecast/icons skins/exfoliation

sorry about all the extra steps - we'll have to figure out some way to 
automatically integrate interdependent extensions.


 Would anyone be able to give a starting place to trouble shoot this?
>
>
> This is the most information I have seen that relates to the forecast. I 
> did edit out several of the # in the forecast.html.tmpl. It appeared  that 
> all the lines in the forecast.html.tmpl were commented out.
>

in a cheetah template, the # character is not a comment.  a comment is ##

when you removed the # characters you broke the template.

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.