Hi Phil,

I just pushed an v4.0 update to weewx-forecast that adds support for UK Met Office Datahub forecasts.

You’ll need to sign up for a Global Spot API key.  It’s in the Site Specific section.  The free plan should work for you as 360 is plenty of calls.

Global Spot        Free plan should- 360 calls/day

The location parameter in the UKMO section is no longer used.  Rather, a forecast is returned for the latitude and longitude of the station.  If you want a forecast of something other than that, you can specify latitude and longitude in the UKMO section.

The new forecasts support more data than the old, so more items will show up in the sample forecast reports.

John

On Aug 5, 2025, at 5:56 AM, [email protected] <[email protected]> wrote:

Sorry to ask and its probably a question for either Mathew H or John K but could UKMO datahub be added to the forecast software
Thanks Phil

On Monday, August 4, 2025 at 2:17:31 PM UTC+1 steepleian wrote:
Met Office have or in the process of changing data hubs so that may be the reason.
weewx V 5.1.0
Been having problems getting downloads from UKMO for a while now but only started to look into it.
It downloads 4/5 cycles Ok and then fails

025-08-04T12:50:17.090123+01:00 raspberrypi weewxd[1790]: ERROR user.forecast: UKMOThread: UKMO: missing field 'Location'
2025-08-04T12:50:17.090187+01:00 raspberrypi weewxd[1790]: INFO user.forecast: UKMOThread: UKMO: got 0 forecast records

If I then, shortly after the failure, delete forecast.sdb and reboot it downloads OK.

2025-08-04T13:02:14.535656+01:00 raspberrypi weewxd[2113]: INFO user.forecast: MainThread: UKMO: forecast version 3.4.0b2
2025-08-04T13:02:14.537368+01:00 raspberrypi weewxd[2113]: INFO user.forecast: MainThread: UKMO: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXf051 location=354731

2025-08-04T13:05:17.618878+01:00 raspberrypi weewxd[1787]: INFO user.forecast: UKMOThread: UKMO: got 38 forecast records

It looks like a UKMO problem but why does it download OK if I delete the database shortly afterwards.
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].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/f5592072-441e-4227-a84d-d401967a4517n%40googlegroups.com.

--
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 visit https://groups.google.com/d/msgid/weewx-user/88f324e0-a543-490b-9cb8-b1a35e605d0fn%40googlegroups.com.

--
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 visit https://groups.google.com/d/msgid/weewx-user/CABB87EF-2FE9-4DA1-B2F3-06BED3C36652%40johnkline.com.

Reply via email to