Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

P1: Funded weather station network

Source docs/pilots/p1-weather-station-network/README.md

On this page
  1. Goal
  2. Roles
  3. Success criteria (proposed; agree and fix them in the pilot plan before starting)
  4. What the pilot uses
  5. Runbook
  6. What this pilot does not show
  7. Files in this folder

Pilot kit, exported and partner-neutral. The kit names roles, not organisations. It uses live tree features and draft proposals (status DRAFT, can change before acceptance). Nothing here is a conformance claim, a result or a statement that any party conforms to anything; a run describes the documents it was given. See the pilot index for the common setup and the rules every pilot follows.

Goal

Show that a funded network of surface weather stations can report the core meteorological variables at least hourly as protocol records, with station metadata, time quality and quality flags, and can publish them through the WIS 2.0 notification binding, using only open contracts and with no operator tied to one supplier.

Roles

Network operator (runs stations and the grid), station maintainer, data consumer (a weather service reading the exchange), pilot lead who keeps the evidence.

Success criteria (proposed; agree and fix them in the pilot plan before starting)

Id Criterion Measure Evidence
S1 Every station is described (observer, deployment, sensor passport) and joins through the node profile count of stations with a passing describe and join evidence set / stations in the plan conformance reports, passports
S2 Core variables of the meteorology pack arrive as observation records with unit, origin, subject class NONE and time quality share of expected hourly records present and valid over 30 consecutive days, reported per variable validation log, completeness table
S3 Quality flags carry a named test from the pack, never a guessed good count of records with a flag without a test code (target 0) validation log
S4 A missing value is typed, never zero count of zero-for-missing found in sampled records (target 0) sample review
S5 At least one station’s observations are announced through the WIS 2.0 binding with its station identifier examples checked against bindings/wis2 in the integration copy binding test output, message sample
S6 A different supplier’s logger or gateway can replace a station’s without a contract change one swap rehearsed or desk-checked against the connector contract swap note

A criterion not met is a finding, not a failure to hide. The report template has a row for each.

What the pilot uses

Kind What
Profiles (live) OBSP-NODE, OBSP-SITE, OBSP-GRID
Drafts OIP-0006 universal observation (record 4.0.0, units, origin, subject class); OIP-0007 connector contract and the Sparkplug binding; OIP-0009 WIS 2.0, STAC and OGC API bindings; OIP-0019 SDI-12 and WIS 2.0 and BUFR ingest connectors; OIP-0008 signature envelope
Bindings (drafts) wis2, sparkplug, ogc-api (0.2 series copy); sdi12, wis2-ingest (OIP-0019 copy)
Domain pack profiles/domains/meteorology (informative)

Working copies needed: series (0.2 integration series), try 0019 (OIP-0019).

Runbook

Every command below was run on the tree this kit ships in, and gave the result stated. Work from the repository root of a clean checkout, after the setup block of the index (the try, series, inside and clean helpers). A line that begins with ! is expected to fail (exit status 1 is the right answer). When your own evidence replaces the examples, the counts change; the shape of the result does not.

Step 1. Baseline on the live tree (nothing drafted)

Proves your checkout, tooling and evidence layout work before any draft is involved. Run from the repository root.

python3 -m obsp validate fixtures/positive/observation-record.valid.json
python3 -m obsp digest fixtures/positive/observation-record.valid.json
python3 -m obsp conformance run --profile OBSP-NODE --evidence conformance/examples/OBSP-NODE --out /dev/null

Expect. The first line says valid observation-record; the digest is sha256: and 64 hex digits; the last line of the run is OBSP-NODE: PASS (7/7 requirements).

Step 2. Domain pack and quality tests

Read the pack and check it against the registers.

python3 -m unittest tests.test_domain_packs

Expect. OK. Read profiles/domains/meteorology/pack.yaml: core properties, quality tests (each marked checked: not checked against its source) and the bindings that fit.

Step 3. Observation records, with units and origin (0.2 series copy)

The series copy applies OIP-0001 to 0009 in order.

series
inside 0.2 python3 -m obsp validate fixtures/positive/observation-record.valid.json fixtures/positive/deployment.valid.json
! inside 0.2 python3 -m obsp validate fixtures/negative/observation-record.bare-number-result.json
! inside 0.2 python3 -m obsp validate fixtures/negative/observation-record.missing-origin.json

Expect. The positives say valid; the two negatives exit 1 with one line each (a bare number has no unit; origin is required). Write your station records the same way and validate each with --schema observation-record.

Step 4. WIS 2.0 and Sparkplug bindings (0.2 series copy)

Check the example messages and the mapping tests.

inside 0.2 python3 -m unittest tests.test_wis2_binding tests.test_sparkplug_binding
inside 0.2 python3 -m obsp conformance run --profile OBSP-GRID --evidence conformance/examples/OBSP-GRID --out /dev/null

Expect. OK and a last line OBSP-GRID: PASS (12/12 requirements). Compare your own message with bindings/wis2/examples/positive/observation.valid.json; where the binding says a field is unmapped, keep it out.

Step 5. Field connectors (OIP-0019 copy)

If stations use SDI-12 dataloggers or receive BUFR, rehearse the connector mapping.

try 0019
inside 0019 python3 -m unittest tests.test_sdi12_binding tests.test_wis2_ingest_binding

Expect. OK for both. Read each binding’s PROFILE.md for what the connector never guesses (an unmapped metric, a null, a gap, a quality).

Step 6. Your own evidence set and report

Replace the example documents with your own, one folder per run, and keep the report and its digest.

mkdir -p "$ROOT/../pilot-evidence" && cp conformance/examples/OBSP-NODE/* "$ROOT/../pilot-evidence/"
python3 -m obsp conformance run --profile OBSP-NODE --evidence "$ROOT/../pilot-evidence" --out "$ROOT/../pilot-evidence/report.json"
python3 -m obsp validate "$ROOT/../pilot-evidence/report.json" --schema conformance-report
python3 -m obsp digest "$ROOT/../pilot-evidence/report.json"
rm -rf "$ROOT/../pilot-evidence"

Expect. The example set is shown here only to prove the commands; in the pilot, copy your own documents into the folder instead. The report validates as a conformance-report and has a digest. Keep the folder, the report and the digest with the pilot’s evidence. A report describes documents and is not a conformance claim; no pilot ends in a claim above SELF_TESTED.

When you are finished, run clean to remove the throwaway copies.

What this pilot does not show

It does not show the data is fit for any forecast or regulatory use, that stations meet any network’s siting or performance rules, or that any message was accepted by a receiving centre. The cadence measure is made by the pilot’s own tooling: the repository has no cadence tool.

Files in this folder

File Use
EVIDENCE_CHECKLIST.md what to collect, where to keep it, how it is made
REPORT_TEMPLATE.md the report the pilot lead fills at the end