NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Put the entry into pqact.conf with a few mods, and indeed, its up and running. Thanks much. Ray rote: > > > Trying to get dcmetr to write a file for gempak. > > > > Have the ldm set up OK, and the ldm creates text files fine. > > > > dcmetr never creates an output file. > > > > Here are the pqsurf.conf entries: > > > > # IDS|DDPLUS ^S[AP].* .... ([0-3][0-9])([0-2][0-9]) > > # FILE /home/mcidas/data/metar/METAR\3\4 > > IDS|DDPLUS ^speci (....) ([0-3][0-9])([0-2][0-9]) > > FILE /home/mcidas/data/metar/METARSP\3\4 > > IDS|DDPLUS ^metar (....) ([0-3][0-9])([0-2][0-9]) > > PIPE /home/ldm/decoders/dcmetr -b 9 -m 72 > > -s /home/gempak/GEMPAK5.6/tables/sfmetar_sa.tbl > > -d /home/gempak/dcmetr.log > > -e /home/gempak/GEMPAK5.6/gempak/tables > > -p /home/gempak/GEMPAK5.6/gempak/tables/pack/metar.pack > > /home/mcidas/data/metar/YYYYMMDD_sao.gem > > Ray, > > I'm guessing the problem may have something to do with the fact that > you're trying to create the gempak file out of the split pqsurf output, > rather than the 'raw' metars from the data feed. Here is what I use (from > pqact.conf): > > # > # sfc obs and specials > # Use -m 72 to store data in 20 minute bins, rather than hourly. > # 20 minute bins useful for mesonet and AWOS data > # > DDS|IDS ^S[AP].* .... ([0-3][0-9])([0-2][0-9]) > PIPE /weather/gempak/bin/sol/dcmetr -b 9 -m 72 -s sfmetar_sa.tbl > -d data/gempak/logs/dcmetr.log > -e GEMTBL=/weather/NAWIPS/gempak/tables > data/gempak/surface/YYYYMMDD_sao.gem > # > > In fact, the the -help option for dcmetr states: > > DCMETR decodes raw SAO and METAR reports from a real-time data > feed, or from a file fed to the program through standard input, and > writes the data to a GEMPAK surface file. > > Tom > ----------------------------------------------------------------------------- > Tom McDermott Email: tmcderm@xxxxxxxxxxxxxxxxx > Systems Administrator Phone: (585) 395-5718 > Earth Sciences Dept. Fax: (585) 395-2416 > SUNY College at Brockport > > > > > Note that the top 2 commented entries worked, and wrote to the same > > directory that > > dcmetr should, so its not a permissions issue. > > > > > > This is the dcmetr log: > > > > [10610] 030710/0921 [DC 3] > > [10610] 030710/0921 [DCMETR 7] 3.3 > > [10610] 030710/0921 [IN -11] metar.pack > > [10610] 030710/0921 [DC 2] read 2598/16383 bytes strt 0 newstrt 2598 > > [10610] 030710/0921 [DC 2] read 401/13785 bytes strt 2598 newstrt 2999 > > [10610] 030710/0922 [DC 2] read 1751/13384 bytes strt 2999 newstrt 4750 > > [10610] 030710/0923 [DC 2] read 1914/11633 bytes strt 4750 newstrt 6664 > > [10610] 030710/0924 [DC 2] read 2914/9719 bytes strt 6664 newstrt 9578 > > > >
ldm-users
archives: