[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 20010723: Re: pqact.conf: output METAR in individual station files?
- Subject: Re: 20010723: Re: pqact.conf: output METAR in individual station files?
- Date: Tue, 24 Jul 2001 10:55:19 -0600 (MDT)
On Mon, 23 Jul 2001, Unidata Support wrote:
>
> ------- Forwarded Message
>
> >To: Peter Neilley <address@hidden>
> >cc: <address@hidden>,
> >cc: <address@hidden>
> >From: Christian Page <address@hidden>
> >Subject: Re: pqact.conf: output METAR in individual station files?
> >Organization: UCAR/Unidata
> >Keywords: 200107231509.f6NF9j103159
>
>
> Hi again,
>
> It seems that some stations are missing. Example: CWTA
> Here is the comparison between an included station and one that is not:
Christian,
I will look into this missing report. I believe the problem is with the
format of the reports being inconsistent. ie some have a second line
after the WMO header with the word "METAR", "MTR", etc and some are
missing the line. Most reports have the second "PIL" line. The code is
old and not very flexible in catching all variations. It might be awhile
until I get to this problem.
Robb...
>
> ^C^A^M^M
> 844 ^M^M
> SACN95 KWBC 231415^M^M
> METAR CWTA 231400Z AUTO 21005KT 27/19 RMK AO1 SLP121 T02670193^M^M
> 50003=^M^M
>
> ^C^A^M^M
> 511 ^M^M
> SACN47 CWAO 231400^M^M
> METAR CYHU 231400Z 22011KT 8SM FEW061 FEW090 BKN220 27/20 A2988 RMK^M^M
> SC1AC1CI1 HAZY SLP118=^M^M
>
> Any idea why?
>
> 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
> > >
> > >
> > >
> >
> >
>
>
> ------- End of Forwarded Message
>
>
===============================================================================
Robb Kambic Unidata Program Center
Software Engineer III Univ. Corp for Atmospheric Research
address@hidden WWW: http://www.unidata.ucar.edu/
===============================================================================