wmo-im / wis2box

WIS2 in a box is a reference implementation of a WMO WIS2 Node
https://docs.wis2box.wis.wmo.int
Apache License 2.0
36 stars 15 forks source link

wis2box to include GTS-header in WIS2-notification for wis2gts gateway #680

Closed maaikelimper closed 1 week ago

maaikelimper commented 1 month ago

From the WIS2-transition-guide:

4.2.3.1 For WIS Centres wishing to stop their MSS A Member planning to stop GTS transmission shall provide their data in conformance with WIS2 Node operations on WIS2 for data that has previously been available on the GTS and that should continue to be available on the GTS indicate the GTS Abbreviated Header Line (AHL) of the bulletin in which the data is to be published. this is done by including the GTS property in the WIS2 Notification Message (see example below). The GTS property enables the WIS2 to GTS Gateway operator to easily identify data for republication on the GTS and the AHL of the associated data.

"properties": {
   "gts": {
    "ttaaii": "FTAE31",
    "cccc": "VTBB"
   }
}
maaikelimper commented 1 month ago

After discussion with Enrico and Dave we decided on the following implementation to allow wis2box-administrators to add this info:

wis2box to use an (optional) filename-to-gts-headers mapping table that has 3 columns:

The wis2box should add the additional 'gts'-properties whenever the input-filename matches the input-filename-pattern from the mapping