metar decoder to STDOUT

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

Beth,

Last week, I mentioned in my decoders talk that one could slighty modify
the metarWriter decoder to write the output to STDOUT.  The code was
commented to block the write to the station file and then to STDOUT. ie

               #open( STN, ">>$stn_name" ) ;
               #print STN "$_\n" ;
               #close STN ;
               print STDOUT "$_\n" ;


A pqact entry would probably look similar to this:

# All aviation reports including metar tests, broken/written to stn files
DDS|IDS ^S(A....|P....|XUS8.) .... ([0-3][0-9])
       PIPE    /local/ldm/decoders/metarWriter  (\2:yyyy)(\2:mm) | yourdecoder



Robb...

==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================
  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the decoders archives: