[Met_help] [rt.rap.ucar.edu #71731] History for Problem with point stat tool

Julie Prestopnik via RT met_help at ucar.edu
Fri Jun 5 10:54:00 MDT 2015


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

Dear all,

I received the following error message while running the point_stat tool of met 5.0.I am trying to use Point-Stat to compare the NetCDF output of PCP-
Combine to point observations generated using the ASCII2NC tool. My configuration file set were:fcst_field  = [ "APCP_03(*,*)" ];
obs_field   = [ "APCP/A3" ];
 
when configuration fiel set 
fcst_field[]  = [ "APCP_03(*,*)" ];
obs_field[]   = [ "APCP/A3" ];
the error was 
ERROR  : yyerror() -> syntax error in file "./PointStatConfig_3hrpre.d02"
ERROR  : 
ERROR  :    line   = 20
ERROR  : 
ERROR  :    column = 11
ERROR  : 
ERROR  :    text   = "["
ERROR  : 
ERROR  : 
ERROR  : fcst_field[] = [ "APCP_03(*,*)" ];
ERROR  : __________^_______________________
ERROR  : 
 
Kindly advise.

Thanks in advance.
 
Yuanpu
 
 
DEBUG 1: Default Config File: /data1/home/liuyp/software/met-5.0/met-install/share/met/config/PointStatConfig_default
DEBUG 1: User Config File: ./PointStatConfig_3hrpre.d02
GSL_RNG_TYPE=mt19937
GSL_RNG_SEED=1
DEBUG 1: Forecast File: /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
DEBUG 1: Climatology File: none
DEBUG 1: Observation File: /data1/home/liuyp/software/met-5.0/ascii2nc/output/SURF_obs_ascii_201504.nc
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for SPFHP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching SPFHP500 found in file: /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for TMPP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching TMPP500 found in file: /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for HGTP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching HGTP500 found in file: /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for UGRDP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching UGRDP500 found in file: /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for VGRDP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching VGRDP500 found in file: /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Searching 523850 observations from 39657 messages.
DEBUG 2:
DEBUG 2: --------------------------------------------------------------------------------
DEBUG 2:
DEBUG 1: Output file: ./point_stat_wrf_-02-46-39L_19700101_000000V.stat
DEBUG 1: Output file: ./point_stat_wrf_-02-46-39L_19700101_000000V_fho.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-39L_19700101_000000V_ctc.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-39L_19700101_000000V_cts.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-39L_19700101_000000V_cnt.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-39L_19700101_000000V_mpr.txt







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

Subject: Problem with point stat tool
From: 柳媛普
Time: Sun May 03 21:49:31 2015





Dear all,

I received the following error message while running the point_stat
tool of met 5.0.
I am trying to use Point-Stat to compare the NetCDF output of PCP-
Combine to point observations generated using the ASCII2NC tool.

My configuration file set were:
fcst_field  = [ "APCP_03(*,*)" ];
obs_field   = [ "APCP/A3" ];

when configuration fiel set
fcst_field[]  = [ "APCP_03(*,*)" ];
obs_field[]   = [ "APCP/A3" ];
the error was
ERROR  : yyerror() -> syntax error in file
"./PointStatConfig_3hrpre.d02"
ERROR  :
ERROR  :    line   = 20
ERROR  :
ERROR  :    column = 11
ERROR  :
ERROR  :    text   = "["
ERROR  :
ERROR  :
ERROR  : fcst_field[] = [ "APCP_03(*,*)" ];
ERROR  : __________^_______________________
ERROR  :

Kindly advise.

Thanks in advance.

Yuanpu


DEBUG 1: Default Config File: /data1/home/liuyp/software/met-5.0/met-
install/share/met/config/PointStatConfig_default
DEBUG 1: User Config File: ./PointStatConfig_3hrpre.d02
GSL_RNG_TYPE=mt19937
GSL_RNG_SEED=1
DEBUG 1: Forecast File: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
DEBUG 1: Climatology File: none
DEBUG 1: Observation File: /data1/home/liuyp/software/met-
5.0/ascii2nc/output/SURF_obs_ascii_201504.nc
DEBUG 2:
DEBUG 2:
--------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for SPFHP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching SPFHP500
found in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2:
--------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for TMPP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching TMPP500
found in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2:
--------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for HGTP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching HGTP500
found in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2:
--------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for UGRDP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching UGRDP500
found in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2:
--------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Reading data for VGRDP500.
WARNING:
WARNING: process_fcst_climo_files() -> no fields matching VGRDP500
found in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/WRFPRS_APCP03_d02.03.nc
WARNING:
DEBUG 2:
DEBUG 2:
--------------------------------------------------------------------------------
DEBUG 2:
DEBUG 2: Searching 523850 observations from 39657 messages.
DEBUG 2:
DEBUG 2:
--------------------------------------------------------------------------------
DEBUG 2:
DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V.stat
DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_fho.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_ctc.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_cts.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_cnt.txt
DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_mpr.txt




------------------------------------------------
Subject: Problem with point stat tool
From: Julie Prestopnik
Time: Mon May 04 09:56:13 2015

I'm sorry to hear you're having problems running point_stat.  There
appears
to be a problem with the way your configuration file is set up.

I can try to help some with the information you provided.  You can
also
look at the default config file:

/data1/home/liuyp/software/met-5.0/met-
install/share/met/config/PointStatConfig_default

to see how it is set up.

Without seeing your configuration file, I can only refer to the fields
you
include in your email.  You mentioned that you have:

fcst_field[]  = [ "APCP_03(*,*)" ];
obs_field[]   = [ "APCP/A3" ];

This isn't the correct syntax for the point stat configuration.
Instead,
you want to have something like this with the wind_thresh and
cat_thresh
set however you'd like, but following this sort of format:

fcst = {
     wind_thresh  = [ NA ];

     field = [
        {
          name       = "APCP_03";
          level      = [ "(*,*)" ];
          cat_thresh = [ >=5.0, >=10.0, >=15.0, >=20.0, >=25.0, >=30.0
];
        }
     ];
};
obs = {
     wind_thresh  = [ NA ];
     message_type = ["ADPSFC"];

     field = [
        {
          name       = "APCP";
          level      = [ "A03" ];
          cat_thresh = [ >=5.0, >=10.0, >=15.0, >=20.0, >=25.0, >=30.0
];
        }
     ];
};


If setting the fields this way doesn't solve your problem, please let
me
know and please include your configuration files as well.

Thanks,
Julie

On Sun, May 3, 2015 at 9:33 PM, 柳媛普 via RT <met_help at ucar.edu> wrote:

>
> Sun May 03 21:33:42 2015: Request 71731 was acted upon.
> Transaction: Ticket created by lyp at lzb.ac.cn
>        Queue: met_help
>      Subject: Problem with point stat tool
>        Owner: Nobody
>   Requestors: lyp at lzb.ac.cn
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71731 >
>
>
> Dear all,
>
> I received the following error message while running the point_stat
tool
> of met 5.0.I am trying to use Point-Stat to compare the NetCDF
output of
> PCP-
> Combine to point observations generated using the ASCII2NC tool. My
> configuration file set were:fcst_field  = [ "APCP_03(*,*)" ];
> obs_field   = [ "APCP/A3" ];
>
> when configuration fiel set
> fcst_field[]  = [ "APCP_03(*,*)" ];
> obs_field[]   = [ "APCP/A3" ];
> the error was
> ERROR  : yyerror() -> syntax error in file
"./PointStatConfig_3hrpre.d02"
> ERROR  :
> ERROR  :    line   = 20
> ERROR  :
> ERROR  :    column = 11
> ERROR  :
> ERROR  :    text   = "["
> ERROR  :
> ERROR  :
> ERROR  : fcst_field[] = [ "APCP_03(*,*)" ];
> ERROR  : __________^_______________________
> ERROR  :
>
> Kindly advise.
>
> Thanks in advance.
>
> Yuanpu
>
>
> DEBUG 1: Default Config File:
> /data1/home/liuyp/software/met-5.0/met-
install/share/met/config/PointStatConfig_default
> DEBUG 1: User Config File: ./PointStatConfig_3hrpre.d02
> GSL_RNG_TYPE=mt19937
> GSL_RNG_SEED=1
> DEBUG 1: Forecast File:
> /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/
> WRFPRS_APCP03_d02.03.nc
> DEBUG 1: Climatology File: none
> DEBUG 1: Observation File:
> /data1/home/liuyp/software/met-
5.0/ascii2nc/output/SURF_obs_ascii_201504.nc
> DEBUG 2:
> DEBUG 2:
>
--------------------------------------------------------------------------------
> DEBUG 2:
> DEBUG 2: Reading data for SPFHP500.
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching SPFHP500
found
> in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> WRFPRS_APCP03_d02.03.nc
> WARNING:
> DEBUG 2:
> DEBUG 2:
>
--------------------------------------------------------------------------------
> DEBUG 2:
> DEBUG 2: Reading data for TMPP500.
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching TMPP500
found in
> file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> WRFPRS_APCP03_d02.03.nc
> WARNING:
> DEBUG 2:
> DEBUG 2:
>
--------------------------------------------------------------------------------
> DEBUG 2:
> DEBUG 2: Reading data for HGTP500.
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching HGTP500
found in
> file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> WRFPRS_APCP03_d02.03.nc
> WARNING:
> DEBUG 2:
> DEBUG 2:
>
--------------------------------------------------------------------------------
> DEBUG 2:
> DEBUG 2: Reading data for UGRDP500.
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching UGRDP500
found
> in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> WRFPRS_APCP03_d02.03.nc
> WARNING:
> DEBUG 2:
> DEBUG 2:
>
--------------------------------------------------------------------------------
> DEBUG 2:
> DEBUG 2: Reading data for VGRDP500.
> WARNING:
> WARNING: process_fcst_climo_files() -> no fields matching VGRDP500
found
> in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> WRFPRS_APCP03_d02.03.nc
> WARNING:
> DEBUG 2:
> DEBUG 2:
>
--------------------------------------------------------------------------------
> DEBUG 2:
> DEBUG 2: Searching 523850 observations from 39657 messages.
> DEBUG 2:
> DEBUG 2:
>
--------------------------------------------------------------------------------
> DEBUG 2:
> DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V.stat
> DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_fho.txt
> DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_ctc.txt
> DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_cts.txt
> DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_cnt.txt
> DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_mpr.txt
>
>
>
>
>
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Problem with point stat tool
From: 柳媛普
Time: Mon May 04 20:40:32 2015


Hi Julie

When I set the fcst and obs fields like the sort of format you
suggested . It comes the correct results.

Thank you for your reply and answers.

I appreciate .

Have a good day!

Yuanpu

> -----原始邮件-----
> 发件人: "Julie Prestopnik via RT" <met_help at ucar.edu>
> 发送时间: 2015年5月4日 星期一
> 收件人: lyp at lzb.ac.cn
> 抄送:
> 主题: Re: [rt.rap.ucar.edu #71731] Problem with point stat tool
>
> I'm sorry to hear you're having problems running point_stat.  There
appears
> to be a problem with the way your configuration file is set up.
>
> I can try to help some with the information you provided.  You can
also
> look at the default config file:
>
> /data1/home/liuyp/software/met-5.0/met-
install/share/met/config/PointStatConfig_default
>
> to see how it is set up.
>
> Without seeing your configuration file, I can only refer to the
fields you
> include in your email.  You mentioned that you have:
>
> fcst_field[]  = [ "APCP_03(*,*)" ];
> obs_field[]   = [ "APCP/A3" ];
>
> This isn't the correct syntax for the point stat configuration.
Instead,
> you want to have something like this with the wind_thresh and
cat_thresh
> set however you'd like, but following this sort of format:
>
> fcst = {
>      wind_thresh  = [ NA ];
>
>      field = [
>         {
>           name       = "APCP_03";
>           level      = [ "(*,*)" ];
>           cat_thresh = [ >=5.0, >=10.0, >=15.0, >=20.0, >=25.0,
>=30.0 ];
>         }
>      ];
> };
> obs = {
>      wind_thresh  = [ NA ];
>      message_type = ["ADPSFC"];
>
>      field = [
>         {
>           name       = "APCP";
>           level      = [ "A03" ];
>           cat_thresh = [ >=5.0, >=10.0, >=15.0, >=20.0, >=25.0,
>=30.0 ];
>         }
>      ];
> };
>
>
> If setting the fields this way doesn't solve your problem, please
let me
> know and please include your configuration files as well.
>
> Thanks,
> Julie
>
> On Sun, May 3, 2015 at 9:33 PM, 柳媛普 via RT <met_help at ucar.edu>
wrote:
>
> >
> > Sun May 03 21:33:42 2015: Request 71731 was acted upon.
> > Transaction: Ticket created by lyp at lzb.ac.cn
> >        Queue: met_help
> >      Subject: Problem with point stat tool
> >        Owner: Nobody
> >   Requestors: lyp at lzb.ac.cn
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71731 >
> >
> >
> > Dear all,
> >
> > I received the following error message while running the
point_stat tool
> > of met 5.0.I am trying to use Point-Stat to compare the NetCDF
output of
> > PCP-
> > Combine to point observations generated using the ASCII2NC tool.
My
> > configuration file set were:fcst_field  = [ "APCP_03(*,*)" ];
> > obs_field   = [ "APCP/A3" ];
> >
> > when configuration fiel set
> > fcst_field[]  = [ "APCP_03(*,*)" ];
> > obs_field[]   = [ "APCP/A3" ];
> > the error was
> > ERROR  : yyerror() -> syntax error in file
"./PointStatConfig_3hrpre.d02"
> > ERROR  :
> > ERROR  :    line   = 20
> > ERROR  :
> > ERROR  :    column = 11
> > ERROR  :
> > ERROR  :    text   = "["
> > ERROR  :
> > ERROR  :
> > ERROR  : fcst_field[] = [ "APCP_03(*,*)" ];
> > ERROR  : __________^_______________________
> > ERROR  :
> >
> > Kindly advise.
> >
> > Thanks in advance.
> >
> > Yuanpu
> >
> >
> > DEBUG 1: Default Config File:
> > /data1/home/liuyp/software/met-5.0/met-
install/share/met/config/PointStatConfig_default
> > DEBUG 1: User Config File: ./PointStatConfig_3hrpre.d02
> > GSL_RNG_TYPE=mt19937
> > GSL_RNG_SEED=1
> > DEBUG 1: Forecast File:
> > /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/
> > WRFPRS_APCP03_d02.03.nc
> > DEBUG 1: Climatology File: none
> > DEBUG 1: Observation File:
> > /data1/home/liuyp/software/met-
5.0/ascii2nc/output/SURF_obs_ascii_201504.nc
> > DEBUG 2:
> > DEBUG 2:
> >
--------------------------------------------------------------------------------
> > DEBUG 2:
> > DEBUG 2: Reading data for SPFHP500.
> > WARNING:
> > WARNING: process_fcst_climo_files() -> no fields matching SPFHP500
found
> > in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > WRFPRS_APCP03_d02.03.nc
> > WARNING:
> > DEBUG 2:
> > DEBUG 2:
> >
--------------------------------------------------------------------------------
> > DEBUG 2:
> > DEBUG 2: Reading data for TMPP500.
> > WARNING:
> > WARNING: process_fcst_climo_files() -> no fields matching TMPP500
found in
> > file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > WRFPRS_APCP03_d02.03.nc
> > WARNING:
> > DEBUG 2:
> > DEBUG 2:
> >
--------------------------------------------------------------------------------
> > DEBUG 2:
> > DEBUG 2: Reading data for HGTP500.
> > WARNING:
> > WARNING: process_fcst_climo_files() -> no fields matching HGTP500
found in
> > file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > WRFPRS_APCP03_d02.03.nc
> > WARNING:
> > DEBUG 2:
> > DEBUG 2:
> >
--------------------------------------------------------------------------------
> > DEBUG 2:
> > DEBUG 2: Reading data for UGRDP500.
> > WARNING:
> > WARNING: process_fcst_climo_files() -> no fields matching UGRDP500
found
> > in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > WRFPRS_APCP03_d02.03.nc
> > WARNING:
> > DEBUG 2:
> > DEBUG 2:
> >
--------------------------------------------------------------------------------
> > DEBUG 2:
> > DEBUG 2: Reading data for VGRDP500.
> > WARNING:
> > WARNING: process_fcst_climo_files() -> no fields matching VGRDP500
found
> > in file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > WRFPRS_APCP03_d02.03.nc
> > WARNING:
> > DEBUG 2:
> > DEBUG 2:
> >
--------------------------------------------------------------------------------
> > DEBUG 2:
> > DEBUG 2: Searching 523850 observations from 39657 messages.
> > DEBUG 2:
> > DEBUG 2:
> >
--------------------------------------------------------------------------------
> > DEBUG 2:
> > DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V.stat
> > DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_fho.txt
> > DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_ctc.txt
> > DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_cts.txt
> > DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_cnt.txt
> > DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V_mpr.txt
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>




------------------------------------------------
Subject: Problem with point stat tool
From: Julie Prestopnik
Time: Tue May 05 09:37:08 2015

Great!  I'm so glad to hear it is working for you now.

I hope you'll have a good day too!

Julie

On Mon, May 4, 2015 at 8:40 PM, 柳媛普 via RT <met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71731 >
>
>
> Hi Julie
>
> When I set the fcst and obs fields like the sort of format you
suggested .
> It comes the correct results.
>
> Thank you for your reply and answers.
>
> I appreciate .
>
> Have a good day!
>
> Yuanpu
>
> > -----原始邮件-----
> > 发件人: "Julie Prestopnik via RT" <met_help at ucar.edu>
> > 发送时间: 2015年5月4日 星期一
> > 收件人: lyp at lzb.ac.cn
> > 抄送:
> > 主题: Re: [rt.rap.ucar.edu #71731] Problem with point stat tool
> >
> > I'm sorry to hear you're having problems running point_stat.
There
> appears
> > to be a problem with the way your configuration file is set up.
> >
> > I can try to help some with the information you provided.  You can
also
> > look at the default config file:
> >
> >
> /data1/home/liuyp/software/met-5.0/met-
install/share/met/config/PointStatConfig_default
> >
> > to see how it is set up.
> >
> > Without seeing your configuration file, I can only refer to the
fields
> you
> > include in your email.  You mentioned that you have:
> >
> > fcst_field[]  = [ "APCP_03(*,*)" ];
> > obs_field[]   = [ "APCP/A3" ];
> >
> > This isn't the correct syntax for the point stat configuration.
Instead,
> > you want to have something like this with the wind_thresh and
cat_thresh
> > set however you'd like, but following this sort of format:
> >
> > fcst = {
> >      wind_thresh  = [ NA ];
> >
> >      field = [
> >         {
> >           name       = "APCP_03";
> >           level      = [ "(*,*)" ];
> >           cat_thresh = [ >=5.0, >=10.0, >=15.0, >=20.0, >=25.0,
>=30.0 ];
> >         }
> >      ];
> > };
> > obs = {
> >      wind_thresh  = [ NA ];
> >      message_type = ["ADPSFC"];
> >
> >      field = [
> >         {
> >           name       = "APCP";
> >           level      = [ "A03" ];
> >           cat_thresh = [ >=5.0, >=10.0, >=15.0, >=20.0, >=25.0,
>=30.0 ];
> >         }
> >      ];
> > };
> >
> >
> > If setting the fields this way doesn't solve your problem, please
let me
> > know and please include your configuration files as well.
> >
> > Thanks,
> > Julie
> >
> > On Sun, May 3, 2015 at 9:33 PM, 柳媛普 via RT <met_help at ucar.edu>
wrote:
> >
> > >
> > > Sun May 03 21:33:42 2015: Request 71731 was acted upon.
> > > Transaction: Ticket created by lyp at lzb.ac.cn
> > >        Queue: met_help
> > >      Subject: Problem with point stat tool
> > >        Owner: Nobody
> > >   Requestors: lyp at lzb.ac.cn
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71731
> >
> > >
> > >
> > > Dear all,
> > >
> > > I received the following error message while running the
point_stat
> tool
> > > of met 5.0.I am trying to use Point-Stat to compare the NetCDF
output
> of
> > > PCP-
> > > Combine to point observations generated using the ASCII2NC tool.
My
> > > configuration file set were:fcst_field  = [ "APCP_03(*,*)" ];
> > > obs_field   = [ "APCP/A3" ];
> > >
> > > when configuration fiel set
> > > fcst_field[]  = [ "APCP_03(*,*)" ];
> > > obs_field[]   = [ "APCP/A3" ];
> > > the error was
> > > ERROR  : yyerror() -> syntax error in file
> "./PointStatConfig_3hrpre.d02"
> > > ERROR  :
> > > ERROR  :    line   = 20
> > > ERROR  :
> > > ERROR  :    column = 11
> > > ERROR  :
> > > ERROR  :    text   = "["
> > > ERROR  :
> > > ERROR  :
> > > ERROR  : fcst_field[] = [ "APCP_03(*,*)" ];
> > > ERROR  : __________^_______________________
> > > ERROR  :
> > >
> > > Kindly advise.
> > >
> > > Thanks in advance.
> > >
> > > Yuanpu
> > >
> > >
> > > DEBUG 1: Default Config File:
> > >
> /data1/home/liuyp/software/met-5.0/met-
install/share/met/config/PointStatConfig_default
> > > DEBUG 1: User Config File: ./PointStatConfig_3hrpre.d02
> > > GSL_RNG_TYPE=mt19937
> > > GSL_RNG_SEED=1
> > > DEBUG 1: Forecast File:
> > > /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > > WRFPRS_APCP03_d02.03.nc
> > > DEBUG 1: Climatology File: none
> > > DEBUG 1: Observation File:
> > >
> /data1/home/liuyp/software/met-
5.0/ascii2nc/output/SURF_obs_ascii_201504.nc
> > > DEBUG 2:
> > > DEBUG 2:
> > >
>
--------------------------------------------------------------------------------
> > > DEBUG 2:
> > > DEBUG 2: Reading data for SPFHP500.
> > > WARNING:
> > > WARNING: process_fcst_climo_files() -> no fields matching
SPFHP500
> found
> > > in file:
> /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/
> > > WRFPRS_APCP03_d02.03.nc
> > > WARNING:
> > > DEBUG 2:
> > > DEBUG 2:
> > >
>
--------------------------------------------------------------------------------
> > > DEBUG 2:
> > > DEBUG 2: Reading data for TMPP500.
> > > WARNING:
> > > WARNING: process_fcst_climo_files() -> no fields matching
TMPP500
> found in
> > > file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > > WRFPRS_APCP03_d02.03.nc
> > > WARNING:
> > > DEBUG 2:
> > > DEBUG 2:
> > >
>
--------------------------------------------------------------------------------
> > > DEBUG 2:
> > > DEBUG 2: Reading data for HGTP500.
> > > WARNING:
> > > WARNING: process_fcst_climo_files() -> no fields matching
HGTP500
> found in
> > > file: /data1/home/liuyp/software/met-
5.0/pcp_combine/output/2015040500/
> > > WRFPRS_APCP03_d02.03.nc
> > > WARNING:
> > > DEBUG 2:
> > > DEBUG 2:
> > >
>
--------------------------------------------------------------------------------
> > > DEBUG 2:
> > > DEBUG 2: Reading data for UGRDP500.
> > > WARNING:
> > > WARNING: process_fcst_climo_files() -> no fields matching
UGRDP500
> found
> > > in file:
> /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/
> > > WRFPRS_APCP03_d02.03.nc
> > > WARNING:
> > > DEBUG 2:
> > > DEBUG 2:
> > >
>
--------------------------------------------------------------------------------
> > > DEBUG 2:
> > > DEBUG 2: Reading data for VGRDP500.
> > > WARNING:
> > > WARNING: process_fcst_climo_files() -> no fields matching
VGRDP500
> found
> > > in file:
> /data1/home/liuyp/software/met-5.0/pcp_combine/output/2015040500/
> > > WRFPRS_APCP03_d02.03.nc
> > > WARNING:
> > > DEBUG 2:
> > > DEBUG 2:
> > >
>
--------------------------------------------------------------------------------
> > > DEBUG 2:
> > > DEBUG 2: Searching 523850 observations from 39657 messages.
> > > DEBUG 2:
> > > DEBUG 2:
> > >
>
--------------------------------------------------------------------------------
> > > DEBUG 2:
> > > DEBUG 1: Output file: ./point_stat_wrf_-02-46-
39L_19700101_000000V.stat
> > > DEBUG 1: Output file:
> ./point_stat_wrf_-02-46-39L_19700101_000000V_fho.txt
> > > DEBUG 1: Output file:
> ./point_stat_wrf_-02-46-39L_19700101_000000V_ctc.txt
> > > DEBUG 1: Output file:
> ./point_stat_wrf_-02-46-39L_19700101_000000V_cts.txt
> > > DEBUG 1: Output file:
> ./point_stat_wrf_-02-46-39L_19700101_000000V_cnt.txt
> > > DEBUG 1: Output file:
> ./point_stat_wrf_-02-46-39L_19700101_000000V_mpr.txt
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>
>
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Problem with point stat tool
From: 柳媛普
Time: Tue Jun 02 19:08:57 2015



Hello met_help members,

I have some questions about mode output plots. First, what graph
software was used to plot the PostScript plots ? Second, which
directory was the plot scripts in, and what is it names. Because I
want to add China's province boundaries on the plots . The plots which
I had just had national boundaries now.

Kindly advise.

Thanks in advance.
Yuanpu




------------------------------------------------
Subject: Problem with point stat tool
From: Randy Bullock
Time: Wed Jun 03 11:12:00 2015

Hello Yuanpu -

Thanks for emailing met_help.

To answer your questions, the graphing software used to produce the
plots
is included in the MET package.  It's in the src/libcode/vx_ps
directory.
No external plotting programs or scripts are used.

The map data we use is in the data/map directory (and its
subdirectories).
If you could reformat your map data to be the same as those data
files, and
then edit the ConfigMapData file (in data/config) to use your new
files,
then you should be able to get China's provinces to show up on the
maps
that MET produces.

Let me know if you have any other questions or need any further help.

Randy

On Tue, Jun 2, 2015 at 7:08 PM, 柳媛普 via RT <met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71731 >
>
>
>
> Hello met_help members,
>
> I have some questions about mode output plots. First, what graph
software
> was used to plot the PostScript plots ? Second, which directory was
the
> plot scripts in, and what is it names. Because I want to add China's
> province boundaries on the plots . The plots which I had just had
national
> boundaries now.
>
> Kindly advise.
>
> Thanks in advance.
> Yuanpu
>
>
>
>
>

------------------------------------------------
Subject: Problem with point stat tool
From: 柳媛普
Time: Thu Jun 04 02:11:07 2015

Hello Randy

Thanks for your reply.

I changed ConfigMapData (in data/config) file like below,but it also
has no China's provinces boundares. If it was necessary to recompile
the MET after change the ConfigMapData file. It also no changes in
plots when I change the line_width.

////////////////////////////////////////////////////////////////////////////////
//
// Default map data plotting information.
//
////////////////////////////////////////////////////////////////////////////////

map_data = {

   line_color = [ 25, 25, 25 ]; // rgb triple values, 0-255
   line_width = 0.5;
   line_dash  = "";

   source = [
      {
        file_name = "MET_BASE/map/legacy/world_data";
      },
      {
        file_name = "MET_BASE/map/legacy/country_data";
      },
      {
        file_name = "/data1/home/liuyp/local/met-
5.0/data/map/update_2012/admin_by_country/admin_China_data";
      }

   ];
};

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






------------------------------------------------
Subject: Problem with point stat tool
From: Randy Bullock
Time: Thu Jun 04 14:13:18 2015

Hello again, Yuanpu -

Which MET tool are you using?  Is it MODE, or is it one of the other
tools?

Randy

On Thu, Jun 4, 2015 at 2:11 AM, 柳媛普 via RT <met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71731 >
>
> Hello Randy
>
> Thanks for your reply.
>
> I changed ConfigMapData (in data/config) file like below,but it also
has
> no China's provinces boundares. If it was necessary to recompile the
MET
> after change the ConfigMapData file. It also no changes in plots
when I
> change the line_width.
>
>
>
////////////////////////////////////////////////////////////////////////////////
> //
> // Default map data plotting information.
> //
>
>
////////////////////////////////////////////////////////////////////////////////
>
> map_data = {
>
>    line_color = [ 25, 25, 25 ]; // rgb triple values, 0-255
>    line_width = 0.5;
>    line_dash  = "";
>
>    source = [
>       {
>         file_name = "MET_BASE/map/legacy/world_data";
>       },
>       {
>         file_name = "MET_BASE/map/legacy/country_data";
>       },
>       {
>         file_name =
> "/data1/home/liuyp/local/met-
5.0/data/map/update_2012/admin_by_country/admin_China_data";
>       }
>
>    ];
> };
>
>
////////////////////////////////////////////////////////////////////////
>
>
>
>
>
>
>

------------------------------------------------
Subject: Problem with point stat tool
From: 柳媛普
Time: Thu Jun 04 18:52:12 2015

Hello Randy

I have solved the  problems when  recompiled the MET(v5.0). By the
way, I used MODE tool.

Thanks for your reply.

I appreciate it .

Have a good day.

Yuanpu


> -----原始邮件-----
> 发件人: "Randy Bullock via RT" <met_help at ucar.edu>
> 发送时间: 2015年6月5日 星期五
> 收件人: lyp at lzb.ac.cn
> 抄送:
> 主题: Re: Re: [rt.rap.ucar.edu #71731] About mode PostScript plots
>
> Hello again, Yuanpu -
>
> Which MET tool are you using?  Is it MODE, or is it one of the other
tools?
>
> Randy
>
> On Thu, Jun 4, 2015 at 2:11 AM, 柳媛普 via RT <met_help at ucar.edu>
wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71731 >
> >
> > Hello Randy
> >
> > Thanks for your reply.
> >
> > I changed ConfigMapData (in data/config) file like below,but it
also has
> > no China's provinces boundares. If it was necessary to recompile
the MET
> > after change the ConfigMapData file. It also no changes in plots
when I
> > change the line_width.
> >
> >
> >
////////////////////////////////////////////////////////////////////////////////
> > //
> > // Default map data plotting information.
> > //
> >
> >
////////////////////////////////////////////////////////////////////////////////
> >
> > map_data = {
> >
> >    line_color = [ 25, 25, 25 ]; // rgb triple values, 0-255
> >    line_width = 0.5;
> >    line_dash  = "";
> >
> >    source = [
> >       {
> >         file_name = "MET_BASE/map/legacy/world_data";
> >       },
> >       {
> >         file_name = "MET_BASE/map/legacy/country_data";
> >       },
> >       {
> >         file_name =
> > "/data1/home/liuyp/local/met-
5.0/data/map/update_2012/admin_by_country/admin_China_data";
> >       }
> >
> >    ];
> > };
> >
> >
////////////////////////////////////////////////////////////////////////
> >
> >
> >
> >
> >
> >
> >
>




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


More information about the Met_help mailing list