McIDAS-XCD Administrator's Guide
Version 2018.2

[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]


WMORTE

Maintains a data routing table of WMO headers.


Formats

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


Parameters

ADD

adds a circuit, index, or WMO header

DEL

deletes a circuit, index, or WMO header

EDIT

edits an index or WMO header

LIST

lists the WMO headers, indices and aliases for a circuit

CIR

circuit

INDEX

index

WMO

WMO header specified with keyword HEADER

circuit

circuit name

index

2-character index name


Keywords

ALIAS=

alias file name used with the index options; eight characters maximum (default=index)

CIRCUIT=

circuit name for adding, editing, and deleting the WMO specification

HEADER=

WMO headers to add, edit or delete; two characters maximum

INDEX=

index for adding or editing WMO headers; two characters maximum; you can specify more than one index when adding multiple WMO headers (default=WMO header specified)


Remarks

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.


Examples

WMORTE LIST DDS

This entry lists the aliases, indices, and WMO headers for the DDS circuit.

WMORTE ADD CIR CDS

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.

WMORTE DEL CIR CARS

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.

WMORTE DEL INDEX SM

This entry deletes the index SM from the routing table.


[Search Manual] [Table of Contents] [Go to Previous] [Go to Next]