Skip to content

Commit ee312b2

Browse files
committed
Wire Digitraffic weathercam publisher into fleet
1 parent 4f9dc94 commit ee312b2

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

publishers/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ server (e.g. [OpenSensorHub](https://opensensorhub.org/)).
2323
| **BGS SensorThings** | BGS UKGEOS Glasgow groundwater/geothermal telemetry | 15 min |
2424
| **Met Office DataHub** | Land Observations hourly weather data | Access-gated / 1 h |
2525
| **Met Office Global Spot** | Site-specific deterministic hourly forecasts | Access-gated / 1 h |
26+
| **Digitraffic Marine AIS** | Finnish Fintraffic/Digitraffic AIS vessel positions | 5 min |
27+
| **Digitraffic Road Weather** | Finnish Fintraffic/Digitraffic road-weather stations | 5 min |
28+
| **Digitraffic Weathercam** | Finnish Fintraffic/Digitraffic road-camera image references | 5 min |
29+
| **FMI Weather** | Finnish Meteorological Institute weather observations | 10 min |
30+
| **FMI Air Quality** | Finnish Meteorological Institute air-quality observations | 1 h |
2631

2732
## Quick Start
2833

@@ -65,6 +70,11 @@ python -m publishers.bgs_sensorthings.bootstrap_bgs_sensorthings
6570
python -m publishers.met_office_datahub.bootstrap_met_office_datahub
6671
# Met Office Global Spot is access-gated; see publishers/met_office_global_spot/README.md
6772
python -m publishers.met_office_global_spot.bootstrap_met_office_global_spot
73+
python -m publishers.digitraffic_marine_ais.bootstrap_digitraffic_marine_ais
74+
python -m publishers.digitraffic_road_weather.bootstrap_digitraffic_road_weather
75+
python -m publishers.digitraffic_weathercam.bootstrap_digitraffic_weathercam
76+
python -m publishers.fmi_weather.bootstrap_fmi_weather
77+
python -m publishers.fmi_air_quality.bootstrap_fmi_air_quality
6878
python -m publishers.iss.bootstrap_iss
6979
```
7080

@@ -155,4 +165,7 @@ python -m publishers.nws.nws_publisher --interval 3600
155165
publishes deterministic hourly forecast values for virtual forecast points,
156166
not physical sensor observations, and is also behind the `access-gated`
157167
Docker Compose profile.
168+
- **Digitraffic Weathercam** attaches image-reference observations to curated
169+
Digitraffic road-weather station systems, using direct Fintraffic JPEG and
170+
thumbnail URLs for road camera presets.
158171
- All publishers use `--interval <seconds>` and `--dry-run` CLI flags.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM python:3.12-slim
2+
3+
WORKDIR /app
4+
5+
COPY publishers/ /app/publishers/
6+
7+
ENV OSH_ADDRESS=
8+
ENV OSH_PORT=443
9+
ENV OSH_USER=
10+
ENV OSH_PASS=
11+
12+
ENTRYPOINT ["python", "-m", "publishers.digitraffic_weathercam.digitraffic_weathercam_publisher"]
13+
CMD ["--interval", "300"]

publishers/docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,17 @@ services:
149149
MET_OFFICE_GLOBAL_SPOT_429_BACKOFF: ${MET_OFFICE_GLOBAL_SPOT_429_BACKOFF:-3600}
150150
command: ["--interval", "3600"]
151151

152+
# ── Digitraffic Weather Camera Image References (5min cadence) ──
153+
digitraffic-weathercam:
154+
build:
155+
context: ..
156+
dockerfile: publishers/digitraffic_weathercam/Dockerfile
157+
restart: always
158+
environment:
159+
<<: *osh-env
160+
DIGITRAFFIC_WEATHERCAM_REQUEST_DELAY: ${DIGITRAFFIC_WEATHERCAM_REQUEST_DELAY:-0.5}
161+
command: ["--interval", "300"]
162+
152163
# ── USGS Earthquake Feed (60s cadence) ──
153164
usgs-eq:
154165
build:

0 commit comments

Comments
 (0)