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.
On Tue, 29 Jun 2004, James T Brown wrote: > So far, everything in my "pqact.conf" file seems to use > regular expressions based on the first line (WMO Header) > of the product, but I am not aware of a way to also > filter based on the 2nd line (AWIPS ID). Is it possible > to filter based on the AWIPS ID or will I have to pipe > the product into a script and do this on my own? > Hi Jim, Yes there is. You can indeed use the AWIPS pil to parse them out. Let me how you an example from my pqact.conf from this product: # State max/min temperature and precipitation table. WMO ^ABUS21 (....) ([0-3][0-9])([0-2][0-9]).*/p[RS]TP FILE domestic/databases/ABUS21.(\2:yy)(\2:mmm)\2 WMO ^ABUS21 (....) ([0-3][0-9])([0-2][0-9]).*/p[RS]TP EXEC make_index domestic/databases/ABUS21.(\2:yy)(\2:mmm)\2 \1 (\2:yy) The ".*/p" tells the LDM to look at the AWIPS pil for a pattern. Add AWIPS pills after this phrase to pick what you want. As you can see, I am picking up both the RTP and STP products, sent under the same WMO header currently. Now then.... WMO ^ASUS63 (....) ([0-3][0-9])([0-2][0-9]).*/pRTP FILE domestic/databases/ABUS63.(\2:yy)(\2:mmm)\2 This picks 'em all up. Want just the ones you want? WMO ^ASUS63 (KDTX) ([0-3][0-9])([0-2][0-9]).*/pRTPMI FILE domestic/databases/ASUS63.(\2:yy)(\2:mmm)\2 WMO ^ASUS63 (KDTX) ([0-3][0-9])([0-2][0-9]).*/pRTPAPX FILE domestic/databases/ASUS63.(\2:yy)(\2:mmm)\2 I do this anyway right now for a climate list I run for these two products from KLOT. Last year I did this with virtually all products in my pqact.conf, because numerous products are already sent under the same WMO header, and more will be done that way in the future. The only way to discriminate will be that AWIPS pil. ******************************************************************************* Gilbert Sebenste ******** (My opinions only!) ****** Staff Meteorologist, Northern Illinois University **** E-mail: gilbert@xxxxxxx *** web: http://weather.admin.niu.edu ** Work phone: 815-753-5492 * *******************************************************************************
ldm-users
archives: