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.


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

20010503: 20010502: gribkey.tbl wildcard for center id?



OK. Sounds good. Give me a few days to a week.
I'm a little burried at the moment but canmplement something.


Steve Chiswell
Unidata User Support



>From: "Stonie R. Cooper" <address@hidden>
>Organization: Planetary Data, Incorporated
>Keywords: 200105031136.f43BaDp12032

>Steve,
>
>Thanks for info - I'll just keep doing like you have been, i.e. log file 
>scans.
>
>Stonie
>
>On Thursday 03 May 2001 04:54, you wrote:
>> Stonie,
>>
>> I didn't include a wildcard for center ID's (the known centers defined in
>> cntrgrib1.tbl). Actually, the "characters" used for wildcards in
>> gribkey.tbl don't matter so much as that when the x, ??? or @@@ are read,
>> the conversion to numbers fails and I stick in a default value to match
>> against.
>>
>> I would probably stick -1 in for the p->center when the conversion fails,
>> then add an extra test like if(p->center == center )||(p->center == -1) .
>>
>> Also would need a center template for the output file name.
>>
>> Of course, I scan the decoder logs from time to time to find things missing
>> from the grib tables.
>>
>> Steve Chiswell
>> Unidata User Support
>>
>> >From: address@hidden
>> >Organization: UCAR/Unidata
>> >Keywords: 200105030111.f431Bc221786
>> >
>> >From address@hidden Wed May  2 19:11:36 2001
>> >Received: from avocet.mail.pas.earthlink.net
>> > (avocet.mail.pas.earthlink.net [2 07.217.121.50])
>> >    by unidata.ucar.edu (UCAR/Unidata) with ESMTP id f431Bap21780
>> >    for <address@hidden>; Wed, 2 May 2001 19:11:36 -0600 (MDT)
>> >Keywords: 200105030111.f431Bap21780
>> >Received: from helium.planetarydata.com (3Cust184.tnt32.atl2.da.uu.net
>> > [63.38. 70.184])
>> >    by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id SAA274
>> > 23
>> >    for <address@hidden>; Wed, 2 May 2001 18:11:31 -0700 (PDT)
>> >From: "Stonie R. Cooper" <address@hidden>
>> >Reply-To: address@hidden
>> >Organization: Planetary Data, Incorporated
>> >Date: Thu, 3 May 2001 01:11:26 +0000
>> >X-Mailer: KMail [version 1.1.99]
>> >Content-Type: text/plain;
>> >  charset="iso-8859-1"
>> >To: address@hidden
>> >Subject: GEMBUD: gribkey.tbl wildcard for center id?
>> >MIME-Version: 1.0
>> >Message-Id: <address@hidden>
>> >Content-Transfer-Encoding: 8bit
>> >
>> >Before I commence a source code dig, does anyone know the wildcard for
>> > center id in the dcgrib2 config file "gribkey.tbl"?
>> >
>> >For instance:
>> >
>> >098  x  ??? @@@ /nrs_data0/gempak/model/ecmwf/YYYYMMDDHH_ecmwf@@@.gem  100
>> >
>> >is catching all the grib messages from Reading (98) and is wildcarding the
>> >sub-center (x), the process (???) and the projection/grid code (@@@).  I
>> >would like to wildcard the center, also, at the end of gribkey.tbl, so as
>> > to catch anything undefined - like:
>> >
>> >* x ??? @@@ /nrs_data0/gempak/model/unknown/YYYYMMDDHH_%%%_###_@@@.gem 
>> > 500
>> >
>> > - so that "*" is whatever wildcard is expected for center id.
>> >
>> >Thanks in advance for any help . . .
>> >--
>> >Stonie R. Cooper,
>> >Science Officer
>> >Planetary Data, Incorporated
>> >3495 Liberty Road
>> >Villa Rica, Georgia  30180
>> >ph. (770) 456-0700; pg. (888) 974-5017; fx. (770) 459-0016
>>
>> ***************************************************************************
>>* < Unidata User Support                                    UCAR Unidata
> Program < (303)497-8644                                                 
>> P.O. Box 3000 < address@hidden                                  
>> ---------------------------------------------------------------------------
>>- < Unidata WWW Service                        http://www.unidata.ucar.edu/ 
>> ***************************************************************************
>
>-- 
>Stonie R. Cooper,
>Science Officer
>Planetary Data, Incorporated
>3495 Liberty Road
>Villa Rica, Georgia  30180
>ph. (770) 456-0700; pg. (888) 974-5017; fx. (770) 459-0016
>