[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Datastream #YAT-522314]: HRRR 3K data grid request...



> ok assuming I set the LDM up right
> I how to do I pull the data / 1 field
> is there an example regular expression?

Hi Joe, 

Apologies for the delay, we are all ramping up for the AMS conference next week 
in Austin.

Here is an example regular expression:


request FSL2 "^FSL\.NetCDF\.NOAAnet\.(RASS|windprofiler)\." idd.unidata.ucar.edu

..Obviously, this will not get you the products you desire, but it is for the 
same feedtype 'FSL2'.

I am not aware of the depth of your knowledge of regular expressions, but  here 
you  will see that
the data needs to begin with FSL, and then followed by:

.NetCDF.NOAAnet.RASS  OR windprofiler and it is requesting from our host 
idd.unidata.ucar.edu

A VERY handy tool is the 'notifyme' command. It will allow you to see the feed 
to craft a regular expression and then to test your regular expression to see 
if it matches on what you want it to.

i.e.

I ran this command:

(jweber) laraine:/home/jweber 14 % notifyme -vl - -h idd.unidata.ucar.edu -f FSL
2 -p "^FSL\.NetCDF\.NOAAnet\.(RASS|windprofiler)\." -o 36000

notifyme -vl (verbose logging)

-  ( terminal output)

-h  (host you are feeding from..us)

idd.unidata.ucar.edu ( host machine name0

-f FSL2  (feedtype designator)

-p (here is where we place our reg ex pattern to see if we match)

-o (offset to determine how far back in seconds to look for the data in our 
queue)

To just "sniff" the feed to see what is in there, i would run:

notifyme -vl - -h idd.unidata.ucar.edu -f FSL2 -p "HRRR" -o 36000

..this will scroll by the HRRR prods from the past 36000 seconds and any new 
ones that arrive while you are running the 'notifyme' command.

Once you have an exhaustive list of the products you want we can help yuo craft 
a reg ex to grab
them if you are having any difficulties.

Apologies for the tardy response, 

Jeff

Jeff Weber
Unidata User Support
http://www.unidata.ucar.edu

Ticket Details
===================
Ticket ID: YAT-522314
Department: Support Datastream
Priority: Normal
Status: Open