[Met_help] [rt.rap.ucar.edu #77984] History for Chem variables
John Halley Gotway via RT
met_help at ucar.edu
Thu Sep 22 09:42:08 MDT 2016
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
I am using metv5.2bugfix and I got the following message:
DEBUG 1: User Config File: /media/Disco2/met-5.2_bugfix/scripts/config/PointStatConfig_Apr
ERROR :
ERROR : VarInfoGrib::add_grib_code() - unrecognized GRIB1 field abbreviation 'NO' for table version 141
ERROR :
The code works fine in version 5.0. with the following lines in the config file:
{
name = "NO";
level = [ "L1" ];
cat_thresh = [ >=105, >=210 ];
GRIB1_ptv = 141;
},
The grib1 file contains the following:
----------------------------------------------------
rec GRIB GRIB Lvl Lvl Lvl Time Fcst
Num Code name Code one two hour
----------------------------------------------------
1 1 PRES 109 1 0 2016-04-16_00:00 + 01
2 7 HGT 109 1 0 2016-04-16_00:00 + 01
3 11 TMP 109 1 0 2016-04-16_00:00 + 01
4 33 U GRD 109 1 0 2016-04-16_00:00 + 01
5 34 V GRD 109 1 0 2016-04-16_00:00 + 01
6 141 109 1 0 2016-04-16_00:00 + 01
7 142 109 1 0 2016-04-16_00:00 + 01
8 232 109 1 0 2016-04-16_00:00 + 01
9 148 109 1 0 2016-04-16_00:00 + 01
10 166 109 1 0 2016-04-16_00:00 + 01
11 180 OZCON 109 1 0 2016-04-16_00:00 + 01
12 156 PMTC 109 1 0 2016-04-16_00:00 + 01
13 157 PMTF 109 1 0 2016-04-16_00:00 + 01
The variables that I want to extract are from 6 to 10 those have grid number but no grib name.
Thanks in advance
Agustín García Reynoso http://www.atmosfera.unam.mx/fqa
Centro de Ciencias de la Atmosfera http://www.atmosfera.unam.mx
52-55-56 22 43 96
Universidad Nacional Autonoma de Mexico 52-55-56 16 07 89 (fax)
Circuito Exterior s/n Mexico DF 04510
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Chem variables
From: John Halley Gotway
Time: Tue Sep 20 12:19:38 2016
Jose,
I see that you're having trouble extracting more data from your GRIB
files. In MET version 5.2, we updated the GRIB table support in an
attempt
to support a wider variety of options. However, I understand that
it's
frustrating when what worked for MET 5.0 doesn't work for MET 5.2.
Looking at the GRIB table files in MET, I believe I've found a typo,
which
hopefully explains the problem you're seeing. Listed below are lines
142
to 144 from the file named grib1_ncep_141_7.txt.
140 141 7 -1 "NOy" "Total Inorganic and Organic Nitrates" "ppbV"
141 7 -1 141 7 -1 "NO" "Nitrogen Oxide" "ppbV"
142 141 7 -1 "NO2" "Nitrogen Dioxide" "ppbV"
I see a typo on the line for "NO"... It should read:
141 141 7 -1 "NO" "Nitrogen Oxide" "ppbV"
Please try making that change and then rerunning. And please let me
know
if that fixes the problem.
There are actually 2 versions of that file grib1_ncep_141_7.txt:
(1) met-5.2/data/table_files/grib1_ncep_141_7.txt
(2) INSTALL_DIR/share/met/table_files/grib1_ncep_141_7.txt where
INSTALL_DIR is the installation directory you set using (./configure
--prefix=INSTALL_DIR).
The file in (1) gets copied over to (2) when you run "make install".
You
could update (1) and rerun "make install" or just manually update both
(1)
and (2).
Once I hear back from you, I'll post a bugfix with this updated file.
Sorry for the trouble, but thanks for letting us know!
John Halley Gotway
On Mon, Sep 19, 2016 at 3:31 PM, Jose Agustín García Reynoso via RT <
met_help at ucar.edu> wrote:
>
> Mon Sep 19 15:31:58 2016: Request 77984 was acted upon.
> Transaction: Ticket created by agustin at atmosfera.unam.mx
> Queue: met_help
> Subject: Chem variables
> Owner: Nobody
> Requestors: agustin at atmosfera.unam.mx
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77984 >
>
>
> I am using metv5.2bugfix and I got the following message:
>
> DEBUG 1: User Config File: /media/Disco2/met-
5.2_bugfix/scripts/config/
> PointStatConfig_Apr
> ERROR :
> ERROR : VarInfoGrib::add_grib_code() - unrecognized GRIB1 field
> abbreviation 'NO' for table version 141
> ERROR :
>
> The code works fine in version 5.0. with the following lines in the
config
> file:
>
> {
> name = "NO";
> level = [ "L1" ];
> cat_thresh = [ >=105, >=210 ];
> GRIB1_ptv = 141;
> },
>
> The grib1 file contains the following:
>
> ----------------------------------------------------
> rec GRIB GRIB Lvl Lvl Lvl Time Fcst
> Num Code name Code one two hour
> ----------------------------------------------------
> 1 1 PRES 109 1 0 2016-04-16_00:00 + 01
> 2 7 HGT 109 1 0 2016-04-16_00:00 + 01
> 3 11 TMP 109 1 0 2016-04-16_00:00 + 01
> 4 33 U GRD 109 1 0 2016-04-16_00:00 + 01
> 5 34 V GRD 109 1 0 2016-04-16_00:00 + 01
> 6 141 109 1 0 2016-04-16_00:00 + 01
> 7 142 109 1 0 2016-04-16_00:00 + 01
> 8 232 109 1 0 2016-04-16_00:00 + 01
> 9 148 109 1 0 2016-04-16_00:00 + 01
> 10 166 109 1 0 2016-04-16_00:00 + 01
> 11 180 OZCON 109 1 0 2016-04-16_00:00 + 01
> 12 156 PMTC 109 1 0 2016-04-16_00:00 + 01
> 13 157 PMTF 109 1 0 2016-04-16_00:00 + 01
>
> The variables that I want to extract are from 6 to 10 those have
grid
> number but no grib name.
>
> Thanks in advance
>
> Agustín García Reynoso http://www.atmosfera.unam.mx/fqa
> Centro de Ciencias de la Atmosfera http://www.atmosfera.unam.mx
> 52-55-56 22 43 96
> Universidad Nacional Autonoma de Mexico 52-55-56 16 07 89 (fax)
> Circuito Exterior s/n Mexico DF 04510
>
>
>
>
>
>
>
>
>
>
------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #77984] Chem variables
From: Jose Agustín García Reynoso
Time: Tue Sep 20 13:36:29 2016
I edited both tables one in data folder and the other in share folder
now it is working
Thanks
> El 20/09/2016, a las 13:19, John Halley Gotway via RT
<met_help at ucar.edu> escribió:
>
> Jose,
>
> I see that you're having trouble extracting more data from your GRIB
> files. In MET version 5.2, we updated the GRIB table support in an
attempt
> to support a wider variety of options. However, I understand that
it's
> frustrating when what worked for MET 5.0 doesn't work for MET 5.2.
>
> Looking at the GRIB table files in MET, I believe I've found a typo,
which
> hopefully explains the problem you're seeing. Listed below are
lines 142
> to 144 from the file named grib1_ncep_141_7.txt.
>
> 140 141 7 -1 "NOy" "Total Inorganic and Organic Nitrates" "ppbV"
> 141 7 -1 141 7 -1 "NO" "Nitrogen Oxide" "ppbV"
> 142 141 7 -1 "NO2" "Nitrogen Dioxide" "ppbV"
>
> I see a typo on the line for "NO"... It should read:
> 141 141 7 -1 "NO" "Nitrogen Oxide" "ppbV"
>
> Please try making that change and then rerunning. And please let me
know
> if that fixes the problem.
>
> There are actually 2 versions of that file grib1_ncep_141_7.txt:
> (1) met-5.2/data/table_files/grib1_ncep_141_7.txt
> (2) INSTALL_DIR/share/met/table_files/grib1_ncep_141_7.txt where
> INSTALL_DIR is the installation directory you set using (./configure
> --prefix=INSTALL_DIR).
>
> The file in (1) gets copied over to (2) when you run "make install".
You
> could update (1) and rerun "make install" or just manually update
both (1)
> and (2).
>
> Once I hear back from you, I'll post a bugfix with this updated
file.
> Sorry for the trouble, but thanks for letting us know!
>
> John Halley Gotway
>
>
>
> On Mon, Sep 19, 2016 at 3:31 PM, Jose Agustín García Reynoso via RT
<
> met_help at ucar.edu> wrote:
>
>>
>> Mon Sep 19 15:31:58 2016: Request 77984 was acted upon.
>> Transaction: Ticket created by agustin at atmosfera.unam.mx
>> Queue: met_help
>> Subject: Chem variables
>> Owner: Nobody
>> Requestors: agustin at atmosfera.unam.mx
>> Status: new
>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77984 >
>>
>>
>> I am using metv5.2bugfix and I got the following message:
>>
>> DEBUG 1: User Config File: /media/Disco2/met-
5.2_bugfix/scripts/config/
>> PointStatConfig_Apr
>> ERROR :
>> ERROR : VarInfoGrib::add_grib_code() - unrecognized GRIB1 field
>> abbreviation 'NO' for table version 141
>> ERROR :
>>
>> The code works fine in version 5.0. with the following lines in the
config
>> file:
>>
>> {
>> name = "NO";
>> level = [ "L1" ];
>> cat_thresh = [ >=105, >=210 ];
>> GRIB1_ptv = 141;
>> },
>>
>> The grib1 file contains the following:
>>
>> ----------------------------------------------------
>> rec GRIB GRIB Lvl Lvl Lvl Time Fcst
>> Num Code name Code one two hour
>> ----------------------------------------------------
>> 1 1 PRES 109 1 0 2016-04-16_00:00 + 01
>> 2 7 HGT 109 1 0 2016-04-16_00:00 + 01
>> 3 11 TMP 109 1 0 2016-04-16_00:00 + 01
>> 4 33 U GRD 109 1 0 2016-04-16_00:00 + 01
>> 5 34 V GRD 109 1 0 2016-04-16_00:00 + 01
>> 6 141 109 1 0 2016-04-16_00:00 + 01
>> 7 142 109 1 0 2016-04-16_00:00 + 01
>> 8 232 109 1 0 2016-04-16_00:00 + 01
>> 9 148 109 1 0 2016-04-16_00:00 + 01
>> 10 166 109 1 0 2016-04-16_00:00 + 01
>> 11 180 OZCON 109 1 0 2016-04-16_00:00 + 01
>> 12 156 PMTC 109 1 0 2016-04-16_00:00 + 01
>> 13 157 PMTF 109 1 0 2016-04-16_00:00 + 01
>>
>> The variables that I want to extract are from 6 to 10 those have
grid
>> number but no grib name.
>>
>> Thanks in advance
>>
>> Agustín García Reynoso http://www.atmosfera.unam.mx/fqa
>> Centro de Ciencias de la Atmosfera http://www.atmosfera.unam.mx
>> 52-55-56 22 43 96
>> Universidad Nacional Autonoma de Mexico 52-55-56 16 07 89 (fax)
>> Circuito Exterior s/n Mexico DF 04510
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
------------------------------------------------
More information about the Met_help
mailing list