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.

Re: [ldm-users] pqact.conf gfs grib2 question

Are the headers for the various model products documented somewhere?

On 12/22/2011 01:10 PM, Steve Emmerson wrote:
Donna,

You do need to escape the "/" if there is a directory in the product
string.
Just FYI, the slash character, "/", in an extended regular expression
(ERE) is just a regular character as far as the LDM is concerned. You
might examine those ERE-s and strings again.

--Steve

[ldm@windfarm-gw ~]$ grep -w HDS etc/ldmd.conf
exec    "pqact -f HDS -p KWNS    etc/pqact.conf"

[ldm@windfarm-gw ~]$ regex -h
regex: invalid option -- h
Usage: ./bin/regex [-n count] [-s string] pattern
[ldm@windfarm-gw ~]$ regex -s "YxHxxx KWBx 0909andsomestuffmGFS"
"^[YZ].[AIJQHG]... KWB. ([0-3][0-9])([0-2][0-9]).*/mGFS"
no match
[ldm@windfarm-gw ~]$ regex -s "YxHxxx KWBx 0909andsomestuff /mGFS"
"^[YZ].[AIJQHG]... KWB. ([0-3][0-9])([0-2][0-9]).*\/mGFS"
match
[ldm@windfarm-gw ~]$

Also, try the notifyme command to get some sample product strings.

[ldm@windfarm-gw ~]$ notifyme -vl - -f HDS -p "KWB" -o 3600
(note that the data product may not stream in for a few hours if you are
running this when this product isn't in the queue; an alternative:)

[ldm@windfarm-gw ~]$ notifyme -v -l /tmp/mynotifyme.txt -f HDS -p "KWB"
-o 3600

Good luck,
Donna
_______________________________________________
ldm-users mailing list
ldm-users@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/


--
Mark Tucker
Systems Administrator
Dept. of Atmospheric Sciences
Lyndon State College
http://meteorology.lyndonstate.edu
mark.tucker@xxxxxxxxxxxxxxx
(802)-626-6328




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