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

19990823: pqact specifiers for min/max tmps



>From: Mike Trexler <address@hidden>
>Organization: NC State
>Keywords: 199908231723.LAA23334 pqact entries

Hi Mike-

>I'm trying to get agriculture coop 24 hr min/max temps
>and precip for a few stations in and around NC and I'm
>having trouble with my specifier statement in pqact.
>What I suppose I'm really most confused about is what
>the product identifier is.  Let me tell you what I know...
>I do know that they come under SXUS and then some number.
>I need to get the data from KRDU, KMHX, KGSP, KILM, and
>KRNK.  To this point I have only gotten the one from KRDU
>using SXUS04, I think, and from KILM using SXUS20, I think.
>I guess what I really need to know is...how do I find out
>what the right numbers are to get the right stations.
>Sorry if this doesn't make a lot of sense!

Unfortunately, this kind of information is not easily obtained.

One thing to do would be to add an action like:

DDPLUS  ^SXUS.. (KRDU|KMHX|KGSP|KILM|KRNK)
        FILE -close data/some_file_name

and let it run for a few days and see what you get.  You will
probably get reports you don't need, but should find the ones you do.
One thing to look at is whether the reports you have an interest
in have a common AFOS Product Identifier Line (PIL) as the second
line (after the WMO header).  In a recent update to the ingester
software, this information is being tagged with a /p identifier
as part of the IDD header.  For example, in the SXUS04 KRDU bulletin

SXUS04 KRDU 231319
AGORDU
CENTRAL NORTH CAROLINA AGRICULTURAL/COOPERATIVE WEATHER REPORTS
NATIONAL WEATHER SERVICE RALEIGH NC
930 AM EDT MON AUG 23 1999
REPORTS CONTAIN 24 HOUR DATA ENDING AT 700 AM
STATION                 MX    MN       PCPN
ALBEMARLE               86    67       0.00
....


that second line AGORDU  would be included in the LDM header as
/pAGORDU.  So, if all the reports you are interested in have AGOXXX
(where XXX is a station ID), then you could have a line like:

DDPLUS  ^.*/pAGO(RDU|MHX|GSP|ILM|RNK)
        FILE -close data/some_file_name

If they are all different, you could do something like:

DDPLUS  ^.*/p(AGORDU|LCOGSP|HYDMHX|RR1ILM|RRARNK)
        FILE -close data/some_file_name

If you can get the specific headers you need and but have trouble
creating a regular expression, send them along to us and we'll
see if we can help.

Don Murray