Unable to retrieve observation data

114 views
Skip to first unread message

Martin McDonald

unread,
Feb 1, 2018, 7:45:26 AM2/1/18
to Met Office DataPoint
Hello

I am trying to use datapoint to retrieve observation data, but I cannot get it to work.

I can successfully get the URL

'http://datapoint.metoffice.gov.uk/public/data/val/wxobs/all/json/sitelist?key=[my key]'


But when I attempt to obtain observations for a specific site (from the site list)


'http://datapoint.metoffice.gov.uk/public/data/val/wxobs/all/json/3535?key=[my key]'


I receive a 404 error on the IDs I have tried.



Chris Wraith

unread,
Feb 1, 2018, 1:01:10 PM2/1/18
to Martin McDonald, Met Office DataPoint
You need to specify a resolution as a parameter too: e.g.
http://datapoint.metoffice.gov.uk/public/data/val/wxobs/all/json/3535?res=hourly&key=[your key]


> On 1 Feb 2018, at 12:45, Martin McDonald <marti...@gmail.com> wrote:
>
> 'http://datapoint.metoffice.gov.uk/public/data/val/wxobs/all/json/3535?key=[my key]'

signature.asc
Reply all
Reply to author
Forward
0 new messages