pi@raspberrypi:~ $ host datapoint.metoffice.gov.uk
datapoint.metoffice.gov.uk is an alias for 
datapoint.metoffice.gov.uk.edgesuite.net.
datapoint.metoffice.gov.uk.edgesuite.net is an alias for a978.r.akamai.net.
a978.r.akamai.net has address 213.123.252.58
a978.r.akamai.net has address 213.123.252.56
pi@raspberrypi:~ $
{"SiteRep":{"Wx":{"Param":[{"name":"F","units":"C","$":"Feels Like 
Temperature"},{"name":"G","units":"mph","$":"Wind 
Gust"},{"name":"H","units":"%","$":"Screen Relative 
Humidity"},{"name":"T","units":"C","$":"Temperature"},{"name":"V","units":"","$":"Visibility"},{"name":"D","units":"compass","$":"Wind
 
Direction"},{"name":"S","units":"mph","$":"Wind 
Speed"},{"name":"U","units":"","$":"Max UV 
Index"},{"name":"W","units":"","$":"Weather 
Type"},{"name":"Pp","units":"%","$":"Precipitation 
Probability"}]},"DV":{"dataDate":"2020-04-10T07:00:00Z","type":"Forecast","Location":{"i":"3772","lat":"51.479","lon":"-0.449","name":"HEATHROW","country":"ENGLAND","continent":"EUROPE","elevation":"25.0","Period":[{"type":"Day","value":"2020-04-10Z","Rep":[{"D":"NE","F":"9","G":"13","H":"78","Pp":"0","S":"4","T":"10","V":"MO","W":"2","U":"0","$":"180"},{"D":"NE","F":"8","G":"18","H":"87","Pp":"0","S":"4","T":"9","V":"MO","W":"1","U":"1","$":"360"},{"D":"E","F":"12","G":"11","H":"71","Pp":"0","S":"9","T":"14","V":"MO","W":"1","U":"3","$":"540"},{"D":"ESE","F":"19","G":"13","H":"51","Pp":"0","S":"9","T":"21","V":"GO","W":"1","U":"5","$":"720"},{"D":"ESE","F":"21","G":"16","H":"44","Pp":"0","S":"11","T":"23","V":"GO","W":"1","U":"2","$":"900"},{"D":"ESE","F":"18","G":"18","H":"50","Pp":"0","S":"11","T":"20","V":"GO","W":"1","U":"1","$":"1080"},{"D":"E","F":"14","G":"13","H":"65","Pp":"0","S":"7","T":"15","V":"GO","W":"0","U":"0","$":"1260"}]},{"type":"Day","value":"2020-04-11Z","Rep":[{"D":"E","F":"12","G":"11","H":"76","Pp":"0","S":"4","T":"12","V":"GO","W":"0","U":"0","$":"0"},{"D":"E","F":"11

There is more but it only copied what was on the screen I then usedmy 
location and got 
i@raspberrypi:~ $ curl --user-agent 'foo' 
"http://datapoint.metoffice.gov.uk/public/data/val/wxfcs/all/json/354731?res=3hourly&key=8f916e8d-7477-4198-8ecc-ae764ff7bb84";
{"SiteRep":{"Wx":{"Param":[{"name":"F","units":"C","$":"Feels Like 
Temperature"},{"name":"G","units":"mph","$":"Wind 
Gust"},{"name":"H","units":"%","$":"Screen Relative 
Humidity"},{"name":"T","units":"C","$":"Temperature"},{"name":"V","units":"","$":"Visibility"},{"name":"D","units":"compass","$":"Wind
 
Direction"},{"name":"S","units":"mph","$":"Wind 
Speed"},{"name":"U","units":"","$":"Max UV 
Index"},{"name":"W","units":"","$":"Weather 
Type"},{"name":"Pp","units":"%","$":"Precipitation 
Probability"}]},"DV":{"dataDate":"2020-04-10T07:00:00Z","type":"Forecast","Location":{"i":"354731","lat":"52.9456","lon":"1.212","name":"SHERINGHAM
 
(BEACH)","country":"ENGLAND","continent":"EUROPE","elevation":"0.0","Period":[{"type":"Day","value":"2020-04-10Z","Rep":[{"D":"ESE","F":"5","G":"13","H":"90","Pp":"5","S":"11","T":"8","V":"MO","W":"7","U":"0","$":"180"},{"D":"ESE","F":"6","G":"13","H":"87","Pp":"5","S":"11","T":"8","V":"GO","W":"7","U":"1","$":"360"},{"D":"ESE","F":"7","G":"16","H":"84","Pp":"4","S":"11","T":"9","V":"GO","W":"7","U":"3","$":"540"},{"D":"ESE","F":"10","G":"18","H":"66","Pp":"4","S":"16","T":"13","V":"GO","W":"7","U":"4","$":"720"},{"D":"ESE","F":"11","G":"20","H":"61","Pp":"5","S":"16","T":"14","V":"GO","W":"7","U":"2","$":"900"},{"D":"SE","F":"10","G":"16","H":"72","Pp":"4","S":"9","T":"12","V":"GO","W":"7","U":"1","$":"1080"},{"D":"SE","F":"7","G":"20","H":"77","Pp":"4","S":"9","T":"9","V":"GO","W":"7","U":"0","$":"1260"}]},{"type":"Day","value":"2020-04-11Z","Rep":[{"D":"SSE","F":"7",
Again there is more
Phil


On Wednesday, April 8, 2020 at 3:11:31 PM UTC+1, Phil Owers wrote:
>
> Just downloaded the forecast extension which was 3.3.2.which I think is 
> the latest on to a python 3 only machine (weewx 4.0.0b18) and it fails 
> forecast.py Line 567 except OSError , e; with an underscore under the ,
> Just wondered if anybody else has had this.
> Cheers 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/956e76a2-776e-46ba-8fd9-1bff76e9654a%40googlegroups.com.

Reply via email to