|
| 1 | +# Met Office DataHub Publisher Completion Report - 2026-05-26 |
| 2 | + |
| 3 | +## Summary |
| 4 | + |
| 5 | +Met Office Weather DataHub Land Observations is now implemented, deployed on the Oracle publisher host, bootstrapped into the live OSH endpoint, and running as a persistent systemd service. |
| 6 | + |
| 7 | +## Live Deployment |
| 8 | + |
| 9 | +- Service: `met-office-datahub-publisher.service` |
| 10 | +- Host: Oracle VM `129.80.248.53` |
| 11 | +- CSAPI endpoint: `https://129-80-248-53.sslip.io/sensorhub/api` |
| 12 | +- Source API: `https://data.hub.api.metoffice.gov.uk/observation-land/1` |
| 13 | +- Runtime cadence: 1 hour |
| 14 | +- Secret handling: Met Office key stored in a root-owned host-local key file referenced by `/etc/os4csapi/publisher-secrets.env`; no raw key is stored in git. |
| 15 | + |
| 16 | +## CSAPI Resources |
| 17 | + |
| 18 | +- Procedure: `urn:os4csapi:procedure:met-office-datahub-land-observations:v1` -> `04eg` |
| 19 | +- Deployment group: `urn:os4csapi:deployment:met-office-datahub-land-observations:v1` -> `05lg` |
| 20 | +- Systems: |
| 21 | + - London Heathrow Area -> `05og` |
| 22 | + - Stornoway Coastal Area -> `05p0` |
| 23 | + - Cairngorm Upland Area -> `05pg` |
| 24 | + |
| 25 | +The bootstrap created 27 datastreams: 9 parameter datastreams for each of the 3 curated locations. |
| 26 | + |
| 27 | +## Live API Findings |
| 28 | + |
| 29 | +- Authentication works with the `apikey` header. |
| 30 | +- The nearest endpoint requires `lat` and `lon` parameter names with at most two decimal places. |
| 31 | +- Observation records use lowercase `datetime` and flat parameter fields such as `temperature`, `humidity`, `mslp`, `wind_speed`, and `wind_gust`. |
| 32 | +- Wind direction arrives as compass text and is mapped to degrees. |
| 33 | +- Pressure tendency arrives as `F`, `S`, or `R` and is mapped to `-1`, `0`, or `1`. |
| 34 | +- Some locations may omit a subset of parameters in the latest record; the publisher posts the available recognized readings. |
| 35 | + |
| 36 | +## Validation |
| 37 | + |
| 38 | +- Authenticated probe resolved London Heathrow nearest geohash `gcpsvg` and found 48 candidate records. |
| 39 | +- Dry-run cycle normalized live readings for all available current parameters. |
| 40 | +- Bootstrap succeeded on live OSH. |
| 41 | +- One-shot live publisher cycle posted 22 observations with 0 errors. |
| 42 | +- The persistent service is enabled and active. |
| 43 | +- CSAPI read-back confirmed: |
| 44 | + - deployment query returned 1 item for the Met Office Land Observations group; |
| 45 | + - London Heathrow system query returned 1 item; |
| 46 | + - `air_temperature` datastream `05r0` returned at least 1 observation. |
| 47 | + |
| 48 | +## Follow-Up |
| 49 | + |
| 50 | +- Add an Explorer thumbnail/symbol fallback if the card needs visual polish or if OSH metadata update limits prevent rich SensorML imagery from surfacing. |
| 51 | +- Consider Met Office Global Spot as a follow-on forecast publisher using the same Oracle secret-injection pattern. |
0 commit comments