[Met_help] [rt.rap.ucar.edu #82804] History for obs_grib_code about precipitation with PB2nc

John Halley Gotway via RT met_help at ucar.edu
Mon Nov 6 11:07:00 MST 2017


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Hi John,

     I plan o use PB2NC mode to convert rainfall station data to bufr type. From the sample data with met-6.0, I get prebufr.table and find the variables of

| TP01     | 013019 | TOTAL PRECIPITATION PAST 1 HOUR                          |
| TP03     | 013020 | TOTAL PRECIPITATION PAST 3 HOURS                         |
| TP06     | 013021 | TOTAL PRECIPITATION PAST 6 HOURS                         |
| TP12     | 013022 | TOTAL PRECIPITATION PAST 12 HOURS                        |
| TP24     | 013023 | TOTAL PRECIPITATION PAST 24 HOURS
#################

I write these variables to bufr type.

But when I check the config file of PB2NC, I find there's no description of coresponding abbreviation with variables, even in the GRIB parameter table 2(http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html).

So how to define obs_grib_code with precipitaion at past hours?
Thank you very much!
Mandy


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: obs_grib_code about precipitation with PB2nc
From: John Halley Gotway
Time: Wed Nov 01 14:36:22 2017

Mandy,

The current publicly released version of MET, version 6.0, is limited
in
the observation types that it can extract from PREPBUFR files.  PB2NC
is
limited to extracting P, Q, T, Z, U, V observations, and derive a
handful
of data types from these variables, like relative humidity.

The PB2NC tool in the upcoming version of MET, version 6.1, is greatly
enhanced to extract all observations from PREPBUFR and BUFR files.  So
PB2NC in met-6.0 does not extract the "TP##" observation types while
the
version in met-6.1 will.

For that reason, using an ascii format followed by the ascii2nc tool
would
likely work better for your current situation.

John


On Wed, Nov 1, 2017 at 1:47 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> Wed Nov 01 13:47:46 2017: Request 82804 was acted upon.
> Transaction: Ticket created by Man.Zhang-1 at ou.edu
>        Queue: met_help
>      Subject: obs_grib_code about precipitation with PB2nc
>        Owner: Nobody
>   Requestors: Man.Zhang-1 at ou.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
>
>
> Hi John,
>
>      I plan o use PB2NC mode to convert rainfall station data to
bufr
> type. From the sample data with met-6.0, I get prebufr.table and
find the
> variables of
>
> | TP01     | 013019 | TOTAL PRECIPITATION PAST 1 HOUR
>     |
> | TP03     | 013020 | TOTAL PRECIPITATION PAST 3 HOURS
>      |
> | TP06     | 013021 | TOTAL PRECIPITATION PAST 6 HOURS
>      |
> | TP12     | 013022 | TOTAL PRECIPITATION PAST 12 HOURS
>     |
> | TP24     | 013023 | TOTAL PRECIPITATION PAST 24 HOURS
> #################
>
> I write these variables to bufr type.
>
> But when I check the config file of PB2NC, I find there's no
description
> of coresponding abbreviation with variables, even in the GRIB
parameter
> table 2(http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html).
>
> So how to define obs_grib_code with precipitaion at past hours?
> Thank you very much!
> Mandy
>
>

------------------------------------------------
Subject: obs_grib_code about precipitation with PB2nc
From: Zhang, Mandy
Time: Wed Nov 01 15:17:34 2017

Hi John,

I try to convert variables as temperature, u and v,there's my
configure set :

////////////////////////////////////////////////////////////////////////////////

//
// Observation values to retain or derive
//
obs_grib_code = [ "TMP", "UGRD", "VGRD" ];

////////////////////////////////////////////////////////////////////////////////

quality_mark_thresh = 2;
event_stack_flag    = TOP;
***********************
but the error occurs after I run test_pb2nc.sh
login4.stampede2(307)$ ./test_pb2nc.sh

*** Running PB2NC on a PREPBUFR file ***
DEBUG 1: Default Config File:
/home1/04865/tg841649/tools/met/share/met/config/PB2NCConfig_default
DEBUG 1: User Config File:
/scratch/04865/tg841649/met_predata/toZhangman/met_config/PB2NCConfig_stat
DEBUG 1: Creating NetCDF File: sample_pb.nc
/home1/04865/tg841649/tools/met/bin/pb2nc: symbol lookup error:
/home1/04865/tg841649/tools/met/bin/pb2nc: undefined symbol:
_ZN6netCDF6NcFileC1ERKSsNS0_8FileModeENS0_10FileFormatE
********
Do you know what causes this kind of error?
Thank you!
Mandy


________________________________
From: John Halley Gotway via RT <met_help at ucar.edu>
Sent: Wednesday, November 1, 2017 3:36:22 PM
To: Zhang, Mandy
Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation with PB2nc

Mandy,

The current publicly released version of MET, version 6.0, is limited
in
the observation types that it can extract from PREPBUFR files.  PB2NC
is
limited to extracting P, Q, T, Z, U, V observations, and derive a
handful
of data types from these variables, like relative humidity.

The PB2NC tool in the upcoming version of MET, version 6.1, is greatly
enhanced to extract all observations from PREPBUFR and BUFR files.  So
PB2NC in met-6.0 does not extract the "TP##" observation types while
the
version in met-6.1 will.

For that reason, using an ascii format followed by the ascii2nc tool
would
likely work better for your current situation.

John


On Wed, Nov 1, 2017 at 1:47 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> Wed Nov 01 13:47:46 2017: Request 82804 was acted upon.
> Transaction: Ticket created by Man.Zhang-1 at ou.edu
>        Queue: met_help
>      Subject: obs_grib_code about precipitation with PB2nc
>        Owner: Nobody
>   Requestors: Man.Zhang-1 at ou.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
>
>
> Hi John,
>
>      I plan o use PB2NC mode to convert rainfall station data to
bufr
> type. From the sample data with met-6.0, I get prebufr.table and
find the
> variables of
>
> | TP01     | 013019 | TOTAL PRECIPITATION PAST 1 HOUR
>     |
> | TP03     | 013020 | TOTAL PRECIPITATION PAST 3 HOURS
>      |
> | TP06     | 013021 | TOTAL PRECIPITATION PAST 6 HOURS
>      |
> | TP12     | 013022 | TOTAL PRECIPITATION PAST 12 HOURS
>     |
> | TP24     | 013023 | TOTAL PRECIPITATION PAST 24 HOURS
> #################
>
> I write these variables to bufr type.
>
> But when I check the config file of PB2NC, I find there's no
description
> of coresponding abbreviation with variables, even in the GRIB
parameter
> table 2(http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html).
>
> So how to define obs_grib_code with precipitaion at past hours?
> Thank you very much!
> Mandy
>
>


------------------------------------------------
Subject: obs_grib_code about precipitation with PB2nc
From: John Halley Gotway
Time: Thu Nov 02 15:51:10 2017

Mandy,

Undefined symbol error messages like that are likely coming from the
run
time linker.  Problems like that are usually solved by updating the
LD_LIBRARY_PATH setting to tell the linker where to find the library
archive files it needs at runtime.

Do you encounter this error when running "make test" from the top
level
directory of MET?   Or is this the result of making changes to the
PREPBUFR
file that PB2NC is processing?

Thanks,
John

On Wed, Nov 1, 2017 at 3:17 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
>
> Hi John,
>
> I try to convert variables as temperature, u and v,there's my
configure
> set :
>
> ////////////////////////////////////////////////////////////
> ////////////////////
>
> //
> // Observation values to retain or derive
> //
> obs_grib_code = [ "TMP", "UGRD", "VGRD" ];
>
> ////////////////////////////////////////////////////////////
> ////////////////////
>
> quality_mark_thresh = 2;
> event_stack_flag    = TOP;
> ***********************
> but the error occurs after I run test_pb2nc.sh
> login4.stampede2(307)$ ./test_pb2nc.sh
>
> *** Running PB2NC on a PREPBUFR file ***
> DEBUG 1: Default Config File: /home1/04865/tg841649/tools/
> met/share/met/config/PB2NCConfig_default
> DEBUG 1: User Config File: /scratch/04865/tg841649/met_
> predata/toZhangman/met_config/PB2NCConfig_stat
> DEBUG 1: Creating NetCDF File: sample_pb.nc
> /home1/04865/tg841649/tools/met/bin/pb2nc: symbol lookup error:
> /home1/04865/tg841649/tools/met/bin/pb2nc: undefined symbol:
> _ZN6netCDF6NcFileC1ERKSsNS0_8FileModeENS0_10FileFormatE
> ********
> Do you know what causes this kind of error?
> Thank you!
> Mandy
>
>
> ________________________________
> From: John Halley Gotway via RT <met_help at ucar.edu>
> Sent: Wednesday, November 1, 2017 3:36:22 PM
> To: Zhang, Mandy
> Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation
> with PB2nc
>
> Mandy,
>
> The current publicly released version of MET, version 6.0, is
limited in
> the observation types that it can extract from PREPBUFR files.
PB2NC is
> limited to extracting P, Q, T, Z, U, V observations, and derive a
handful
> of data types from these variables, like relative humidity.
>
> The PB2NC tool in the upcoming version of MET, version 6.1, is
greatly
> enhanced to extract all observations from PREPBUFR and BUFR files.
So
> PB2NC in met-6.0 does not extract the "TP##" observation types while
the
> version in met-6.1 will.
>
> For that reason, using an ascii format followed by the ascii2nc tool
would
> likely work better for your current situation.
>
> John
>
>
> On Wed, Nov 1, 2017 at 1:47 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Wed Nov 01 13:47:46 2017: Request 82804 was acted upon.
> > Transaction: Ticket created by Man.Zhang-1 at ou.edu
> >        Queue: met_help
> >      Subject: obs_grib_code about precipitation with PB2nc
> >        Owner: Nobody
> >   Requestors: Man.Zhang-1 at ou.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
> >
> >
> > Hi John,
> >
> >      I plan o use PB2NC mode to convert rainfall station data to
bufr
> > type. From the sample data with met-6.0, I get prebufr.table and
find the
> > variables of
> >
> > | TP01     | 013019 | TOTAL PRECIPITATION PAST 1 HOUR
> >     |
> > | TP03     | 013020 | TOTAL PRECIPITATION PAST 3 HOURS
> >      |
> > | TP06     | 013021 | TOTAL PRECIPITATION PAST 6 HOURS
> >      |
> > | TP12     | 013022 | TOTAL PRECIPITATION PAST 12 HOURS
> >     |
> > | TP24     | 013023 | TOTAL PRECIPITATION PAST 24 HOURS
> > #################
> >
> > I write these variables to bufr type.
> >
> > But when I check the config file of PB2NC, I find there's no
description
> > of coresponding abbreviation with variables, even in the GRIB
parameter
> > table 2(http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html).
> >
> > So how to define obs_grib_code with precipitaion at past hours?
> > Thank you very much!
> > Mandy
> >
> >
>
>
>

------------------------------------------------
Subject: obs_grib_code about precipitation with PB2nc
From: Zhang, Mandy
Time: Thu Nov 02 16:05:09 2017

Hi John,

      Yes, you're right ! After I ran the test_pb2nc.sh, the same
error occurred, I realized that the environment changed, and it works
now.

      I have an another question, as you suggested, I use ascii2nc to
convert precipitation data to nc format, it works, but I'm not quite
understand the setting of config file, for grid code, it sets as [11,
204,211], and the type ["min", "max","range", ...] .

      Does it means for precipitation only, just set grid code of
precipitation, for more variables, like temperature, u,v,

I set grib codes that represent these variables?

      Thank you!

Mandy



________________________________
From: John Halley Gotway via RT <met_help at ucar.edu>
Sent: Thursday, November 2, 2017 4:51:10 PM
To: Zhang, Mandy
Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation with PB2nc

Mandy,

Undefined symbol error messages like that are likely coming from the
run
time linker.  Problems like that are usually solved by updating the
LD_LIBRARY_PATH setting to tell the linker where to find the library
archive files it needs at runtime.

Do you encounter this error when running "make test" from the top
level
directory of MET?   Or is this the result of making changes to the
PREPBUFR
file that PB2NC is processing?

Thanks,
John

On Wed, Nov 1, 2017 at 3:17 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
>
> Hi John,
>
> I try to convert variables as temperature, u and v,there's my
configure
> set :
>
> ////////////////////////////////////////////////////////////
> ////////////////////
>
> //
> // Observation values to retain or derive
> //
> obs_grib_code = [ "TMP", "UGRD", "VGRD" ];
>
> ////////////////////////////////////////////////////////////
> ////////////////////
>
> quality_mark_thresh = 2;
> event_stack_flag    = TOP;
> ***********************
> but the error occurs after I run test_pb2nc.sh
> login4.stampede2(307)$ ./test_pb2nc.sh
>
> *** Running PB2NC on a PREPBUFR file ***
> DEBUG 1: Default Config File: /home1/04865/tg841649/tools/
> met/share/met/config/PB2NCConfig_default
> DEBUG 1: User Config File: /scratch/04865/tg841649/met_
> predata/toZhangman/met_config/PB2NCConfig_stat
> DEBUG 1: Creating NetCDF File: sample_pb.nc
> /home1/04865/tg841649/tools/met/bin/pb2nc: symbol lookup error:
> /home1/04865/tg841649/tools/met/bin/pb2nc: undefined symbol:
> _ZN6netCDF6NcFileC1ERKSsNS0_8FileModeENS0_10FileFormatE
> ********
> Do you know what causes this kind of error?
> Thank you!
> Mandy
>
>
> ________________________________
> From: John Halley Gotway via RT <met_help at ucar.edu>
> Sent: Wednesday, November 1, 2017 3:36:22 PM
> To: Zhang, Mandy
> Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation
> with PB2nc
>
> Mandy,
>
> The current publicly released version of MET, version 6.0, is
limited in
> the observation types that it can extract from PREPBUFR files.
PB2NC is
> limited to extracting P, Q, T, Z, U, V observations, and derive a
handful
> of data types from these variables, like relative humidity.
>
> The PB2NC tool in the upcoming version of MET, version 6.1, is
greatly
> enhanced to extract all observations from PREPBUFR and BUFR files.
So
> PB2NC in met-6.0 does not extract the "TP##" observation types while
the
> version in met-6.1 will.
>
> For that reason, using an ascii format followed by the ascii2nc tool
would
> likely work better for your current situation.
>
> John
>
>
> On Wed, Nov 1, 2017 at 1:47 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Wed Nov 01 13:47:46 2017: Request 82804 was acted upon.
> > Transaction: Ticket created by Man.Zhang-1 at ou.edu
> >        Queue: met_help
> >      Subject: obs_grib_code about precipitation with PB2nc
> >        Owner: Nobody
> >   Requestors: Man.Zhang-1 at ou.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
> >
> >
> > Hi John,
> >
> >      I plan o use PB2NC mode to convert rainfall station data to
bufr
> > type. From the sample data with met-6.0, I get prebufr.table and
find the
> > variables of
> >
> > | TP01     | 013019 | TOTAL PRECIPITATION PAST 1 HOUR
> >     |
> > | TP03     | 013020 | TOTAL PRECIPITATION PAST 3 HOURS
> >      |
> > | TP06     | 013021 | TOTAL PRECIPITATION PAST 6 HOURS
> >      |
> > | TP12     | 013022 | TOTAL PRECIPITATION PAST 12 HOURS
> >     |
> > | TP24     | 013023 | TOTAL PRECIPITATION PAST 24 HOURS
> > #################
> >
> > I write these variables to bufr type.
> >
> > But when I check the config file of PB2NC, I find there's no
description
> > of coresponding abbreviation with variables, even in the GRIB
parameter
> > table 2(http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html).
> >
> > So how to define obs_grib_code with precipitaion at past hours?
> > Thank you very much!
> > Mandy
> >
> >
>
>
>


------------------------------------------------
Subject: obs_grib_code about precipitation with PB2nc
From: John Halley Gotway
Time: Mon Nov 06 09:49:17 2017

Mandy,

You are preparing point observations in ascii format as input to the
ascii2nc tool.  In that ascii format, I'd suggest putting 61 in column
#7.
61 is the GRIB code for accumulated precipitation.  Additionally, I'd
suggest putting HH in column #8 where HH indicates the hours of
accumulation.  For 24-hours accumulated precip, put 24 in column 8.

You do not need to use a configuration file for ascii2nc.  It's is
optional
and really only used when processing observations in little_r or
SURFRAD
format.  You don't need it for your data.

Thanks,
John

On Thu, Nov 2, 2017 at 4:05 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
>
> Hi John,
>
>       Yes, you're right ! After I ran the test_pb2nc.sh, the same
error
> occurred, I realized that the environment changed, and it works now.
>
>       I have an another question, as you suggested, I use ascii2nc
to
> convert precipitation data to nc format, it works, but I'm not quite
> understand the setting of config file, for grid code, it sets as
[11,
> 204,211], and the type ["min", "max","range", ...] .
>
>       Does it means for precipitation only, just set grid code of
> precipitation, for more variables, like temperature, u,v,
>
> I set grib codes that represent these variables?
>
>       Thank you!
>
> Mandy
>
>
>
> ________________________________
> From: John Halley Gotway via RT <met_help at ucar.edu>
> Sent: Thursday, November 2, 2017 4:51:10 PM
> To: Zhang, Mandy
> Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation
> with PB2nc
>
> Mandy,
>
> Undefined symbol error messages like that are likely coming from the
run
> time linker.  Problems like that are usually solved by updating the
> LD_LIBRARY_PATH setting to tell the linker where to find the library
> archive files it needs at runtime.
>
> Do you encounter this error when running "make test" from the top
level
> directory of MET?   Or is this the result of making changes to the
PREPBUFR
> file that PB2NC is processing?
>
> Thanks,
> John
>
> On Wed, Nov 1, 2017 at 3:17 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
> >
> > Hi John,
> >
> > I try to convert variables as temperature, u and v,there's my
configure
> > set :
> >
> > ////////////////////////////////////////////////////////////
> > ////////////////////
> >
> > //
> > // Observation values to retain or derive
> > //
> > obs_grib_code = [ "TMP", "UGRD", "VGRD" ];
> >
> > ////////////////////////////////////////////////////////////
> > ////////////////////
> >
> > quality_mark_thresh = 2;
> > event_stack_flag    = TOP;
> > ***********************
> > but the error occurs after I run test_pb2nc.sh
> > login4.stampede2(307)$ ./test_pb2nc.sh
> >
> > *** Running PB2NC on a PREPBUFR file ***
> > DEBUG 1: Default Config File: /home1/04865/tg841649/tools/
> > met/share/met/config/PB2NCConfig_default
> > DEBUG 1: User Config File: /scratch/04865/tg841649/met_
> > predata/toZhangman/met_config/PB2NCConfig_stat
> > DEBUG 1: Creating NetCDF File: sample_pb.nc
> > /home1/04865/tg841649/tools/met/bin/pb2nc: symbol lookup error:
> > /home1/04865/tg841649/tools/met/bin/pb2nc: undefined symbol:
> > _ZN6netCDF6NcFileC1ERKSsNS0_8FileModeENS0_10FileFormatE
> > ********
> > Do you know what causes this kind of error?
> > Thank you!
> > Mandy
> >
> >
> > ________________________________
> > From: John Halley Gotway via RT <met_help at ucar.edu>
> > Sent: Wednesday, November 1, 2017 3:36:22 PM
> > To: Zhang, Mandy
> > Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation
> > with PB2nc
> >
> > Mandy,
> >
> > The current publicly released version of MET, version 6.0, is
limited in
> > the observation types that it can extract from PREPBUFR files.
PB2NC is
> > limited to extracting P, Q, T, Z, U, V observations, and derive a
handful
> > of data types from these variables, like relative humidity.
> >
> > The PB2NC tool in the upcoming version of MET, version 6.1, is
greatly
> > enhanced to extract all observations from PREPBUFR and BUFR files.
So
> > PB2NC in met-6.0 does not extract the "TP##" observation types
while the
> > version in met-6.1 will.
> >
> > For that reason, using an ascii format followed by the ascii2nc
tool
> would
> > likely work better for your current situation.
> >
> > John
> >
> >
> > On Wed, Nov 1, 2017 at 1:47 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Wed Nov 01 13:47:46 2017: Request 82804 was acted upon.
> > > Transaction: Ticket created by Man.Zhang-1 at ou.edu
> > >        Queue: met_help
> > >      Subject: obs_grib_code about precipitation with PB2nc
> > >        Owner: Nobody
> > >   Requestors: Man.Zhang-1 at ou.edu
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804
> >
> > >
> > >
> > > Hi John,
> > >
> > >      I plan o use PB2NC mode to convert rainfall station data to
bufr
> > > type. From the sample data with met-6.0, I get prebufr.table and
find
> the
> > > variables of
> > >
> > > | TP01     | 013019 | TOTAL PRECIPITATION PAST 1 HOUR
> > >     |
> > > | TP03     | 013020 | TOTAL PRECIPITATION PAST 3 HOURS
> > >      |
> > > | TP06     | 013021 | TOTAL PRECIPITATION PAST 6 HOURS
> > >      |
> > > | TP12     | 013022 | TOTAL PRECIPITATION PAST 12 HOURS
> > >     |
> > > | TP24     | 013023 | TOTAL PRECIPITATION PAST 24 HOURS
> > > #################
> > >
> > > I write these variables to bufr type.
> > >
> > > But when I check the config file of PB2NC, I find there's no
> description
> > > of coresponding abbreviation with variables, even in the GRIB
parameter
> > > table
2(http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html).
> > >
> > > So how to define obs_grib_code with precipitaion at past hours?
> > > Thank you very much!
> > > Mandy
> > >
> > >
> >
> >
> >
>
>
>

------------------------------------------------
Subject: obs_grib_code about precipitation with PB2nc
From: Zhang, Mandy
Time: Mon Nov 06 10:26:13 2017

Thank you John,

I write another ticket about converting multiple-level data to netcdf
with Ascii2nc mode.

the problems about former emails are solved.

I appreciated with all your helps!

Mandy



________________________________
From: John Halley Gotway via RT <met_help at ucar.edu>
Sent: Monday, November 6, 2017 10:49:17 AM
To: Zhang, Mandy
Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation with PB2nc

Mandy,

You are preparing point observations in ascii format as input to the
ascii2nc tool.  In that ascii format, I'd suggest putting 61 in column
#7.
61 is the GRIB code for accumulated precipitation.  Additionally, I'd
suggest putting HH in column #8 where HH indicates the hours of
accumulation.  For 24-hours accumulated precip, put 24 in column 8.

You do not need to use a configuration file for ascii2nc.  It's is
optional
and really only used when processing observations in little_r or
SURFRAD
format.  You don't need it for your data.

Thanks,
John

On Thu, Nov 2, 2017 at 4:05 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
>
> Hi John,
>
>       Yes, you're right ! After I ran the test_pb2nc.sh, the same
error
> occurred, I realized that the environment changed, and it works now.
>
>       I have an another question, as you suggested, I use ascii2nc
to
> convert precipitation data to nc format, it works, but I'm not quite
> understand the setting of config file, for grid code, it sets as
[11,
> 204,211], and the type ["min", "max","range", ...] .
>
>       Does it means for precipitation only, just set grid code of
> precipitation, for more variables, like temperature, u,v,
>
> I set grib codes that represent these variables?
>
>       Thank you!
>
> Mandy
>
>
>
> ________________________________
> From: John Halley Gotway via RT <met_help at ucar.edu>
> Sent: Thursday, November 2, 2017 4:51:10 PM
> To: Zhang, Mandy
> Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation
> with PB2nc
>
> Mandy,
>
> Undefined symbol error messages like that are likely coming from the
run
> time linker.  Problems like that are usually solved by updating the
> LD_LIBRARY_PATH setting to tell the linker where to find the library
> archive files it needs at runtime.
>
> Do you encounter this error when running "make test" from the top
level
> directory of MET?   Or is this the result of making changes to the
PREPBUFR
> file that PB2NC is processing?
>
> Thanks,
> John
>
> On Wed, Nov 1, 2017 at 3:17 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804 >
> >
> > Hi John,
> >
> > I try to convert variables as temperature, u and v,there's my
configure
> > set :
> >
> > ////////////////////////////////////////////////////////////
> > ////////////////////
> >
> > //
> > // Observation values to retain or derive
> > //
> > obs_grib_code = [ "TMP", "UGRD", "VGRD" ];
> >
> > ////////////////////////////////////////////////////////////
> > ////////////////////
> >
> > quality_mark_thresh = 2;
> > event_stack_flag    = TOP;
> > ***********************
> > but the error occurs after I run test_pb2nc.sh
> > login4.stampede2(307)$ ./test_pb2nc.sh
> >
> > *** Running PB2NC on a PREPBUFR file ***
> > DEBUG 1: Default Config File: /home1/04865/tg841649/tools/
> > met/share/met/config/PB2NCConfig_default
> > DEBUG 1: User Config File: /scratch/04865/tg841649/met_
> > predata/toZhangman/met_config/PB2NCConfig_stat
> > DEBUG 1: Creating NetCDF File: sample_pb.nc
> > /home1/04865/tg841649/tools/met/bin/pb2nc: symbol lookup error:
> > /home1/04865/tg841649/tools/met/bin/pb2nc: undefined symbol:
> > _ZN6netCDF6NcFileC1ERKSsNS0_8FileModeENS0_10FileFormatE
> > ********
> > Do you know what causes this kind of error?
> > Thank you!
> > Mandy
> >
> >
> > ________________________________
> > From: John Halley Gotway via RT <met_help at ucar.edu>
> > Sent: Wednesday, November 1, 2017 3:36:22 PM
> > To: Zhang, Mandy
> > Subject: Re: [rt.rap.ucar.edu #82804] obs_grib_code about
precipitation
> > with PB2nc
> >
> > Mandy,
> >
> > The current publicly released version of MET, version 6.0, is
limited in
> > the observation types that it can extract from PREPBUFR files.
PB2NC is
> > limited to extracting P, Q, T, Z, U, V observations, and derive a
handful
> > of data types from these variables, like relative humidity.
> >
> > The PB2NC tool in the upcoming version of MET, version 6.1, is
greatly
> > enhanced to extract all observations from PREPBUFR and BUFR files.
So
> > PB2NC in met-6.0 does not extract the "TP##" observation types
while the
> > version in met-6.1 will.
> >
> > For that reason, using an ascii format followed by the ascii2nc
tool
> would
> > likely work better for your current situation.
> >
> > John
> >
> >
> > On Wed, Nov 1, 2017 at 1:47 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Wed Nov 01 13:47:46 2017: Request 82804 was acted upon.
> > > Transaction: Ticket created by Man.Zhang-1 at ou.edu
> > >        Queue: met_help
> > >      Subject: obs_grib_code about precipitation with PB2nc
> > >        Owner: Nobody
> > >   Requestors: Man.Zhang-1 at ou.edu
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82804
> >
> > >
> > >
> > > Hi John,
> > >
> > >      I plan o use PB2NC mode to convert rainfall station data to
bufr
> > > type. From the sample data with met-6.0, I get prebufr.table and
find
> the
> > > variables of
> > >
> > > | TP01     | 013019 | TOTAL PRECIPITATION PAST 1 HOUR
> > >     |
> > > | TP03     | 013020 | TOTAL PRECIPITATION PAST 3 HOURS
> > >      |
> > > | TP06     | 013021 | TOTAL PRECIPITATION PAST 6 HOURS
> > >      |
> > > | TP12     | 013022 | TOTAL PRECIPITATION PAST 12 HOURS
> > >     |
> > > | TP24     | 013023 | TOTAL PRECIPITATION PAST 24 HOURS
> > > #################
> > >
> > > I write these variables to bufr type.
> > >
> > > But when I check the config file of PB2NC, I find there's no
> description
> > > of coresponding abbreviation with variables, even in the GRIB
parameter
> > > table
2(http://www.nco.ncep.noaa.gov/pmb/docs/on388/table2.html).
> > >
> > > So how to define obs_grib_code with precipitaion at past hours?
> > > Thank you very much!
> > > Mandy
> > >
> > >
> >
> >
> >
>
>
>


------------------------------------------------


More information about the Met_help mailing list