This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
=============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ =============================================================================== ---------- Forwarded message ---------- Date: Wed, 25 Jul 2001 02:07:35 -0400 (EDT) From: Christian Page <address@hidden> To: Robb Kambic <address@hidden> decoders <address@hidden> Subject: Re: 20010723: Re: pqact.conf: output METAR in individual station files? Hi, I fixed the problem when I upgraded to ldm-5.1.4. I was at ldm-5.1.2. Thanks! Christian Page UQAM On Tue, 24 Jul 2001, Robb Kambic wrote: > 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/ > =============================================================================== > >