-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add recommendation for client side filters #237
Comments
TT-WISMD 2025-02-18:
|
I agree to the overal concept, clarifying which (additional) properties can be used as filters is useful. Now let's get rid of a trifle:
More important is to be able to define the filtering properties in a machine readable way. A "string" property is OK for WSI and the users know that they can apky a regex on it. The cookbook also shows example of |
This looks promising. I have few questions:
|
Good catch -- fixed.
Any example of what this would look like, using JSON Schema? |
You could reference codelists on codes.wmo.int, but we are trying for a pure JSON schema implementation of this addition. We could use JSON schema referencing for an enumeration on codes.wmo.int, but its representation (RDF, JSON-LD, etc.) will be incompatible for a JSON schema parser, say. Of course we can depart from JSON Schema, which is fine, but that would introduce more custom implementation and tooling.
Yes, this is possible given JSON Schema. |
Overview of proposal*
A key concept of a WCMP2 record is "actionable links"; this means being able to access a dataset or data granule without any further interactions. For real-time data, a WCMP2 record provides linkages to the WIS2 Global Broker via the MQTT protocol. At its core, MQTT has two key components:
WIS2 defines the WIS2 Topic Hierarchy (WTH) and WIS2 Notification Message (WNM) standards which provide a standards-based GeoJSON payload/message.
A typical MQTT link in a WCMP2 document is defined as follows:
Given WCMP2, WTH and WNM, a user can subscribe to topics related to data of interest for download and access.
In some cases, a dataset may be organized in a manner which requires additional further "filtering" such that a data consumer is only interested in a certain subset of the data granules being advertised by a given WNM.
Amendment details*
Given WCMP2, WTH and WNM, a user can subscribe to topics related to data of interest for download and access.
In some cases, a dataset may be organized in a manner which requires additional further "filtering" such that a data consumer is only interested in a certain subset of the data granules being advertised by a given WNM. Some examples include (but are not limited to), where a data consumer may be only be interested in:
To implement this behaviour, add additional properties to both WCMP2 and WNM as follows:
Surface weather observations: WNM additional properties
When implemented by a data producer, a data consumer can:
properties.wigos_station_identifier = "0-20000-0-71628"
Requestor(s)*
WMO ET-W2IT
Consultations
Discussion in https://wmo-teams.atlassian.net/wiki/spaces/WIS2/pages/1025507329/2025-01-27-ET-W2IT+Monday+meeting (4c).
Comments
This proposal has been documented in the WIS2 Cookbook for the time being, and is being proposed here to support interoperability for those wishing to implement this optional feature consistently.
The text was updated successfully, but these errors were encountered: