Skip to content
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ cookbook/*.docx
cookbook/*.html
cookbook/*.pdf
cookbook/images/**.bkp
node_modules/
package-lock.json
package.json
2 changes: 2 additions & 0 deletions cookbook/sections/data-publishers/index.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
== Recipes for data publishers

include::wis2node-assessment-process.adoc[]

include::best-practices-publishing-station-based-observational-data.adoc[]

include::publishing-aviation-data.adoc[]
Expand Down
137 changes: 137 additions & 0 deletions cookbook/sections/data-publishers/wis2node-assessment-process.adoc
Comment thread
maaikelimper marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
=== WIS2 Node Assessment Process

Data publishers are required to demonstrate that their WIS2 Node implementation meets the requirements of the WIS2 specification as part of the "WIS2 Node Assessment Process".

The WIS2 Node Assessment Process is initiated whenever an authorized data publisher submits a WIS2 Node registration request to the WMO Secretariat.

Global Information System Centres (GISCs) are responsible for assessing WIS2 Node implementations in their Area of Responsibility (AoR) and providing feedback to the WMO Secretariat.

For an overview GISCs and their AoRs, see https://community.wmo.int/site/knowledge-hub/programmes-and-initiatives/wmo-information-system-wis/wis-centres-ncs-dcpcs-and-giscs[WMO: WIS centres (NCs, DCPCs, and GISCs)] on the WMO Knowledge Hub.

==== Roles and Responsibilities

Prior to the WIS2 Node Assessment process, the WMO Secretariat will ensure the centre-id is published in the WMO Codes Registry at http://codes.wmo.int/wis/topic-hierarchy/centre-id

During the WIS2 Node assessment:

- The WMO Secretariat connects the WIS2 Node to the wis2dev environment.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The WMO Secretariat connects the WIS2 Node to the WIS2 Development Environment (called wis2dev later).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- The GISC in the data publisher's AoR performs the assessment.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The AoR is for the GISC. I don't think the sentence says that.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- The GISC informs WMO Secretariat when the assessment has been completed.

[NOTE]
.Optional pre-registration testing
====
Data publishers and commercial WIS2 solution providers who want to test their systems before registration can contact the WMO Secretariat at wis2-support@wmo.int to request that a test system be connected to wis2dev.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data publishers or WIS2 solution providers

I'd avoid referring to commercial providers like that. We don't do a "qualification".

The rest of the text focuses on Data publishers. Maybe, we should focus on Data publishers and put a note at the end mentioning that the wis2dev environment can be used upon request by WIS2 solution providers

@maaikelimper maaikelimper Aug 13, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your feedback I have remove "commercial" as per your suggestion. I prefer to keep the note at the start to keep "WIS2 solution providers" interested in the rest of the text:
https://github.com/wmo-im/wis2-cookbook/blob/wis2-node-assessment/cookbook/sections/data-publishers/wis2node-assessment-process.adoc?plain=1#L24

====

==== WIS2 Development Environment

The WIS2 Development Environment (wis2dev) consists of:

- A Global Broker (wis2dev GB) with a publicly accessible MQTT endpoint available at: `mqtts://gb.wis2dev.io:8883`
- A Global Discovery Catalogue (wis2dev GDC) with an OGC API - Records endpoint available at: `https://gdc.wis2dev.io/`
- A Global Cache (wis2dev GC) provided through Amazon S3 web services

==== wis2dev GB

When a new WIS2 Node registration request is received from an authorized data publisher, the wis2dev GB is configured with a new subscription to the MQTT endpoint provided by the data publisher.

The new subscription on the wis2dev GB will subscribe to the topic:

- `origin/a/wis2/<centre-id>/#`

where `<centre-id>` is the unique identifier of the WIS2 Node.

The wis2dev GB republishes all valid WIS2 Notification Messages. A message is considered invalid when:

- the channel does not match the WIS2 Topic Hierarchy, or

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • the topic used to when publishing the Notification Message does not match any approved topic in the WIS2 Topic Hierarchy, or

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- the message does not conform to the WIS2 Notification Message specification, or
- the message is a data notification for which no corresponding discovery metadata record can be found in the wis2dev GDC.

==== wis2dev GC

The wis2dev Global Cache downloads data advertised in data notifications published on:

- `origin/a/wis2/<centre-id>/data/core/#`
- `origin/a/wis2/<centre-id>/metadata/#`

No download attempt is made if the data has already been downloaded, unless the download link indicates `rel="update"`.

After a successful download, the wis2dev GC publishes a data notification on `cache/a/wis2/<centre-id>/#`, with the full topic matching that of the original WIS2 Node, but with `origin` replaced by `cache`.

Notifications published by the wis2dev GC on `cache/a/wis2/#` are republished by the wis2dev GB.

==== wis2dev GDC

The wis2dev Global Discovery Catalogue subscribes to the wis2dev GB at `cache/a/wis2/<centre-id>/metadata` and validates discovery metadata records published by the WIS2 Node using the pywcmp validation and quality assessment tool.

==== Assessment Preparation for Data Publishers

Before the assessment, data publishers should ensure that:

- The wis2dev IP address, `52.25.203.140`, is allowlisted for the HTTP and MQTT ports used by the WIS2 Node.
- The WIS2 Node can publish data notifications for metadata, and the published metadata contains a valid WCMP2 record.
- The WIS2 Node can publish data notifications for data, and the data notifications match the published metadata.

=== GISC test setup instructions

GISCs subscribe to `mqtts://gb.wis2dev.io:8883` using username/password `everyone/everyone` and set up a connection to the topics:

- `origin/a/wis2/<centre-id>/#`
- `cache/a/wis2/<centre-id>/#`
- `monitor/a/wis2/<centre-id>`

GISCs will coordinate with the contact point for the new WIS2 Node to first publish discovery metadata for their datasets and then to publish data notifications.

Approximately 30 minutes are needed after metadata is published before the Global Broker can validate that published data has corresponding metadata.

GISCs will follow up on errors reported on the monitor topic (`monitor/a/wis2/#`) and assist the contact point of the new WIS2 Node with corrective actions.

==== Assessment Completion Checklist

The WIS2 Node Assessment is considered complete when:

- One or more metadata records are available for the WIS2 Node when searching `https://gdc.wis2dev.io/collections/wis2-discovery-metadata/items?q=%3Ccentre-id%3E`
- MQTT notifications seen on wis2dev GB at `origin/a/wis2/<centre-id>/metadata`
- MQTT notifications seen on wis2dev GB at `origin/a/wis2/<centre-id>/data/#`
- MQTT notifications seen on wis2dev GB at `cache/a/wis2/<centre-id>/metadata`
- MQTT notifications seen on wis2dev GB at `cache/a/wis2/<centre-id>/data/core/#`

==== Common Assessment Issues

[cols="2,3",options="header"]
|===
|Issue
|Recommended action

|Notifications published under `origin/a/wis2/<centre-id>` by the WIS2 Node are not being republished by the wis2dev GB.
|The wis2dev GB will only republish notifications adhering to WIS2 standards. Messages reusing a previously used 'id' will be discarded as duplicates. Ensure that you use a valid WIS2 topic for the MQTT channel, that the payload adheres to the WIS2 Notification Message standard, and that a unique id is used for each notification.

|Canonical URL embedded in a WIS2 data-notification is not accessible from WIS2-dev

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wis2dev

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

|Ensure that the canonical URL is reachable from the wis2dev environment over the public Internet. Check that the DNS resolves to the correct IP address and that the wis2dev incoming IP address, `52.25.203.140`, is allowlisted.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is allowed to access the WIS2 Node for MQTT(S) / WS(S) and HTTP(S).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


|WIS2 Node is not publishing data notifications for metadata
|Ensure that data notifications for metadata are being published every 24 hours on the topic `origin/a/wis2/<centre-id>/metadata` and that the notification contains a valid WCMP2 record in the data payload.

|Publishing a metadata-notification results in a notification on `origin/a/wis2/<centre-id>/metadata` but does not result in a notification on `cache/a/wis2/<centre-id>/metadata` on the wis2dev GB
|Updated metadata records are rejected by the wis2dev GC if a previous record with the same data-id was already cached and the download link did not indicate rel="update". Ensure that the download link for updated metadata records indicates rel="update".

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or the Notification Message is using a new properties.data_id.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


|Metadata records published by the WIS2 Node are cached by the wis2dev GC, but rejected by the wis2dev GDC
|The wis2dev GDC will reject data that fails the pywcmp validation and quality assessment tool. Non-wis2box users should ensure that the metadata record passes the pywcmp ETS validation prior to publishing (see https://github.com/World-Meteorological-Organization/pywcmp). Data publishers using wis2box should ensure they use the latest version of the wis2box software to ensure the latest version of pywcmp is used.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we also refer to the GDC page where the test can be done ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest:

|The wis2dev GDC will reject metadata that fails the pywcmp validation and quality assessment tool. Non-wis2box users should ensure that the metadata record passes the pywcmp ETS validation prior to publishing (see https://github.com/World-Meteorological-Organization/pywcmp). Data publishers using wis2box should ensure they use the latest version of the wis2box software to ensure the latest version of pywcmp is used. Note that the wis2dev GDC provides pywcmp validation and quality assessment as an oinline service (see <<_validating_a_wmo_core_metadata_profile_record>>)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


|===

[NOTE]
.Implementation note regarding wis2box and metadata management
====
`wis2box` reduces metadata-related issues by enforcing a "dataset-driven workflow".

- Before publishing any data notifications, a dataset must first be created
- To create a dataset, a minimum amount of information must be provided to create the WCMP2 record
- Before publishing the WCMP2 record, the content is always validated using pywcmp
- Data notifications are associated to metadata programmatically by querying a local copy of the published WCMP2 records

WIS2 Node implementations that use separate software for metadata and data notifications are more likely to encounter metadata related issues.

To reduce these issues, follow a wis2box-like workflow: create the metadata record first, then publish data notifications based on the published metadata records for your WIS2 Node.
====
Loading