[Met_help] [rt.rap.ucar.edu #77978] History for Variable RH not found metv5.2
John Halley Gotway via RT
met_help at ucar.edu
Tue Sep 20 12:03:03 MDT 2016
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
I am trying to comprare the RH variable however in the log file there is a message that says that it is not found:
I am using the met-5.2_bugfix software.
DEBUG 2: Reading data for RH/L1.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching RH/L1 found in file: /tmpu/agr_g/agr/DOMAIN/ecacor/postprd/WRFPRS_d02.01
WARNING:
the setup in the config file:
{
name = "RH";
level = [ "L1" ];
cat_thresh = [ >=30 ];
}
but in the grib file WRFPRS_d02.01 the name is “R H”
----------------------------------------------------
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
…
20 52 R H 100 2 0 2016-04-16_00:00 + 01
21 52 R H 100 50 0 2016-04-16_00:00 + 01
when using “R H”
ERROR :
ERROR : VarInfoGrib::add_grib_code() - unrecognized GRIB1 field abbreviation 'R H' for table version 2
ERROR :
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Variable RH not found metv5.2
From: John Halley Gotway
Time: Mon Sep 19 12:14:38 2016
Jose,
I see that you're having trouble verifying relative humidity in MET.
MET
is unable to find "RH" at "L1" in your WRF output file.
First, just looking at the information you sent, it looks like there
is no
RH output with a level value of "1". Instead, RH is present with a
level
value of 2... which is most likely relative humidity at 2-meters.
MET uses some short-hand for specifying the level information. The
character "P" means pressure, and "P500" would mean pressure level
500mb.
The character "A" means accumulation interval, and "A24" means 24-
hours of
accumulation. The character "Z" means height, and "Z2" means 2-meters
above ground. The character "L" means a generic level type... so just
match the value but don't worry about the type.
Assuming you'd like to use 2-meter relative humidity, using "Z2" or
"L2"
should both work fine. "Z" would match a "height above ground" and
"L"
would too since it's a generic level type.
I also read that you're expecting the relative humidity to have an
embedded
space, "R H". I'm not familiar with the format of the tabular output
you
sent... so I don't know what tool generated it. We most commonly
using
wgrib and wgrib2 to list the contents of GRIB1 and GRIB2 files,
respectively. Those tools use "RH" (no space) as the abbreviation for
relative humidity.
And more to the point, the GRIB tables that MET uses can be found in
met-5.2/data/table_files. Listed below is line number 54 of the file
met-5.2/data/table_files/grib1_ncep_2_7.txt:
52 2 7 0 "RH" "Relative humidity" "%"
As you can see, MET is using "RH" (no space) as the abbreviation for
relative humidity. Actually, putting a space between the "R" and "H"
and
writing that to the output would really mess up the column alignment.
The
MET output is whitespace separated and having embedded whitespace is
problematic.
Hope that helps clarify.
Thanks,
John Halley Gotway
On Mon, Sep 19, 2016 at 11:47 AM, Jose Agustín García Reynoso via RT <
met_help at ucar.edu> wrote:
>
> Mon Sep 19 11:47:39 2016: Request 77978 was acted upon.
> Transaction: Ticket created by agustin at atmosfera.unam.mx
> Queue: met_help
> Subject: Variable RH not found metv5.2
> Owner: Nobody
> Requestors: agustin at atmosfera.unam.mx
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77978 >
>
>
>
>
> I am trying to comprare the RH variable however in the log file
there is a
> message that says that it is not found:
>
> I am using the met-5.2_bugfix software.
>
> DEBUG 2: Reading data for RH/L1.
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching RH/L1
found in
> file: /tmpu/agr_g/agr/DOMAIN/ecacor/postprd/WRFPRS_d02.01
> WARNING:
>
> the setup in the config file:
>
> {
> name = "RH";
> level = [ "L1" ];
> cat_thresh = [ >=30 ];
> }
>
> but in the grib file WRFPRS_d02.01 the name is “R H”
>
> ----------------------------------------------------
> 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
> …
> 20 52 R H 100 2 0 2016-04-16_00:00 + 01
> 21 52 R H 100 50 0 2016-04-16_00:00 + 01
>
> when using “R H”
>
> ERROR :
> ERROR : VarInfoGrib::add_grib_code() - unrecognized GRIB1 field
> abbreviation 'R H' for table version 2
> ERROR :
>
>
>
------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #77978] Variable RH not found metv5.2
From: Jose Agustín García Reynoso
Time: Mon Sep 19 15:21:35 2016
John,
I used the L2 and it works fine now.
Thanks for your insights.
Agustin
> El 19/09/2016, a las 13:14, John Halley Gotway via RT
<met_help at ucar.edu> escribió:
>
> Jose,
>
> I see that you're having trouble verifying relative humidity in MET.
MET
> is unable to find "RH" at "L1" in your WRF output file.
>
> First, just looking at the information you sent, it looks like there
is no
> RH output with a level value of "1". Instead, RH is present with a
level
> value of 2... which is most likely relative humidity at 2-meters.
>
> MET uses some short-hand for specifying the level information. The
> character "P" means pressure, and "P500" would mean pressure level
500mb.
> The character "A" means accumulation interval, and "A24" means 24-
hours of
> accumulation. The character "Z" means height, and "Z2" means 2-
meters
> above ground. The character "L" means a generic level type... so
just
> match the value but don't worry about the type.
>
> Assuming you'd like to use 2-meter relative humidity, using "Z2" or
"L2"
> should both work fine. "Z" would match a "height above ground" and
"L"
> would too since it's a generic level type.
>
> I also read that you're expecting the relative humidity to have an
embedded
> space, "R H". I'm not familiar with the format of the tabular
output you
> sent... so I don't know what tool generated it. We most commonly
using
> wgrib and wgrib2 to list the contents of GRIB1 and GRIB2 files,
> respectively. Those tools use "RH" (no space) as the abbreviation
for
> relative humidity.
>
> And more to the point, the GRIB tables that MET uses can be found in
> met-5.2/data/table_files. Listed below is line number 54 of the
file
> met-5.2/data/table_files/grib1_ncep_2_7.txt:
>
> 52 2 7 0 "RH" "Relative humidity" "%"
>
> As you can see, MET is using "RH" (no space) as the abbreviation for
> relative humidity. Actually, putting a space between the "R" and
"H" and
> writing that to the output would really mess up the column
alignment. The
> MET output is whitespace separated and having embedded whitespace is
> problematic.
>
> Hope that helps clarify.
>
> Thanks,
> John Halley Gotway
>
> On Mon, Sep 19, 2016 at 11:47 AM, Jose Agustín García Reynoso via RT
<
> met_help at ucar.edu> wrote:
>
>>
>> Mon Sep 19 11:47:39 2016: Request 77978 was acted upon.
>> Transaction: Ticket created by agustin at atmosfera.unam.mx
>> Queue: met_help
>> Subject: Variable RH not found metv5.2
>> Owner: Nobody
>> Requestors: agustin at atmosfera.unam.mx
>> Status: new
>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=77978 >
>>
>>
>>
>>
>> I am trying to comprare the RH variable however in the log file
there is a
>> message that says that it is not found:
>>
>> I am using the met-5.2_bugfix software.
>>
>> DEBUG 2: Reading data for RH/L1.
>> WARNING:
>> WARNING: process_fcst_climo_files() -> no fields matching RH/L1
found in
>> file: /tmpu/agr_g/agr/DOMAIN/ecacor/postprd/WRFPRS_d02.01
>> WARNING:
>>
>> the setup in the config file:
>>
>> {
>> name = "RH";
>> level = [ "L1" ];
>> cat_thresh = [ >=30 ];
>> }
>>
>> but in the grib file WRFPRS_d02.01 the name is “R H”
>>
>> ----------------------------------------------------
>> 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
>> …
>> 20 52 R H 100 2 0 2016-04-16_00:00 + 01
>> 21 52 R H 100 50 0 2016-04-16_00:00 + 01
>>
>> when using “R H”
>>
>> ERROR :
>> ERROR : VarInfoGrib::add_grib_code() - unrecognized GRIB1 field
>> abbreviation 'R H' for table version 2
>> ERROR :
>>
>>
>>
>
------------------------------------------------
More information about the Met_help
mailing list