Skip to content

Commit 10a2092

Browse files
committed
Document Global Spot Oracle probe
1 parent fc85466 commit 10a2092

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

docs/research/new-publisher-source-planning/Met_Office_Global_Spot_Forecast_Publisher_Status_2026-05-26.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,23 @@ With five locations at one request per location per hour, the default operationa
7777
Local validation completed without printing or changing credentials:
7878

7979
- Python compile passed for the new bootstrap, publisher, and parser test files.
80-
- Bootstrap dry run successfully constructed the procedure, 3 virtual systems, 18 datastreams, and deployment hierarchy.
80+
- Bootstrap dry run successfully constructed the procedure, 5 virtual systems, 30 datastreams, and deployment hierarchy.
8181
- Focused parser tests passed: `2 passed`.
8282
- Repository was pushed cleanly to `origin/main` at `3aaa637`.
8383

84+
Oracle validation completed without printing or changing credentials:
85+
86+
- Production Explorer loaded 846 features after the Exeter and Portsmouth Land Observations deployment, up from the earlier 810-feature view.
87+
- The Portsmouth / Thorney Island Met Office label rendered on the production map.
88+
- A sanitized Global Spot probe using the currently installed Land Observations key reached `/sitespecific/v0/point/hourly`, but Met Office returned HTTP 403 `Resource forbidden` for that forecast resource.
89+
- The fallback path `/sitespecific/v0/global/hourly` returned HTTP 404, which supports keeping `/point/hourly` as the current default while treating forecast-product subscription access as the blocker.
90+
- Oracle bootstrap dry run for Global Spot succeeded with 5 virtual forecast systems, 30 forecast datastreams, and 7 deployment resources; no forecast resources were written because live forecast API access is not yet available.
91+
8492
## Live Validation Boundary
8593

86-
The local `publishers/.env` in this workspace has OSH credentials but does not currently include a Global Spot / Site-Specific Forecast key. The publisher therefore has not yet been live-probed against `/sitespecific/v0` from this machine.
94+
The local `publishers/.env` in this workspace has OSH credentials but does not currently include a Global Spot / Site-Specific Forecast key. The Oracle host also currently has only the Met Office Land Observations key installed. A sanitized Oracle probe confirmed that key is not authorized for the Site-Specific Forecast resource: `/sitespecific/v0/point/hourly` returns HTTP 403 `Resource forbidden`.
95+
96+
Do not install a persistent Global Spot service or publish forecast observations until a Site-Specific Forecast / Global Spot key is installed host-locally.
8797

8898
The runtime is deliberately configurable for the final subscribed endpoint check:
8999

@@ -101,8 +111,8 @@ MET_OFFICE_DATAHUB_API_KEY_HEADER=apikey
101111
## Next Steps
102112

103113
1. Place the existing Site-Specific Forecast / Global Spot key in a host-local secret file or environment variable without rotating or printing it.
104-
2. Run `python -m publishers.met_office_global_spot.met_office_global_spot_publisher --probe --locations london-heathrow-area` to confirm the exact endpoint path and response shape.
105-
3. If the endpoint path differs from the conservative `/point/hourly` default, set `MET_OFFICE_GLOBAL_SPOT_HOURLY_PATH` rather than changing credentials.
114+
2. Run `python -m publishers.met_office_global_spot.met_office_global_spot_publisher --probe --locations london-heathrow-area` to confirm the response shape now that `/point/hourly` is the likely endpoint path.
115+
3. If the endpoint path differs from `/point/hourly`, set `MET_OFFICE_GLOBAL_SPOT_HOURLY_PATH` rather than changing credentials.
106116
4. Run `python -m publishers.met_office_global_spot.bootstrap_met_office_global_spot --force-sml` on the target OSH server.
107117
5. Run `python -m publishers.met_office_global_spot.met_office_global_spot_publisher --dry-run --once` and then one live `--once` cycle.
108118
6. Verify Explorer behavior: forecast points must be labeled as forecast, and existing rich source cards such as BuoyCAM and water monitoring media must remain unchanged.

0 commit comments

Comments
 (0)