[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #OYS-347769]: tsunami messages via email



Marck,

> Hi all,
> Just wanted to double check if the following cmd in the pqact.conf file
> would email me all the tsunami messages.
> I did not really get many examples online except on  ADMIN messages, but
> that did not really help (
> http://www.unidata.ucar.edu/software/gempak/doc/configuration.html)
> I have put the following.
> WMO     ^(......) (....) ([0-3][0-9])([0-2][0-9])([0-5][0-9]).*/p(TSU)
> PIPE    -strip -close /usr/bin/mailx -s "TSU NOTICE \1"
> address@hidden
> 
> All tabs are ok, and  ldmadmin pqactcheck confirms it.
> But I am not really sure if it would work.
> All tsunami message start with ^WE....

You should use the following to email all tsunami warnings:

IDS|DDPLUS    ^(WE....) .... [0-3][0-9][0-2][0-9][0-5][0-9]
        PIPE    -strip -close /usr/bin/mailx -s "TSU NOTICE \1" address@hidden

Here's an example of filing tsunami warnings:

IDS|DDPLUS    ^WE.... .... ([0-3][0-9])([0-2][0-9])
        FILE    -flush data/gempak/nwx/seismic/(\1:yyyy)(\1:mm)(\1:dd)\2.tsuww

The "(\1:dd)" is necessary because people make mistakes and sometimes enter, 
for example, a "31" for the day after September 30th.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: OYS-347769
Department: Support IDD
Priority: Critical
Status: Closed