Maintains a data routing table of WMO headers.
WMORTE
ADD CIR circuit
WMORTE ADD INDEX index ALIAS=
WMORTE ADD WMO [keywords]
WMORTE DEL CIR circuit
WMORTE DEL INDEX index ALIAS=
WMORTE DEL WMO [keywords]
WMORTE EDIT INDEX index ALIAS=
WMORTE EDIT WMO [keywords]
WMORTE LIST circuit
WMORTE creates a routing table describing the location of text data. It is created by assigning one or more WMO headers, ingested from each circuit, to an index name. The file that stores the text data is defined by the index name. For example, if the index specified is CS and the date of the data contained in the file is 93002, the file name for the index file is CS93002.IDX.
The WMO headers and index names can only be two characters. If data is ingested with a WMO header that is not on the list of defined headers, the data is filed in the miscellaneous index file ZZ.
Each index file can have an associated alias name. The alias name or index name can then be used by the ADDE weather text server. For example, since data ingested with the WMO header CS is climatological information, you could assign an alias name CLIMATE to the index CS. A user could then specify either CS or CLIMATE when using the WXTLIST command.
You can define a maximum of 32 circuits, 512 indices and 1024 WMO headers using this routing system.
If you alter the contents of a circuit's routing table, other than the alias name, you must restart the circuit to activate the new or updated routing table.
The first time WMORTE is run, it initializes the file IDXALIAS.DAT to a predefined routing table for the DDS, IDS, PPS and Carswell circuits. This must be done before starting the circuits with STARTXCD.
Each WMO header is stored as either a primary or secondary index. Use the command WMORTE LIST circuit (where circuit is a valid circuit name, for example, DDS) to list your system's indexing. Primary indices are listed under the INDEX column; secondary indices are listed under the WMO HEADERS column.
This entry lists the aliases, indices, and WMO headers for the DDS circuit.
This entry adds the circuit CDS to the defined circuit names.
WMORTE ADD INDEX RW ALIAS=RIVER
This entry adds the index name RW to the list of defined indices and gives it the alias name RIVER.
WMORTE ADD WMO HEADER=RR RW CIRCUIT=CDS INDEX=RW RW
This entry adds the WMO headers RR and RW, which are filed in the index RW to the CDS circuit.
WMORTE EDIT INDEX SA ALIAS=SURFACE
This entry changes the alias name of the index SA to SURFACE.
This entry deletes the circuit CARS from the list of defined circuit names.
WMORTE DEL WMO HEADER=WF WU CIRCUIT=IDS DDS
This entry deletes the WMO headers WF and WU from the IDS and DDS circuits.