On Thursday, April 11, 2019 at 11:54:59 PM UTC+1, gjr80 wrote:
>
> I suspect that is one for Matthew.
>
> Gary
>
> On Thursday, 11 April 2019 22:25:48 UTC+10, Phil Owers wrote:
>>
>>
>>
>> On Sunday, April 7, 2019 at 4:18:53 PM UTC+1, Phil Owers wrote:
>>>
>>> Hi All
>>>
>>> My forecast comes from the UK Met Office and I don't seem to get the
>>> full forecast.
>>>
>>> If you view
>>> http://sheringhamweather.ddns.net/forecast/single-stripQnap.html I just
>>> get a days short summary with no forecast and looking in the forecast.sdb I
>>> view what I receive
>>>
>>>
>>> But if I go to
>>>
>>>
>>> http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/xml/354731?res=3hourly&key=
>>> 8f916e8d-7477-4198-8ecc-ae764ff7bb84
>>>
>>> It shows me what I should get.
>>>
>>> Anybody help me to where Im going wrong please
>>>
>>> Thanks Phil
>>>
>>> Thanks Gary
>>>
>> I printed out the forecast.py code and half came to that conclusion but
>> then I came across on my Page 62 a section marked UK MET OFFICE 5day/3hour
>> forecast which stated the full 30 Weather Types which is missing so
>> wondered why they were missing but then mentioned in the code.
>> Phil
>>
>
Ive managed to save all data to the forecast.sdb and using .inc files it
all works fine
So moved on the using the forecast variables method, using the example
#set $periods = $forecast.weather_periods('UKMO', max_events=1)
#for $period in $periods
$period.event_ts $forecast.label('Weather', $period.clouds)
#end for
I get the following print out
27-Apr-2019 10:00 OT
Viewing the source code in a browser I get the same thing, so it would
appear that its reading the database OK.
The OT is the cloud cover in the dbase so it seems its not putting the .png
Is there something else to add
Thanks Phil
--
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.