Wis2box Datasets Copie
Wis2box Datasets Copie
API-backend wis2box-api
MQTT-broker
wis2box-management
zzz…
wis2box-management
“OK, let’s handle
the new data!”
wis2box-management
“Matching data
with dataset…”
Retrieve dataset:
metadata_id,
topic and plugins
wis2box-management
“Transform using
Data plugin cvs2bufr:
new BUFR produced”
Request wis2box-api
to use BUFR tools
for transformation
API-backend wis2box-api 4. Plugin is loaded to transform data and publish output to public bucket
Dataset driven approach: step-by-step
storage
proxy HTTP-proxy
incoming public
publish BUFR
to public
MQTT-broker
bucket
tions
wis2box-management 2 notifica
s h WIS
publi
“Hi broker, publish this
WIS2 notification for
new BUFR data”
wis2box-management
“plugin bufr2geojson
storing GeoJSON in
backend…”
store
GeoJSON
new/update/delete
WCMP2
JSON
Global
Discovery
Catalogue
“centre identifier” (centre-id)
To define a dataset you have to provide a centre-id for your WIS centre
“The centre identifier (centre-id) is an acronym as proposed by the Member and endorsed by the WMO
Secretariat. It is a single identifier comprised of a Top Level Domain (TLD) and centre-name, and represents
the Data Publisher, distributor or issuing centre of a given Dataset or data product/granule”
uk-metoffice
token 1: the TLD (lowercase) br-inmet token 2: a descriptive name for the
centre (lowercase), may include dashes
cn-cma
id-bmkg
Dataset Editor in wis2box-webapp
When using the dataset editor you will be asked to provide a “Centre ID” which will be
used to define the identifier and the corresponding topic for the dataset
WMO Support
wis2box data plugins
plugins:
txt:
- plugin: wis2box.data.synop2bufr.ObservationDataSYNOP2BUFR
notify: true
file-pattern: ‘^*_(\d{4})(\d{2}).*\.txt$'
bufr4:
- plugin: wis2box.data.bufr2geojson.ObservationDataBUFR2GeoJSON
file-pattern: ’ ^WIGOS_(\d-\d+-\d+-\w+)_.*\.bufr4$’
wis2box data plugins: csv2bufr
Tabulated CSV data from One or more
observing station, including BUFR files
csv2bufr bufr2geojson
location
WIS 2.0
Station list
GeoJSON
mapping template
plugins:
csv:
- plugin: wis2box.data.csv2bufr.ObservationDataCSV2BUFR
template: aws-template.json
notify: true
file-pattern: ‘^.*\.csv$'
bufr4:
- plugin: wis2box.data.bufr2geojson.ObservationDataBUFR2GeoJSON
file-pattern: ’ ^WIGOS_(\d-\d+-\d+-\w+)_.*\.bufr4$’
wis2box data plugins: bufr2bufr
WIS 2.0
Station list
GeoJSON
plugins:
bin:
- plugin: wis2box.data.bufr4.ObservationDataBUFR
notify: true
file-pattern: ‘^.*\.bin$’
bufr4:
- plugin: wis2box.data.bufr2geojson.ObservationDataBUFR2GeoJSON
file-pattern: ’ ^WIGOS_(\d-\d+-\d+-\w+)_.*\.bufr4$’
wis2box data plugins: universal/passthrough
Extract data-timestamp
from filename pattern
File File
WIS 2.0
plugins:
grib2:
- plugin: wis2box.data.universal.UniversalData
notify: true
buckets:
- ${WIS2BOX_STORAGE_INCOMING}
file-pattern: '^.*_(\d{8})\d{2}.*\.grib2$'
wis2box data plugins: Common Alerting Protocol (CAP)
WIS 2.0
plugins:
xml:
- plugin: wis2box.data.cap_message.CAPMessageData
notify: true
buckets:
- ${WIS2BOX_STORAGE_INCOMING}
file-pattern: ‘^.*\.xml$'
Summary
WMO Support
Thank you
Merci
Gracias
谢谢