#
# ports
#
# This file defines the channels that wxd will use for
# input and output.  
#
# Entries (channels) definedd in this file are then 
# referenced in the filter file.  The filter file 
# associates message types (by PIL) to the channels 
# defined in this file.
#
# This is an example file to demonstrate some of the channels
# possible with wxd.
#

#
# An input channel must be defined -- 
#
## A network channel from the weather service
# tcp nws skywarn.kd9kx.rf.org
# afos-in  nws
#
## The following is useful for testing:
# port test-file afos.log
# afos-in test-file

#
# The rest of the file defines output channels
#

## ---   file channels for rcm's   ---
#file rcmdmxfile /var/spool/afos/dmx.rcm
#file rcmdvnfile /var/spool/afos/dvn.rcm
#file rcmmkxfile /var/spool/wxd/mkx.rcm
#file rcmeaxfile /var/spool/wxd/eax.rcm
#file rcmlsxfile /var/spool/wxd/lsx.rcm
#file rcmafdfile /var/spool/wxd/afd.rcm

## ---   files for warnings, forecasts and storm reports ---
#file mlinowfile /var/spool/wxd/mli_now.txt
#file spsfile /var/spool/wxd/sps.txt
#file svrfile /var/spool/wxd/svr.txt
#file svsfile /var/spool/wxd/svs.txt
#file lsrfile /var/spool/wxd/lsr.txt

## ---   Files for MTR's   ---
#file mlifile /var/spool/wxd/mli_mtr.txt
#file cidfile /var/spool/wxd/cid_mtr.txt
#file dbqfile /var/spool/wxd/dbq_mtr.txt
#file iowfile /var/spool/wxd/iow_mtr.txt
#file brlfile /var/spool/wxd/brl_mtr.txt

# ---   Mail channels   ---
process sps-mail /bin/mail -s "Significant Weather Outlook" wx@n0ma.ampr.org
process tor-mail /bin/mail -s "Tornado Warning" wx@n0ma.ampr.org
process svr-mail /bin/mail -s "Severe Thuderstorm Warning" wx@n0ma.ampr.org
process svs-mail /bin/mail -s "Severe Weather Statement" wx@n0ma.ampr.org
process lsr-mail /bin/mail -s "Local Storm Report" wx@n0ma.ampr.org

# ---   News channels   ---
# Text messages
process sps-news wxnewspost ampr.ia.wx "Significant Weather Outlook"
process tor-news wxnewspost ampr.ia.wx "Tornado Warning"
process svr-news wxnewspost ampr.ia.wx "Severe Thunderstorm Warning"
process svs-news wxnewspost ampr.ia.wx "Severe Weather Statement"
process lsr-news wxnewspost ampr.ia.wx "Local Storm Report"
#
# Binary messages
process rcmdvn-news wxbinnewspost ampr.ia.wx "Davenport NWS Radar Coded Message" dvnrcm
process rcmdmx-news wxbinnewspost ampr.ia.wx "Des Moines NWS Radar Coded Message" dmxrcm
process rcmlsx-news wxbinnewspost ampr.ia.wx "La Crosse NWS Radar Coded Message" lsxrcm
