Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: pqact.conf: output METAR in individual station files?

Thanks a lot, it seems to work great!

Christian Page
UQAM

On Mon, 23 Jul 2001, Peter Neilley wrote:

> Christian,
>
>   Use the pqsuft utility already in the LDM.  This breaks up bulletins 
> containing
> METARs into individual "bulletins", one "bulletin" per METAR.  You can then
> FILE the metars by ICAO ID.
>
> To do this,  add a line like this to you ldmd.conf file
>
>    exec    "pqsurf -p ^(S[APX]) -Q /home/ldm/data/pqsurf.pq -d /home/ldm 
> /home/ldm/etc/pqsurf.conf"
>
> and then create a pqsurf.conf file that has an entry something like:
>
>    WMO     ^(metar|speci) (....) ([0-3][0-9])([0-2][0-9])  FILE  
> /home/ldm/data/(\3:yyyy)(\3:mm)\3\4.\2.metar
>
> Which creates files named <YYYYMMDD>.<ICAO>.metar.
>
> You will need to create a pqsurf product queue using "ldmadmin mksurfqueue".
>
> Peter Neilley
> WSI
>
>
> >
> >
> > Hi,
> >
> > I want to put METAR reports in individual (text) station files, e.g. have 
> > one
> > file for each station reporting a METAR (or SPECI). Is it possible? Or does
> > anybody have written a script or a program to do that?
> >
> > Thanks,
> >
> > Christian Page
> > UQAM
> >
> >
> >
>
>


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the ldm-users archives: