[Met_help] [rt.rap.ucar.edu #68618] History for support requesting

John Halley Gotway via RT met_help at ucar.edu
Fri Oct 3 12:27:14 MDT 2014


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

Hi!
I am having some problem, with MET tutorial, on pb2nc. When I run the
tutorial I am having a segmentation fault ( even with unlimited
stacksize/etc..). The test_all.sh script did not give me any error.
Also, when I try to run the point-stat tools with





*bin/point_stat \
data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc> \
tutorial/config/PointStatConfig_tutorial \ -outdir tutorial/out/point_stat
\ -v 2*
I get the folowing sintax error :
DEBUG 1: User Config File: tutorial/config/PointStatConfig_tutorial
ERROR  :
ERROR  : yyerror() -> syntax error in file
"tutorial/config/PointStatConfig_tutorial"
ERROR  :
ERROR  :    line   = 78
ERROR  :
ERROR  :    column = 16
ERROR  :
ERROR  :    text   = "mt19937"
ERROR  :
ERROR  :
ERROR  :    rng      = "mt19937";

  Can someone help me solve the problem
best regards
yyamasaki


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

Subject: support requesting
From: John Halley Gotway
Time: Tue Aug 12 12:06:15 2014

Sure, happy to help.  I suspect there's some minor typo in this file:
   tutorial/config/PointStatConfig_tutorial

Can you please send me that file, and I'll take a look?

Thanks,
John Halley Gotway
met_help at ucar.edu


On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via RT <
met_help at ucar.edu> wrote:

>
> Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
> Transaction: Ticket created by yamasaki07722 at gmail.com
>        Queue: met_help
>      Subject: support requesting
>        Owner: Nobody
>   Requestors: yamasaki07722 at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>
>
> Hi!
> I am having some problem, with MET tutorial, on pb2nc. When I run
the
> tutorial I am having a segmentation fault ( even with unlimited
> stacksize/etc..). The test_all.sh script did not give me any error.
> Also, when I try to run the point-stat tools with
>
>
>
>
>
> *bin/point_stat \
> data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc> \
> tutorial/config/PointStatConfig_tutorial \ -outdir
tutorial/out/point_stat
> \ -v 2*
> I get the folowing sintax error :
> DEBUG 1: User Config File: tutorial/config/PointStatConfig_tutorial
> ERROR  :
> ERROR  : yyerror() -> syntax error in file
> "tutorial/config/PointStatConfig_tutorial"
> ERROR  :
> ERROR  :    line   = 78
> ERROR  :
> ERROR  :    column = 16
> ERROR  :
> ERROR  :    text   = "mt19937"
> ERROR  :
> ERROR  :
> ERROR  :    rng      = "mt19937";
>
>   Can someone help me solve the problem
> best regards
> yyamasaki
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Wed Aug 13 07:57:14 2014

Hi John,
Here is the PointStatConfig_tutorial :

Best regards,
yyamasaki


////////////////////////////////////////////////////////////////////////////////
//
// Point-Stat configuration file.
//
// For additional information, see the MET_BASE/data/config/README
file.
//
////////////////////////////////////////////////////////////////////////////////

//
// Output model name to be written
//
model = "WRF";

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

//
// Forecast and observation fields to be verified
//
fcst = [
     {
       name       = "TMP";
       level      = "Z2";
       cat_thresh = [ >278, >283, >288 ];
     },

     {
       name  = "TMP";
       level = "P750-850";
       cat_thresh = [ >278 ];
     },

     {
       name  = "UGRD";
       level = "Z10";
       cat_thresh = [ >=5.0 ];
     },

     {
       name  = "VGRD";
       level = "Z10";
       cat_thresh = [ >=5.0 ];
     }
   ];
obs = fcst;

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

//
// Point observation time window
//
obs_window = {
   beg = -5400;
   end =  5400;
}

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

//
// Verification masking regions
//
mask = {
   grid = [ "G212" ];
   poly = ["MET_BASE/data/poly/EAST.poly",
"MET_BASE/data/poly/WEST.poly];
   sid  = [];
};

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

//
// Confidence interval settings
//
ci_alpha  = [ 0.05 ];

boot = {
   interval = PCTILE;
   rep_prop = 1.0;
   n_rep    = 1000;
   rng      = "mt19937";
   seed     = "";
};

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

//
// Interpolation methods
//
interp = {
   vld_thresh = 1.0;

   type = [
      {
         method = UW_MEAN;
         width  = 1;
      }
{
       method = UW_MEAN;
       width  = 5;
     }
   ];
};

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

//
// Statistical output types
//
output_flag = {
   fho    = NONE;
   ctc    = BOTH;
   cts    = BOTH;
   mctc   = BOTH;
   mcts   = BOTH;
   cnt    = BOTH;
   sl1l2  = BOTH;
   sal1l2 = NONE;
   vl1l2  = NONE;
   val1l2 = NONE;
   pct    = NONE;
   pstd   = NONE;
   pjc    = NONE;
   prc    = NONE;
   mpr    = NONE;
};

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

obs_quality    = [];
duplicate_flag = NONE;
rank_corr_flag = TRUE;
tmp_dir        = "/tmp";
output_prefix  = "";
version        = "V4.1";

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


On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Sure, happy to help.  I suspect there's some minor typo in this
file:
>    tutorial/config/PointStatConfig_tutorial
>
> Can you please send me that file, and I'll take a look?
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
>
> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
> > Transaction: Ticket created by yamasaki07722 at gmail.com
> >        Queue: met_help
> >      Subject: support requesting
> >        Owner: Nobody
> >   Requestors: yamasaki07722 at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> >
> >
> > Hi!
> > I am having some problem, with MET tutorial, on pb2nc. When I run
the
> > tutorial I am having a segmentation fault ( even with unlimited
> > stacksize/etc..). The test_all.sh script did not give me any
error.
> > Also, when I try to run the point-stat tools with
> >
> >
> >
> >
> >
> > *bin/point_stat \
> > data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> > tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc> \
> > tutorial/config/PointStatConfig_tutorial \ -outdir
> tutorial/out/point_stat
> > \ -v 2*
> > I get the folowing sintax error :
> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
> > ERROR  :
> > ERROR  : yyerror() -> syntax error in file
> > "tutorial/config/PointStatConfig_tutorial"
> > ERROR  :
> > ERROR  :    line   = 78
> > ERROR  :
> > ERROR  :    column = 16
> > ERROR  :
> > ERROR  :    text   = "mt19937"
> > ERROR  :
> > ERROR  :
> > ERROR  :    rng      = "mt19937";
> >
> >   Can someone help me solve the problem
> > best regards
> > yyamasaki
> >
> >
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Wed Aug 13 08:38:09 2014

Dear John,

I figured out that when I do not include  "ADPSFC"  on

 message_type = [ "ADPUPA" "ADPSFC"];

the PointStatConfig_tutorial run with no problem.

But when I include it I get an error:


DEBUG 1: Default Config File:
/home/modelos/teste/METv4.1/data/config/PointStatConfig_default
DEBUG 1: User Config File: tutorial/config/PointStatConfig_tutorial
ERROR  :
ERROR  : yyerror() -> syntax error in file
"tutorial/config/PointStatConfig_tutorial"
ERROR  :
ERROR  :    line   = 21
ERROR  :
ERROR  :    column = 35
ERROR  :
ERROR  :    text   = """
ERROR  :
ERROR  :
ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
ERROR  : __________________________________^____


Is this because of the segmentation fault problem I am having with
bp2nc ?

Please ... do you have any suggestion about segmentation fault in the
bp2nc
?

best regards,
yyamasaki






On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
yamasaki07722 at gmail.com> wrote:

> Hi John,
> Here is the PointStatConfig_tutorial :
>
> Best regards,
> yyamasaki
>
>
>
>
////////////////////////////////////////////////////////////////////////////////
> //
> // Point-Stat configuration file.
> //
> // For additional information, see the MET_BASE/data/config/README
file.
> //
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Output model name to be written
> //
> model = "WRF";
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Forecast and observation fields to be verified
> //
> fcst = [
>      {
>        name       = "TMP";
>        level      = "Z2";
>        cat_thresh = [ >278, >283, >288 ];
>      },
>
>      {
>        name  = "TMP";
>        level = "P750-850";
>        cat_thresh = [ >278 ];
>      },
>
>      {
>        name  = "UGRD";
>        level = "Z10";
>        cat_thresh = [ >=5.0 ];
>      },
>
>      {
>        name  = "VGRD";
>        level = "Z10";
>        cat_thresh = [ >=5.0 ];
>      }
>    ];
> obs = fcst;
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Point observation time window
> //
> obs_window = {
>    beg = -5400;
>    end =  5400;
> }
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Verification masking regions
> //
> mask = {
>    grid = [ "G212" ];
>    poly = ["MET_BASE/data/poly/EAST.poly",
"MET_BASE/data/poly/WEST.poly];
>    sid  = [];
> };
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Confidence interval settings
> //
> ci_alpha  = [ 0.05 ];
>
> boot = {
>    interval = PCTILE;
>    rep_prop = 1.0;
>    n_rep    = 1000;
>    rng      = "mt19937";
>    seed     = "";
> };
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Interpolation methods
> //
> interp = {
>    vld_thresh = 1.0;
>
>    type = [
>       {
>          method = UW_MEAN;
>          width  = 1;
>       }
> {
>        method = UW_MEAN;
>        width  = 5;
>      }
>    ];
> };
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Statistical output types
> //
> output_flag = {
>    fho    = NONE;
>    ctc    = BOTH;
>    cts    = BOTH;
>    mctc   = BOTH;
>    mcts   = BOTH;
>    cnt    = BOTH;
>    sl1l2  = BOTH;
>    sal1l2 = NONE;
>    vl1l2  = NONE;
>    val1l2 = NONE;
>    pct    = NONE;
>    pstd   = NONE;
>    pjc    = NONE;
>    prc    = NONE;
>    mpr    = NONE;
> };
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> obs_quality    = [];
> duplicate_flag = NONE;
> rank_corr_flag = TRUE;
> tmp_dir        = "/tmp";
> output_prefix  = "";
> version        = "V4.1";
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
>
> On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Sure, happy to help.  I suspect there's some minor typo in this
file:
>>    tutorial/config/PointStatConfig_tutorial
>>
>> Can you please send me that file, and I'll take a look?
>>
>> Thanks,
>> John Halley Gotway
>> met_help at ucar.edu
>>
>>
>> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via RT <
>> met_help at ucar.edu> wrote:
>>
>> >
>> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
>> > Transaction: Ticket created by yamasaki07722 at gmail.com
>> >        Queue: met_help
>> >      Subject: support requesting
>> >        Owner: Nobody
>> >   Requestors: yamasaki07722 at gmail.com
>> >       Status: new
>> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>> >
>> >
>> > Hi!
>> > I am having some problem, with MET tutorial, on pb2nc. When I run
the
>> > tutorial I am having a segmentation fault ( even with unlimited
>> > stacksize/etc..). The test_all.sh script did not give me any
error.
>> > Also, when I try to run the point-stat tools with
>> >
>> >
>> >
>> >
>> >
>> > *bin/point_stat \
>> > data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
>> > tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc> \
>> > tutorial/config/PointStatConfig_tutorial \ -outdir
>> tutorial/out/point_stat
>> > \ -v 2*
>> > I get the folowing sintax error :
>> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
>> > ERROR  :
>> > ERROR  : yyerror() -> syntax error in file
>> > "tutorial/config/PointStatConfig_tutorial"
>> > ERROR  :
>> > ERROR  :    line   = 78
>> > ERROR  :
>> > ERROR  :    column = 16
>> > ERROR  :
>> > ERROR  :    text   = "mt19937"
>> > ERROR  :
>> > ERROR  :
>> > ERROR  :    rng      = "mt19937";
>> >
>> >   Can someone help me solve the problem
>> > best regards
>> > yyamasaki
>> >
>> >
>>
>>
>

------------------------------------------------
Subject: support requesting
From: John Halley Gotway
Time: Wed Aug 13 10:11:57 2014

Yyamasaki,

The problem is that the "message_type" setting is an array of values
that
should be separated by commas.  Try separating multiple values with
commas,
like this:
   message_type = [ "ADPUPA", "ADPSFC"];

That should fix the parsing error.

Thanks,
John


On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>
> Dear John,
>
> I figured out that when I do not include  "ADPSFC"  on
>
>  message_type = [ "ADPUPA" "ADPSFC"];
>
> the PointStatConfig_tutorial run with no problem.
>
> But when I include it I get an error:
>
>
> DEBUG 1: Default Config File:
> /home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> DEBUG 1: User Config File: tutorial/config/PointStatConfig_tutorial
> ERROR  :
> ERROR  : yyerror() -> syntax error in file
> "tutorial/config/PointStatConfig_tutorial"
> ERROR  :
> ERROR  :    line   = 21
> ERROR  :
> ERROR  :    column = 35
> ERROR  :
> ERROR  :    text   = """
> ERROR  :
> ERROR  :
> ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> ERROR  : __________________________________^____
>
>
> Is this because of the segmentation fault problem I am having with
bp2nc ?
>
> Please ... do you have any suggestion about segmentation fault in
the bp2nc
> ?
>
> best regards,
> yyamasaki
>
>
>
>
>
>
> On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
> yamasaki07722 at gmail.com> wrote:
>
> > Hi John,
> > Here is the PointStatConfig_tutorial :
> >
> > Best regards,
> > yyamasaki
> >
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > //
> > // Point-Stat configuration file.
> > //
> > // For additional information, see the MET_BASE/data/config/README
file.
> > //
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Output model name to be written
> > //
> > model = "WRF";
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Forecast and observation fields to be verified
> > //
> > fcst = [
> >      {
> >        name       = "TMP";
> >        level      = "Z2";
> >        cat_thresh = [ >278, >283, >288 ];
> >      },
> >
> >      {
> >        name  = "TMP";
> >        level = "P750-850";
> >        cat_thresh = [ >278 ];
> >      },
> >
> >      {
> >        name  = "UGRD";
> >        level = "Z10";
> >        cat_thresh = [ >=5.0 ];
> >      },
> >
> >      {
> >        name  = "VGRD";
> >        level = "Z10";
> >        cat_thresh = [ >=5.0 ];
> >      }
> >    ];
> > obs = fcst;
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Point observation time window
> > //
> > obs_window = {
> >    beg = -5400;
> >    end =  5400;
> > }
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Verification masking regions
> > //
> > mask = {
> >    grid = [ "G212" ];
> >    poly = ["MET_BASE/data/poly/EAST.poly",
> "MET_BASE/data/poly/WEST.poly];
> >    sid  = [];
> > };
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Confidence interval settings
> > //
> > ci_alpha  = [ 0.05 ];
> >
> > boot = {
> >    interval = PCTILE;
> >    rep_prop = 1.0;
> >    n_rep    = 1000;
> >    rng      = "mt19937";
> >    seed     = "";
> > };
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Interpolation methods
> > //
> > interp = {
> >    vld_thresh = 1.0;
> >
> >    type = [
> >       {
> >          method = UW_MEAN;
> >          width  = 1;
> >       }
> > {
> >        method = UW_MEAN;
> >        width  = 5;
> >      }
> >    ];
> > };
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Statistical output types
> > //
> > output_flag = {
> >    fho    = NONE;
> >    ctc    = BOTH;
> >    cts    = BOTH;
> >    mctc   = BOTH;
> >    mcts   = BOTH;
> >    cnt    = BOTH;
> >    sl1l2  = BOTH;
> >    sal1l2 = NONE;
> >    vl1l2  = NONE;
> >    val1l2 = NONE;
> >    pct    = NONE;
> >    pstd   = NONE;
> >    pjc    = NONE;
> >    prc    = NONE;
> >    mpr    = NONE;
> > };
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > obs_quality    = [];
> > duplicate_flag = NONE;
> > rank_corr_flag = TRUE;
> > tmp_dir        = "/tmp";
> > output_prefix  = "";
> > version        = "V4.1";
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> >
> > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Sure, happy to help.  I suspect there's some minor typo in this
file:
> >>    tutorial/config/PointStatConfig_tutorial
> >>
> >> Can you please send me that file, and I'll take a look?
> >>
> >> Thanks,
> >> John Halley Gotway
> >> met_help at ucar.edu
> >>
> >>
> >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >> >
> >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
> >> > Transaction: Ticket created by yamasaki07722 at gmail.com
> >> >        Queue: met_help
> >> >      Subject: support requesting
> >> >        Owner: Nobody
> >> >   Requestors: yamasaki07722 at gmail.com
> >> >       Status: new
> >> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> >
> >> >
> >> >
> >> > Hi!
> >> > I am having some problem, with MET tutorial, on pb2nc. When I
run the
> >> > tutorial I am having a segmentation fault ( even with unlimited
> >> > stacksize/etc..). The test_all.sh script did not give me any
error.
> >> > Also, when I try to run the point-stat tools with
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > *bin/point_stat \
> >> > data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb
\
> >> > tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc> \
> >> > tutorial/config/PointStatConfig_tutorial \ -outdir
> >> tutorial/out/point_stat
> >> > \ -v 2*
> >> > I get the folowing sintax error :
> >> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
> >> > ERROR  :
> >> > ERROR  : yyerror() -> syntax error in file
> >> > "tutorial/config/PointStatConfig_tutorial"
> >> > ERROR  :
> >> > ERROR  :    line   = 78
> >> > ERROR  :
> >> > ERROR  :    column = 16
> >> > ERROR  :
> >> > ERROR  :    text   = "mt19937"
> >> > ERROR  :
> >> > ERROR  :
> >> > ERROR  :    rng      = "mt19937";
> >> >
> >> >   Can someone help me solve the problem
> >> > best regards
> >> > yyamasaki
> >> >
> >> >
> >>
> >>
> >
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Wed Aug 13 11:12:51 2014

Dear John,
I am sorry for that mistake on PointStatConfig_tutorial.
Now, let me see if you could help me with pb2nc (segmentation fault):

 bin/pb2nc
data/sample_obs/prepbufr/ndas.t00z.prepbufr.tm12.20070401.nr
tutorial/out/pb2nc/tutorial_pb.nc tutorial/config/PB2NCConfig_tutorial
-v 2


DEBUG 1: Default Config File:
/home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
DEBUG 1: User Config File: tutorial/config/PB2NCConfig_tutorial
DEBUG 1: Creating NetCDF File:
tutorial/out/pb2nc/tutorial_pb.nc
DEBUG 1: Processing PrepBufr File:    data/sample_obs/prepbufr/
ndas.t00z.prepbufr.tm12.20070401.nr
DEBUG 1: Blocking PrepBufr file to:    /tmp/tmp_pb2nc_blk_32232_0
Segmentation fault (core dumped)

best regards,
yyamasaki



On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Yyamasaki,
>
> The problem is that the "message_type" setting is an array of values
that
> should be separated by commas.  Try separating multiple values with
commas,
> like this:
>    message_type = [ "ADPUPA", "ADPSFC"];
>
> That should fix the parsing error.
>
> Thanks,
> John
>
>
> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> >
> > Dear John,
> >
> > I figured out that when I do not include  "ADPSFC"  on
> >
> >  message_type = [ "ADPUPA" "ADPSFC"];
> >
> > the PointStatConfig_tutorial run with no problem.
> >
> > But when I include it I get an error:
> >
> >
> > DEBUG 1: Default Config File:
> > /home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
> > ERROR  :
> > ERROR  : yyerror() -> syntax error in file
> > "tutorial/config/PointStatConfig_tutorial"
> > ERROR  :
> > ERROR  :    line   = 21
> > ERROR  :
> > ERROR  :    column = 35
> > ERROR  :
> > ERROR  :    text   = """
> > ERROR  :
> > ERROR  :
> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> > ERROR  : __________________________________^____
> >
> >
> > Is this because of the segmentation fault problem I am having with
bp2nc
> ?
> >
> > Please ... do you have any suggestion about segmentation fault in
the
> bp2nc
> > ?
> >
> > best regards,
> > yyamasaki
> >
> >
> >
> >
> >
> >
> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
> > yamasaki07722 at gmail.com> wrote:
> >
> > > Hi John,
> > > Here is the PointStatConfig_tutorial :
> > >
> > > Best regards,
> > > yyamasaki
> > >
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > //
> > > // Point-Stat configuration file.
> > > //
> > > // For additional information, see the
MET_BASE/data/config/README
> file.
> > > //
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Output model name to be written
> > > //
> > > model = "WRF";
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Forecast and observation fields to be verified
> > > //
> > > fcst = [
> > >      {
> > >        name       = "TMP";
> > >        level      = "Z2";
> > >        cat_thresh = [ >278, >283, >288 ];
> > >      },
> > >
> > >      {
> > >        name  = "TMP";
> > >        level = "P750-850";
> > >        cat_thresh = [ >278 ];
> > >      },
> > >
> > >      {
> > >        name  = "UGRD";
> > >        level = "Z10";
> > >        cat_thresh = [ >=5.0 ];
> > >      },
> > >
> > >      {
> > >        name  = "VGRD";
> > >        level = "Z10";
> > >        cat_thresh = [ >=5.0 ];
> > >      }
> > >    ];
> > > obs = fcst;
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Point observation time window
> > > //
> > > obs_window = {
> > >    beg = -5400;
> > >    end =  5400;
> > > }
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Verification masking regions
> > > //
> > > mask = {
> > >    grid = [ "G212" ];
> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> > "MET_BASE/data/poly/WEST.poly];
> > >    sid  = [];
> > > };
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Confidence interval settings
> > > //
> > > ci_alpha  = [ 0.05 ];
> > >
> > > boot = {
> > >    interval = PCTILE;
> > >    rep_prop = 1.0;
> > >    n_rep    = 1000;
> > >    rng      = "mt19937";
> > >    seed     = "";
> > > };
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Interpolation methods
> > > //
> > > interp = {
> > >    vld_thresh = 1.0;
> > >
> > >    type = [
> > >       {
> > >          method = UW_MEAN;
> > >          width  = 1;
> > >       }
> > > {
> > >        method = UW_MEAN;
> > >        width  = 5;
> > >      }
> > >    ];
> > > };
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Statistical output types
> > > //
> > > output_flag = {
> > >    fho    = NONE;
> > >    ctc    = BOTH;
> > >    cts    = BOTH;
> > >    mctc   = BOTH;
> > >    mcts   = BOTH;
> > >    cnt    = BOTH;
> > >    sl1l2  = BOTH;
> > >    sal1l2 = NONE;
> > >    vl1l2  = NONE;
> > >    val1l2 = NONE;
> > >    pct    = NONE;
> > >    pstd   = NONE;
> > >    pjc    = NONE;
> > >    prc    = NONE;
> > >    mpr    = NONE;
> > > };
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > obs_quality    = [];
> > > duplicate_flag = NONE;
> > > rank_corr_flag = TRUE;
> > > tmp_dir        = "/tmp";
> > > output_prefix  = "";
> > > version        = "V4.1";
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > >
> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Sure, happy to help.  I suspect there's some minor typo in this
file:
> > >>    tutorial/config/PointStatConfig_tutorial
> > >>
> > >> Can you please send me that file, and I'll take a look?
> > >>
> > >> Thanks,
> > >> John Halley Gotway
> > >> met_help at ucar.edu
> > >>
> > >>
> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >> >
> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
> > >> > Transaction: Ticket created by yamasaki07722 at gmail.com
> > >> >        Queue: met_help
> > >> >      Subject: support requesting
> > >> >        Owner: Nobody
> > >> >   Requestors: yamasaki07722 at gmail.com
> > >> >       Status: new
> > >> >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > >
> > >> >
> > >> >
> > >> > Hi!
> > >> > I am having some problem, with MET tutorial, on pb2nc. When I
run
> the
> > >> > tutorial I am having a segmentation fault ( even with
unlimited
> > >> > stacksize/etc..). The test_all.sh script did not give me any
error.
> > >> > Also, when I try to run the point-stat tools with
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > *bin/point_stat \
> > >> >
data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> > >> > tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc> \
> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
> > >> tutorial/out/point_stat
> > >> > \ -v 2*
> > >> > I get the folowing sintax error :
> > >> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
> > >> > ERROR  :
> > >> > ERROR  : yyerror() -> syntax error in file
> > >> > "tutorial/config/PointStatConfig_tutorial"
> > >> > ERROR  :
> > >> > ERROR  :    line   = 78
> > >> > ERROR  :
> > >> > ERROR  :    column = 16
> > >> > ERROR  :
> > >> > ERROR  :    text   = "mt19937"
> > >> > ERROR  :
> > >> > ERROR  :
> > >> > ERROR  :    rng      = "mt19937";
> > >> >
> > >> >   Can someone help me solve the problem
> > >> > best regards
> > >> > yyamasaki
> > >> >
> > >> >
> > >>
> > >>
> > >
> >
> >
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Wed Aug 13 11:16:08 2014

Dear John,

The PB at NCConfig_tutorial is :
////////////////////////////////////////////////////////////////////////////////
//
// PB2NC configuration file.
//
// For additional information, see the MET_BASE/data/config/README
file.
//
////////////////////////////////////////////////////////////////////////////////

//
// PrepBufr message type
//
message_type = ["ADPUPA", "ADPSFC"];

//
// PrepBufr station ID
//
station_id = [];

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

//
// Observation time window
//
obs_window = {
   beg = -1800;
   end =  1800;
}

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

//
// Observation retention regions
//
mask = {
   grid = "G212";
   poly = "";
};

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

//
// Observing location elevation
//
elevation_range = {
   beg =  -1000;
   end = 100000;
}

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

//
// Observation types
//
pb_report_type  = [];

in_report_type  = [];

instrument_type = [];

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

//
// Vertical levels to retain
//
level_range = {
   beg = 1;
   end = 255;
}

level_category = [];

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

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

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

quality_mark_thresh = 2;
event_stack_flag    = TOP;

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

tmp_dir = "/tmp";
version = "V4.1";

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



Thank you.
yyamasaki



On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki
<yamasaki07722 at gmail.com
> wrote:

> Dear John,
> I am sorry for that mistake on PointStatConfig_tutorial.
> Now, let me see if you could help me with pb2nc (segmentation
fault):
>
>  bin/pb2nc
data/sample_obs/prepbufr/ndas.t00z.prepbufr.tm12.20070401.nr
> tutorial/out/pb2nc/tutorial_pb.nc
tutorial/config/PB2NCConfig_tutorial -v
> 2
>
>
> DEBUG 1: Default Config File:
> /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> DEBUG 1: User Config File: tutorial/config/PB2NCConfig_tutorial
> DEBUG 1: Creating NetCDF File:
tutorial/out/pb2nc/tutorial_pb.nc
> DEBUG 1: Processing PrepBufr File:    data/sample_obs/prepbufr/
> ndas.t00z.prepbufr.tm12.20070401.nr
> DEBUG 1: Blocking PrepBufr file to:    /tmp/tmp_pb2nc_blk_32232_0
> Segmentation fault (core dumped)
>
> best regards,
> yyamasaki
>
>
>
> On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Yyamasaki,
>>
>> The problem is that the "message_type" setting is an array of
values that
>> should be separated by commas.  Try separating multiple values with
>> commas,
>> like this:
>>    message_type = [ "ADPUPA", "ADPSFC"];
>>
>> That should fix the parsing error.
>>
>> Thanks,
>> John
>>
>>
>> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT <
>> met_help at ucar.edu> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>> >
>> > Dear John,
>> >
>> > I figured out that when I do not include  "ADPSFC"  on
>> >
>> >  message_type = [ "ADPUPA" "ADPSFC"];
>> >
>> > the PointStatConfig_tutorial run with no problem.
>> >
>> > But when I include it I get an error:
>> >
>> >
>> > DEBUG 1: Default Config File:
>> > /home/modelos/teste/METv4.1/data/config/PointStatConfig_default
>> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
>> > ERROR  :
>> > ERROR  : yyerror() -> syntax error in file
>> > "tutorial/config/PointStatConfig_tutorial"
>> > ERROR  :
>> > ERROR  :    line   = 21
>> > ERROR  :
>> > ERROR  :    column = 35
>> > ERROR  :
>> > ERROR  :    text   = """
>> > ERROR  :
>> > ERROR  :
>> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
>> > ERROR  : __________________________________^____
>> >
>> >
>> > Is this because of the segmentation fault problem I am having
with
>> bp2nc ?
>> >
>> > Please ... do you have any suggestion about segmentation fault in
the
>> bp2nc
>> > ?
>> >
>> > best regards,
>> > yyamasaki
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
>> > yamasaki07722 at gmail.com> wrote:
>> >
>> > > Hi John,
>> > > Here is the PointStatConfig_tutorial :
>> > >
>> > > Best regards,
>> > > yyamasaki
>> > >
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > > //
>> > > // Point-Stat configuration file.
>> > > //
>> > > // For additional information, see the
MET_BASE/data/config/README
>> file.
>> > > //
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > //
>> > > // Output model name to be written
>> > > //
>> > > model = "WRF";
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > //
>> > > // Forecast and observation fields to be verified
>> > > //
>> > > fcst = [
>> > >      {
>> > >        name       = "TMP";
>> > >        level      = "Z2";
>> > >        cat_thresh = [ >278, >283, >288 ];
>> > >      },
>> > >
>> > >      {
>> > >        name  = "TMP";
>> > >        level = "P750-850";
>> > >        cat_thresh = [ >278 ];
>> > >      },
>> > >
>> > >      {
>> > >        name  = "UGRD";
>> > >        level = "Z10";
>> > >        cat_thresh = [ >=5.0 ];
>> > >      },
>> > >
>> > >      {
>> > >        name  = "VGRD";
>> > >        level = "Z10";
>> > >        cat_thresh = [ >=5.0 ];
>> > >      }
>> > >    ];
>> > > obs = fcst;
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > //
>> > > // Point observation time window
>> > > //
>> > > obs_window = {
>> > >    beg = -5400;
>> > >    end =  5400;
>> > > }
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > //
>> > > // Verification masking regions
>> > > //
>> > > mask = {
>> > >    grid = [ "G212" ];
>> > >    poly = ["MET_BASE/data/poly/EAST.poly",
>> > "MET_BASE/data/poly/WEST.poly];
>> > >    sid  = [];
>> > > };
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > //
>> > > // Confidence interval settings
>> > > //
>> > > ci_alpha  = [ 0.05 ];
>> > >
>> > > boot = {
>> > >    interval = PCTILE;
>> > >    rep_prop = 1.0;
>> > >    n_rep    = 1000;
>> > >    rng      = "mt19937";
>> > >    seed     = "";
>> > > };
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > //
>> > > // Interpolation methods
>> > > //
>> > > interp = {
>> > >    vld_thresh = 1.0;
>> > >
>> > >    type = [
>> > >       {
>> > >          method = UW_MEAN;
>> > >          width  = 1;
>> > >       }
>> > > {
>> > >        method = UW_MEAN;
>> > >        width  = 5;
>> > >      }
>> > >    ];
>> > > };
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > //
>> > > // Statistical output types
>> > > //
>> > > output_flag = {
>> > >    fho    = NONE;
>> > >    ctc    = BOTH;
>> > >    cts    = BOTH;
>> > >    mctc   = BOTH;
>> > >    mcts   = BOTH;
>> > >    cnt    = BOTH;
>> > >    sl1l2  = BOTH;
>> > >    sal1l2 = NONE;
>> > >    vl1l2  = NONE;
>> > >    val1l2 = NONE;
>> > >    pct    = NONE;
>> > >    pstd   = NONE;
>> > >    pjc    = NONE;
>> > >    prc    = NONE;
>> > >    mpr    = NONE;
>> > > };
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > > obs_quality    = [];
>> > > duplicate_flag = NONE;
>> > > rank_corr_flag = TRUE;
>> > > tmp_dir        = "/tmp";
>> > > output_prefix  = "";
>> > > version        = "V4.1";
>> > >
>> > >
>> > >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >
>> > >
>> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT <
>> > > met_help at ucar.edu> wrote:
>> > >
>> > >> Sure, happy to help.  I suspect there's some minor typo in
this file:
>> > >>    tutorial/config/PointStatConfig_tutorial
>> > >>
>> > >> Can you please send me that file, and I'll take a look?
>> > >>
>> > >> Thanks,
>> > >> John Halley Gotway
>> > >> met_help at ucar.edu
>> > >>
>> > >>
>> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via RT <
>> > >> met_help at ucar.edu> wrote:
>> > >>
>> > >> >
>> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
>> > >> > Transaction: Ticket created by yamasaki07722 at gmail.com
>> > >> >        Queue: met_help
>> > >> >      Subject: support requesting
>> > >> >        Owner: Nobody
>> > >> >   Requestors: yamasaki07722 at gmail.com
>> > >> >       Status: new
>> > >> >  Ticket <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
>> > >
>> > >> >
>> > >> >
>> > >> > Hi!
>> > >> > I am having some problem, with MET tutorial, on pb2nc. When
I run
>> the
>> > >> > tutorial I am having a segmentation fault ( even with
unlimited
>> > >> > stacksize/etc..). The test_all.sh script did not give me any
error.
>> > >> > Also, when I try to run the point-stat tools with
>> > >> >
>> > >> >
>> > >> >
>> > >> >
>> > >> >
>> > >> > *bin/point_stat \
>> > >> >
data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
>> > >> > tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc> \
>> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
>> > >> tutorial/out/point_stat
>> > >> > \ -v 2*
>> > >> > I get the folowing sintax error :
>> > >> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
>> > >> > ERROR  :
>> > >> > ERROR  : yyerror() -> syntax error in file
>> > >> > "tutorial/config/PointStatConfig_tutorial"
>> > >> > ERROR  :
>> > >> > ERROR  :    line   = 78
>> > >> > ERROR  :
>> > >> > ERROR  :    column = 16
>> > >> > ERROR  :
>> > >> > ERROR  :    text   = "mt19937"
>> > >> > ERROR  :
>> > >> > ERROR  :
>> > >> > ERROR  :    rng      = "mt19937";
>> > >> >
>> > >> >   Can someone help me solve the problem
>> > >> > best regards
>> > >> > yyamasaki
>> > >> >
>> > >> >
>> > >>
>> > >>
>> > >
>> >
>> >
>>
>>
>

------------------------------------------------
Subject: support requesting
From: John Halley Gotway
Time: Wed Aug 13 12:52:01 2014

Yyamasaki,

Can you please send me a copy of the user_defs.mk file you're using.
I'm
curious what compilers you're using.  I doubt the pb2nc segfault has
anything to do with your configuration file.

When you run the MET test scripts (METv4.1/scripts/test_all.sh), does
PB2NC
run or does it seg fault there as well?

Thanks,
John


On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>
> Dear John,
>
> The PB at NCConfig_tutorial is :
>
>
////////////////////////////////////////////////////////////////////////////////
> //
> // PB2NC configuration file.
> //
> // For additional information, see the MET_BASE/data/config/README
file.
> //
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // PrepBufr message type
> //
> message_type = ["ADPUPA", "ADPSFC"];
>
> //
> // PrepBufr station ID
> //
> station_id = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation time window
> //
> obs_window = {
>    beg = -1800;
>    end =  1800;
> }
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation retention regions
> //
> mask = {
>    grid = "G212";
>    poly = "";
> };
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observing location elevation
> //
> elevation_range = {
>    beg =  -1000;
>    end = 100000;
> }
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation types
> //
> pb_report_type  = [];
>
> in_report_type  = [];
>
> instrument_type = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Vertical levels to retain
> //
> level_range = {
>    beg = 1;
>    end = 255;
> }
>
> level_category = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation values to retain or derive
> //
> obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> quality_mark_thresh = 2;
> event_stack_flag    = TOP;
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> tmp_dir = "/tmp";
> version = "V4.1";
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
>
>
> Thank you.
> yyamasaki
>
>
>
> On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
> yamasaki07722 at gmail.com
> > wrote:
>
> > Dear John,
> > I am sorry for that mistake on PointStatConfig_tutorial.
> > Now, let me see if you could help me with pb2nc (segmentation
fault):
> >
> >  bin/pb2nc
data/sample_obs/prepbufr/ndas.t00z.prepbufr.tm12.20070401.nr
> > tutorial/out/pb2nc/tutorial_pb.nc
tutorial/config/PB2NCConfig_tutorial
> -v
> > 2
> >
> >
> > DEBUG 1: Default Config File:
> > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> > DEBUG 1: User Config File: tutorial/config/PB2NCConfig_tutorial
> > DEBUG 1: Creating NetCDF File:
tutorial/out/pb2nc/tutorial_pb.nc
> > DEBUG 1: Processing PrepBufr File:    data/sample_obs/prepbufr/
> > ndas.t00z.prepbufr.tm12.20070401.nr
> > DEBUG 1: Blocking PrepBufr file to:    /tmp/tmp_pb2nc_blk_32232_0
> > Segmentation fault (core dumped)
> >
> > best regards,
> > yyamasaki
> >
> >
> >
> > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >> Yyamasaki,
> >>
> >> The problem is that the "message_type" setting is an array of
values
> that
> >> should be separated by commas.  Try separating multiple values
with
> >> commas,
> >> like this:
> >>    message_type = [ "ADPUPA", "ADPSFC"];
> >>
> >> That should fix the parsing error.
> >>
> >> Thanks,
> >> John
> >>
> >>
> >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> >> >
> >> > Dear John,
> >> >
> >> > I figured out that when I do not include  "ADPSFC"  on
> >> >
> >> >  message_type = [ "ADPUPA" "ADPSFC"];
> >> >
> >> > the PointStatConfig_tutorial run with no problem.
> >> >
> >> > But when I include it I get an error:
> >> >
> >> >
> >> > DEBUG 1: Default Config File:
> >> > /home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> >> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
> >> > ERROR  :
> >> > ERROR  : yyerror() -> syntax error in file
> >> > "tutorial/config/PointStatConfig_tutorial"
> >> > ERROR  :
> >> > ERROR  :    line   = 21
> >> > ERROR  :
> >> > ERROR  :    column = 35
> >> > ERROR  :
> >> > ERROR  :    text   = """
> >> > ERROR  :
> >> > ERROR  :
> >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> >> > ERROR  : __________________________________^____
> >> >
> >> >
> >> > Is this because of the segmentation fault problem I am having
with
> >> bp2nc ?
> >> >
> >> > Please ... do you have any suggestion about segmentation fault
in the
> >> bp2nc
> >> > ?
> >> >
> >> > best regards,
> >> > yyamasaki
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
> >> > yamasaki07722 at gmail.com> wrote:
> >> >
> >> > > Hi John,
> >> > > Here is the PointStatConfig_tutorial :
> >> > >
> >> > > Best regards,
> >> > > yyamasaki
> >> > >
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > > //
> >> > > // Point-Stat configuration file.
> >> > > //
> >> > > // For additional information, see the
MET_BASE/data/config/README
> >> file.
> >> > > //
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > //
> >> > > // Output model name to be written
> >> > > //
> >> > > model = "WRF";
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > //
> >> > > // Forecast and observation fields to be verified
> >> > > //
> >> > > fcst = [
> >> > >      {
> >> > >        name       = "TMP";
> >> > >        level      = "Z2";
> >> > >        cat_thresh = [ >278, >283, >288 ];
> >> > >      },
> >> > >
> >> > >      {
> >> > >        name  = "TMP";
> >> > >        level = "P750-850";
> >> > >        cat_thresh = [ >278 ];
> >> > >      },
> >> > >
> >> > >      {
> >> > >        name  = "UGRD";
> >> > >        level = "Z10";
> >> > >        cat_thresh = [ >=5.0 ];
> >> > >      },
> >> > >
> >> > >      {
> >> > >        name  = "VGRD";
> >> > >        level = "Z10";
> >> > >        cat_thresh = [ >=5.0 ];
> >> > >      }
> >> > >    ];
> >> > > obs = fcst;
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > //
> >> > > // Point observation time window
> >> > > //
> >> > > obs_window = {
> >> > >    beg = -5400;
> >> > >    end =  5400;
> >> > > }
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > //
> >> > > // Verification masking regions
> >> > > //
> >> > > mask = {
> >> > >    grid = [ "G212" ];
> >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> >> > "MET_BASE/data/poly/WEST.poly];
> >> > >    sid  = [];
> >> > > };
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > //
> >> > > // Confidence interval settings
> >> > > //
> >> > > ci_alpha  = [ 0.05 ];
> >> > >
> >> > > boot = {
> >> > >    interval = PCTILE;
> >> > >    rep_prop = 1.0;
> >> > >    n_rep    = 1000;
> >> > >    rng      = "mt19937";
> >> > >    seed     = "";
> >> > > };
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > //
> >> > > // Interpolation methods
> >> > > //
> >> > > interp = {
> >> > >    vld_thresh = 1.0;
> >> > >
> >> > >    type = [
> >> > >       {
> >> > >          method = UW_MEAN;
> >> > >          width  = 1;
> >> > >       }
> >> > > {
> >> > >        method = UW_MEAN;
> >> > >        width  = 5;
> >> > >      }
> >> > >    ];
> >> > > };
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > //
> >> > > // Statistical output types
> >> > > //
> >> > > output_flag = {
> >> > >    fho    = NONE;
> >> > >    ctc    = BOTH;
> >> > >    cts    = BOTH;
> >> > >    mctc   = BOTH;
> >> > >    mcts   = BOTH;
> >> > >    cnt    = BOTH;
> >> > >    sl1l2  = BOTH;
> >> > >    sal1l2 = NONE;
> >> > >    vl1l2  = NONE;
> >> > >    val1l2 = NONE;
> >> > >    pct    = NONE;
> >> > >    pstd   = NONE;
> >> > >    pjc    = NONE;
> >> > >    prc    = NONE;
> >> > >    mpr    = NONE;
> >> > > };
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > > obs_quality    = [];
> >> > > duplicate_flag = NONE;
> >> > > rank_corr_flag = TRUE;
> >> > > tmp_dir        = "/tmp";
> >> > > output_prefix  = "";
> >> > > version        = "V4.1";
> >> > >
> >> > >
> >> > >
> >> >
> >>
>
////////////////////////////////////////////////////////////////////////////////
> >> > >
> >> > >
> >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT <
> >> > > met_help at ucar.edu> wrote:
> >> > >
> >> > >> Sure, happy to help.  I suspect there's some minor typo in
this
> file:
> >> > >>    tutorial/config/PointStatConfig_tutorial
> >> > >>
> >> > >> Can you please send me that file, and I'll take a look?
> >> > >>
> >> > >> Thanks,
> >> > >> John Halley Gotway
> >> > >> met_help at ucar.edu
> >> > >>
> >> > >>
> >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via RT
<
> >> > >> met_help at ucar.edu> wrote:
> >> > >>
> >> > >> >
> >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
> >> > >> > Transaction: Ticket created by yamasaki07722 at gmail.com
> >> > >> >        Queue: met_help
> >> > >> >      Subject: support requesting
> >> > >> >        Owner: Nobody
> >> > >> >   Requestors: yamasaki07722 at gmail.com
> >> > >> >       Status: new
> >> > >> >  Ticket <URL:
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> >> > >
> >> > >> >
> >> > >> >
> >> > >> > Hi!
> >> > >> > I am having some problem, with MET tutorial, on pb2nc.
When I run
> >> the
> >> > >> > tutorial I am having a segmentation fault ( even with
unlimited
> >> > >> > stacksize/etc..). The test_all.sh script did not give me
any
> error.
> >> > >> > Also, when I try to run the point-stat tools with
> >> > >> >
> >> > >> >
> >> > >> >
> >> > >> >
> >> > >> >
> >> > >> > *bin/point_stat \
> >> > >> >
data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> >> > >> > tutorial/out/pb2nc/tutorial_pb.nc <http://tutorial_pb.nc>
\
> >> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
> >> > >> tutorial/out/point_stat
> >> > >> > \ -v 2*
> >> > >> > I get the folowing sintax error :
> >> > >> > DEBUG 1: User Config File:
> tutorial/config/PointStatConfig_tutorial
> >> > >> > ERROR  :
> >> > >> > ERROR  : yyerror() -> syntax error in file
> >> > >> > "tutorial/config/PointStatConfig_tutorial"
> >> > >> > ERROR  :
> >> > >> > ERROR  :    line   = 78
> >> > >> > ERROR  :
> >> > >> > ERROR  :    column = 16
> >> > >> > ERROR  :
> >> > >> > ERROR  :    text   = "mt19937"
> >> > >> > ERROR  :
> >> > >> > ERROR  :
> >> > >> > ERROR  :    rng      = "mt19937";
> >> > >> >
> >> > >> >   Can someone help me solve the problem
> >> > >> > best regards
> >> > >> > yyamasaki
> >> > >> >
> >> > >> >
> >> > >>
> >> > >>
> >> > >
> >> >
> >> >
> >>
> >>
> >
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Wed Aug 13 13:48:29 2014

Hi John,

The PB2NCConfig_turorial I am using is :

////////////////////////////////////////////////////////////////////////////////
//
// PB2NC configuration file.
//
// For additional information, see the MET_BASE/data/config/README
file.
//
////////////////////////////////////////////////////////////////////////////////

//
// PrepBufr message type
//
message_type = ["ADPUPA", "ADPSFC"];

//
// PrepBufr station ID
//
station_id = [];

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

//
// Observation time window
//
obs_window = {
   beg = -1800;
   end =  1800;
}

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

//
// Observation retention regions
//
mask = {
   grid = "G212";
   poly = "";
};

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

//
// Observing location elevation
//
elevation_range = {
   beg =  -1000;
   end = 100000;
}

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

//
// Observation types
//
pb_report_type  = [];

in_report_type  = [];

instrument_type = [];

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

//
// Vertical levels to retain
//
level_range = {
   beg = 1;
   end = 255;
}

level_category = [];

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

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

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

quality_mark_thresh = 2;
event_stack_flag    = TOP;

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

tmp_dir = "/tmp";
version = "V4.1";

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



Can you please send me a copy of the user_defs.mk file you're using.

I'mcurious what compilers you're using.

I am using fedoracore with pgi 11.7
-------------------------------------------------

 I doubt the pb2nc segfault has
anything to do with your configuration file.

When you run the MET test scripts (METv4.1/scripts/test_all.sh), does
PB2NC
run or does it seg fault there as well?

No seg fault a on test scripts
seee attached file



Best regards,
yyamasaki






On Wed, Aug 13, 2014 at 3:52 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Yyamasaki,
>
> Can you please send me a copy of the user_defs.mk file you're using.
I'm
> curious what compilers you're using.  I doubt the pb2nc segfault has
> anything to do with your configuration file.
>
> When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does PB2NC
> run or does it seg fault there as well?
>
> Thanks,
> John
>
>
> On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> >
> > Dear John,
> >
> > The PB at NCConfig_tutorial is :
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > //
> > // PB2NC configuration file.
> > //
> > // For additional information, see the MET_BASE/data/config/README
file.
> > //
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // PrepBufr message type
> > //
> > message_type = ["ADPUPA", "ADPSFC"];
> >
> > //
> > // PrepBufr station ID
> > //
> > station_id = [];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation time window
> > //
> > obs_window = {
> >    beg = -1800;
> >    end =  1800;
> > }
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation retention regions
> > //
> > mask = {
> >    grid = "G212";
> >    poly = "";
> > };
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observing location elevation
> > //
> > elevation_range = {
> >    beg =  -1000;
> >    end = 100000;
> > }
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation types
> > //
> > pb_report_type  = [];
> >
> > in_report_type  = [];
> >
> > instrument_type = [];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Vertical levels to retain
> > //
> > level_range = {
> >    beg = 1;
> >    end = 255;
> > }
> >
> > level_category = [];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation values to retain or derive
> > //
> > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > quality_mark_thresh = 2;
> > event_stack_flag    = TOP;
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > tmp_dir = "/tmp";
> > version = "V4.1";
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> >
> >
> > Thank you.
> > yyamasaki
> >
> >
> >
> > On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
> > yamasaki07722 at gmail.com
> > > wrote:
> >
> > > Dear John,
> > > I am sorry for that mistake on PointStatConfig_tutorial.
> > > Now, let me see if you could help me with pb2nc (segmentation
fault):
> > >
> > >  bin/pb2nc data/sample_obs/prepbufr/
> ndas.t00z.prepbufr.tm12.20070401.nr
> > > tutorial/out/pb2nc/tutorial_pb.nc
tutorial/config/PB2NCConfig_tutorial
> > -v
> > > 2
> > >
> > >
> > > DEBUG 1: Default Config File:
> > > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> > > DEBUG 1: User Config File: tutorial/config/PB2NCConfig_tutorial
> > > DEBUG 1: Creating NetCDF File:        tutorial/out/pb2nc/
> tutorial_pb.nc
> > > DEBUG 1: Processing PrepBufr File:    data/sample_obs/prepbufr/
> > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_32232_0
> > > Segmentation fault (core dumped)
> > >
> > > best regards,
> > > yyamasaki
> > >
> > >
> > >
> > > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > >> Yyamasaki,
> > >>
> > >> The problem is that the "message_type" setting is an array of
values
> > that
> > >> should be separated by commas.  Try separating multiple values
with
> > >> commas,
> > >> like this:
> > >>    message_type = [ "ADPUPA", "ADPSFC"];
> > >>
> > >> That should fix the parsing error.
> > >>
> > >> Thanks,
> > >> John
> > >>
> > >>
> > >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
>
> > >> >
> > >> > Dear John,
> > >> >
> > >> > I figured out that when I do not include  "ADPSFC"  on
> > >> >
> > >> >  message_type = [ "ADPUPA" "ADPSFC"];
> > >> >
> > >> > the PointStatConfig_tutorial run with no problem.
> > >> >
> > >> > But when I include it I get an error:
> > >> >
> > >> >
> > >> > DEBUG 1: Default Config File:
> > >> >
/home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> > >> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
> > >> > ERROR  :
> > >> > ERROR  : yyerror() -> syntax error in file
> > >> > "tutorial/config/PointStatConfig_tutorial"
> > >> > ERROR  :
> > >> > ERROR  :    line   = 21
> > >> > ERROR  :
> > >> > ERROR  :    column = 35
> > >> > ERROR  :
> > >> > ERROR  :    text   = """
> > >> > ERROR  :
> > >> > ERROR  :
> > >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> > >> > ERROR  : __________________________________^____
> > >> >
> > >> >
> > >> > Is this because of the segmentation fault problem I am having
with
> > >> bp2nc ?
> > >> >
> > >> > Please ... do you have any suggestion about segmentation
fault in
> the
> > >> bp2nc
> > >> > ?
> > >> >
> > >> > best regards,
> > >> > yyamasaki
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
> > >> > yamasaki07722 at gmail.com> wrote:
> > >> >
> > >> > > Hi John,
> > >> > > Here is the PointStatConfig_tutorial :
> > >> > >
> > >> > > Best regards,
> > >> > > yyamasaki
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > > //
> > >> > > // Point-Stat configuration file.
> > >> > > //
> > >> > > // For additional information, see the
MET_BASE/data/config/README
> > >> file.
> > >> > > //
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > //
> > >> > > // Output model name to be written
> > >> > > //
> > >> > > model = "WRF";
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > //
> > >> > > // Forecast and observation fields to be verified
> > >> > > //
> > >> > > fcst = [
> > >> > >      {
> > >> > >        name       = "TMP";
> > >> > >        level      = "Z2";
> > >> > >        cat_thresh = [ >278, >283, >288 ];
> > >> > >      },
> > >> > >
> > >> > >      {
> > >> > >        name  = "TMP";
> > >> > >        level = "P750-850";
> > >> > >        cat_thresh = [ >278 ];
> > >> > >      },
> > >> > >
> > >> > >      {
> > >> > >        name  = "UGRD";
> > >> > >        level = "Z10";
> > >> > >        cat_thresh = [ >=5.0 ];
> > >> > >      },
> > >> > >
> > >> > >      {
> > >> > >        name  = "VGRD";
> > >> > >        level = "Z10";
> > >> > >        cat_thresh = [ >=5.0 ];
> > >> > >      }
> > >> > >    ];
> > >> > > obs = fcst;
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > //
> > >> > > // Point observation time window
> > >> > > //
> > >> > > obs_window = {
> > >> > >    beg = -5400;
> > >> > >    end =  5400;
> > >> > > }
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > //
> > >> > > // Verification masking regions
> > >> > > //
> > >> > > mask = {
> > >> > >    grid = [ "G212" ];
> > >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> > >> > "MET_BASE/data/poly/WEST.poly];
> > >> > >    sid  = [];
> > >> > > };
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > //
> > >> > > // Confidence interval settings
> > >> > > //
> > >> > > ci_alpha  = [ 0.05 ];
> > >> > >
> > >> > > boot = {
> > >> > >    interval = PCTILE;
> > >> > >    rep_prop = 1.0;
> > >> > >    n_rep    = 1000;
> > >> > >    rng      = "mt19937";
> > >> > >    seed     = "";
> > >> > > };
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > //
> > >> > > // Interpolation methods
> > >> > > //
> > >> > > interp = {
> > >> > >    vld_thresh = 1.0;
> > >> > >
> > >> > >    type = [
> > >> > >       {
> > >> > >          method = UW_MEAN;
> > >> > >          width  = 1;
> > >> > >       }
> > >> > > {
> > >> > >        method = UW_MEAN;
> > >> > >        width  = 5;
> > >> > >      }
> > >> > >    ];
> > >> > > };
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > //
> > >> > > // Statistical output types
> > >> > > //
> > >> > > output_flag = {
> > >> > >    fho    = NONE;
> > >> > >    ctc    = BOTH;
> > >> > >    cts    = BOTH;
> > >> > >    mctc   = BOTH;
> > >> > >    mcts   = BOTH;
> > >> > >    cnt    = BOTH;
> > >> > >    sl1l2  = BOTH;
> > >> > >    sal1l2 = NONE;
> > >> > >    vl1l2  = NONE;
> > >> > >    val1l2 = NONE;
> > >> > >    pct    = NONE;
> > >> > >    pstd   = NONE;
> > >> > >    pjc    = NONE;
> > >> > >    prc    = NONE;
> > >> > >    mpr    = NONE;
> > >> > > };
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > > obs_quality    = [];
> > >> > > duplicate_flag = NONE;
> > >> > > rank_corr_flag = TRUE;
> > >> > > tmp_dir        = "/tmp";
> > >> > > output_prefix  = "";
> > >> > > version        = "V4.1";
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >> > >
> > >> > >
> > >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT
<
> > >> > > met_help at ucar.edu> wrote:
> > >> > >
> > >> > >> Sure, happy to help.  I suspect there's some minor typo in
this
> > file:
> > >> > >>    tutorial/config/PointStatConfig_tutorial
> > >> > >>
> > >> > >> Can you please send me that file, and I'll take a look?
> > >> > >>
> > >> > >> Thanks,
> > >> > >> John Halley Gotway
> > >> > >> met_help at ucar.edu
> > >> > >>
> > >> > >>
> > >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via
RT <
> > >> > >> met_help at ucar.edu> wrote:
> > >> > >>
> > >> > >> >
> > >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
> > >> > >> > Transaction: Ticket created by yamasaki07722 at gmail.com
> > >> > >> >        Queue: met_help
> > >> > >> >      Subject: support requesting
> > >> > >> >        Owner: Nobody
> > >> > >> >   Requestors: yamasaki07722 at gmail.com
> > >> > >> >       Status: new
> > >> > >> >  Ticket <URL:
> > >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > >> > >
> > >> > >> >
> > >> > >> >
> > >> > >> > Hi!
> > >> > >> > I am having some problem, with MET tutorial, on pb2nc.
When I
> run
> > >> the
> > >> > >> > tutorial I am having a segmentation fault ( even with
unlimited
> > >> > >> > stacksize/etc..). The test_all.sh script did not give me
any
> > error.
> > >> > >> > Also, when I try to run the point-stat tools with
> > >> > >> >
> > >> > >> >
> > >> > >> >
> > >> > >> >
> > >> > >> >
> > >> > >> > *bin/point_stat \
> > >> > >> >
> data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> > >> > >> > tutorial/out/pb2nc/tutorial_pb.nc
<http://tutorial_pb.nc> \
> > >> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
> > >> > >> tutorial/out/point_stat
> > >> > >> > \ -v 2*
> > >> > >> > I get the folowing sintax error :
> > >> > >> > DEBUG 1: User Config File:
> > tutorial/config/PointStatConfig_tutorial
> > >> > >> > ERROR  :
> > >> > >> > ERROR  : yyerror() -> syntax error in file
> > >> > >> > "tutorial/config/PointStatConfig_tutorial"
> > >> > >> > ERROR  :
> > >> > >> > ERROR  :    line   = 78
> > >> > >> > ERROR  :
> > >> > >> > ERROR  :    column = 16
> > >> > >> > ERROR  :
> > >> > >> > ERROR  :    text   = "mt19937"
> > >> > >> > ERROR  :
> > >> > >> > ERROR  :
> > >> > >> > ERROR  :    rng      = "mt19937";
> > >> > >> >
> > >> > >> >   Can someone help me solve the problem
> > >> > >> > best regards
> > >> > >> > yyamasaki
> > >> > >> >
> > >> > >> >
> > >> > >>
> > >> > >>
> > >> > >
> > >> >
> > >> >
> > >>
> > >>
> > >
> >
> >
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Wed Aug 13 13:51:26 2014

Hi John,

my user_defs.mk is as follow :
[modelos at localhost ~/METv4.1]$ more user_defs.mk


###############################################################################

   ##
   ##  Begin Variables to be modified before building
   ##  Default settings for The Portland Group (PGI) compilers
   ##

###############################################################################

# Path to GNU Make command
MAKE         = /usr/bin/make

# Architecture flags
ARCH_FLAGS   = -DBLOCK4

# Path to the C++ Compiler
# C++ compiler flags
# Any additional required libraries
CXX          = /opt/pgi/linux86-64/11.7/bin/pgCC
CXX_FLAGS    = -Bstatic  -g
CXX_LIBS     =

# Path to the Fortran Compiler
# Fortran compiler flags
# Any additional required libraries

FC           = /opt/pgi/linux86-64/11.7/bin/pgf77
FC_FLAGS     = -Mnosecond_underscore -Bstatic -g
FC_LIBS      = -pgf90libs -lpgftnrtl -lrt -lpthread

# Make print options
PRINT_OPTS   = --no-print-directory

# Top level directory for the NetCDF library
# NetCDF include directory specified as: -I/your/include/path
# NetCDF library directory specified as: -L/your/library/path
NETCDF_BASE  = /usr/local/netcdf362_pgigcc
NETCDF_INCS  = -I$(NETCDF_BASE)/include
NETCDF_LIBS  = -L$(NETCDF_BASE)/lib


# Top level directory for BUFRLIB
# BUFRLIB include directory specified as: -I/your/include/path
# BUFRLIB library directory specified as: -L/your/library/path
BUFR_BASE    = /usr/local/BUFRLIB
BUFR_INCS    = -I$(BUFR_BASE)
BUFR_LIBS    = -L$(BUFR_BASE)

# Top level directory for the GNU Scientific Library (GSL) if it's not
# installed in a standard location.
# GSL include directory specified as: -I/your/include/path
# GSL library directory specified as: -L/your/library/path
GSL_BASE     = /usr/local
GSL_INCS     = -I$(GSL_BASE)/include
GSL_LIBS     = -L$(GSL_BASE)/lib

# Top level directory for the F2C or G2C Library if it's not installed
in a
# standard location.
# F2C include directory specified as:
-I/your/include/path



# F2C library directory containing libf2c.a or libg2c.a and specified
as:
# -L/your/library/path
# Name of the library to be used: -lf2c or -lg2c
# NOTE: Not typically required for the PGI pgf77 Fortran compiler
F2C_BASE     = /usr/lib/gcc/x86_64-redhat-linux/3.4.6/
F2C_INCS     = -I/usr/lib/gcc/x86_64-redhat-linux/3.4.6/
F2C_LIBS     = -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/
F2C_LIBNAME  = /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libg2c.a

# Top level directory for the GRIB2 C Library if it's not
# installed in a standard location.
# grib2c include directory specified as: -I/your/include/path
# grib2c library directory specified as: -L/your/library/path
GRIB2C_BASE  =/usr/local/lib
GRIB2C_INCS  =
GRIB2C_LIBS  =-L$(GRIB2C_BASE)

# Top level directory for the HDF and HDF-EOS Libraries if they're not
# installed in a standard location.  These need not be specified if
# you're not building the modis reformatting tool.
HDF_BASE_DIR      = /usr/local/hdf5_pre
HDF_EOS_BASE_DIR  =

# Optional flags to disable the compilation of MET tools
# Specify a non-zero value to enable the compilation of the tool
ENABLE_ASCII2NC        = 1
ENABLE_ENSEMBLE_STAT   = 1
ENABLE_GEN_POLY_MASK   = 1
ENABLE_GRID_STAT       = 1
ENABLE_MADIS2NC        = 1
ENABLE_MODE            = 1
ENABLE_MODE_ANALYSIS   = 1
ENABLE_PB2NC           = 1
ENABLE_PCP_COMBINE     = 1
ENABLE_PLOT_DATA_PLANE = 1
ENABLE_PLOT_POINT_OBS  = 1
ENABLE_POINT_STAT      = 1
ENABLE_STAT_ANALYSIS   = 1
ENABLE_WAVELET_STAT    = 1
ENABLE_SERIES_ANALYSIS = 1
ENABLE_WWMCA           = 1
ENABLE_MODIS           = 1
ENABLE_TC_UTILS        = 1

# Flags to compile support for additional file formats
WITH_GRIB2             = 1

###############################################################################

   ##
   ##  End Variables to be modified before building
   ##

###############################################################################



On Wed, Aug 13, 2014 at 4:48 PM, yoshihiro yamasaki
<yamasaki07722 at gmail.com
> wrote:

> Hi John,
>
> The PB2NCConfig_turorial I am using is :
>
>
>
>
////////////////////////////////////////////////////////////////////////////////
> //
> // PB2NC configuration file.
> //
> // For additional information, see the MET_BASE/data/config/README
file.
> //
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // PrepBufr message type
> //
> message_type = ["ADPUPA", "ADPSFC"];
>
> //
> // PrepBufr station ID
> //
> station_id = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation time window
> //
> obs_window = {
>    beg = -1800;
>    end =  1800;
> }
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation retention regions
> //
> mask = {
>    grid = "G212";
>    poly = "";
> };
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observing location elevation
> //
> elevation_range = {
>    beg =  -1000;
>    end = 100000;
> }
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation types
> //
> pb_report_type  = [];
>
> in_report_type  = [];
>
> instrument_type = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Vertical levels to retain
> //
> level_range = {
>    beg = 1;
>    end = 255;
> }
>
> level_category = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation values to retain or derive
> //
> obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> quality_mark_thresh = 2;
> event_stack_flag    = TOP;
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> tmp_dir = "/tmp";
> version = "V4.1";
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
>
>
> Can you please send me a copy of the user_defs.mk file you're using.
>
> I'mcurious what compilers you're using.
>
> I am using fedoracore with pgi 11.7
> -------------------------------------------------
>
>
>  I doubt the pb2nc segfault has
> anything to do with your configuration file.
>
> When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does PB2NC
> run or does it seg fault there as well?
>
> No seg fault a on test scripts
> seee attached file
>
>
>
> Best regards,
> yyamasaki
>
>
>
>
>
>
> On Wed, Aug 13, 2014 at 3:52 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>> Yyamasaki,
>>
>> Can you please send me a copy of the user_defs.mk file you're
using.  I'm
>> curious what compilers you're using.  I doubt the pb2nc segfault
has
>> anything to do with your configuration file.
>>
>> When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does
>> PB2NC
>> run or does it seg fault there as well?
>>
>> Thanks,
>> John
>>
>>
>> On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via RT <
>> met_help at ucar.edu> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>> >
>> > Dear John,
>> >
>> > The PB at NCConfig_tutorial is :
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > //
>> > // PB2NC configuration file.
>> > //
>> > // For additional information, see the
MET_BASE/data/config/README file.
>> > //
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > //
>> > // PrepBufr message type
>> > //
>> > message_type = ["ADPUPA", "ADPSFC"];
>> >
>> > //
>> > // PrepBufr station ID
>> > //
>> > station_id = [];
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > //
>> > // Observation time window
>> > //
>> > obs_window = {
>> >    beg = -1800;
>> >    end =  1800;
>> > }
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > //
>> > // Observation retention regions
>> > //
>> > mask = {
>> >    grid = "G212";
>> >    poly = "";
>> > };
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > //
>> > // Observing location elevation
>> > //
>> > elevation_range = {
>> >    beg =  -1000;
>> >    end = 100000;
>> > }
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > //
>> > // Observation types
>> > //
>> > pb_report_type  = [];
>> >
>> > in_report_type  = [];
>> >
>> > instrument_type = [];
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > //
>> > // Vertical levels to retain
>> > //
>> > level_range = {
>> >    beg = 1;
>> >    end = 255;
>> > }
>> >
>> > level_category = [];
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > //
>> > // Observation values to retain or derive
>> > //
>> > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > quality_mark_thresh = 2;
>> > event_stack_flag    = TOP;
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> > tmp_dir = "/tmp";
>> > version = "V4.1";
>> >
>> >
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> >
>> >
>> >
>> > Thank you.
>> > yyamasaki
>> >
>> >
>> >
>> > On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
>> > yamasaki07722 at gmail.com
>> > > wrote:
>> >
>> > > Dear John,
>> > > I am sorry for that mistake on PointStatConfig_tutorial.
>> > > Now, let me see if you could help me with pb2nc (segmentation
fault):
>> > >
>> > >  bin/pb2nc data/sample_obs/prepbufr/
>> ndas.t00z.prepbufr.tm12.20070401.nr
>> > > tutorial/out/pb2nc/tutorial_pb.nc
>> tutorial/config/PB2NCConfig_tutorial
>> > -v
>> > > 2
>> > >
>> > >
>> > > DEBUG 1: Default Config File:
>> > > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
>> > > DEBUG 1: User Config File: tutorial/config/PB2NCConfig_tutorial
>> > > DEBUG 1: Creating NetCDF File:        tutorial/out/pb2nc/
>> tutorial_pb.nc
>> > > DEBUG 1: Processing PrepBufr File:    data/sample_obs/prepbufr/
>> > > ndas.t00z.prepbufr.tm12.20070401.nr
>> > > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_32232_0
>> > > Segmentation fault (core dumped)
>> > >
>> > > best regards,
>> > > yyamasaki
>> > >
>> > >
>> > >
>> > > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT <
>> > > met_help at ucar.edu> wrote:
>> > >
>> > >> Yyamasaki,
>> > >>
>> > >> The problem is that the "message_type" setting is an array of
values
>> > that
>> > >> should be separated by commas.  Try separating multiple values
with
>> > >> commas,
>> > >> like this:
>> > >>    message_type = [ "ADPUPA", "ADPSFC"];
>> > >>
>> > >> That should fix the parsing error.
>> > >>
>> > >> Thanks,
>> > >> John
>> > >>
>> > >>
>> > >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT <
>> > >> met_help at ucar.edu> wrote:
>> > >>
>> > >> >
>> > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>> > >> >
>> > >> > Dear John,
>> > >> >
>> > >> > I figured out that when I do not include  "ADPSFC"  on
>> > >> >
>> > >> >  message_type = [ "ADPUPA" "ADPSFC"];
>> > >> >
>> > >> > the PointStatConfig_tutorial run with no problem.
>> > >> >
>> > >> > But when I include it I get an error:
>> > >> >
>> > >> >
>> > >> > DEBUG 1: Default Config File:
>> > >> >
/home/modelos/teste/METv4.1/data/config/PointStatConfig_default
>> > >> > DEBUG 1: User Config File:
tutorial/config/PointStatConfig_tutorial
>> > >> > ERROR  :
>> > >> > ERROR  : yyerror() -> syntax error in file
>> > >> > "tutorial/config/PointStatConfig_tutorial"
>> > >> > ERROR  :
>> > >> > ERROR  :    line   = 21
>> > >> > ERROR  :
>> > >> > ERROR  :    column = 35
>> > >> > ERROR  :
>> > >> > ERROR  :    text   = """
>> > >> > ERROR  :
>> > >> > ERROR  :
>> > >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
>> > >> > ERROR  : __________________________________^____
>> > >> >
>> > >> >
>> > >> > Is this because of the segmentation fault problem I am
having with
>> > >> bp2nc ?
>> > >> >
>> > >> > Please ... do you have any suggestion about segmentation
fault in
>> the
>> > >> bp2nc
>> > >> > ?
>> > >> >
>> > >> > best regards,
>> > >> > yyamasaki
>> > >> >
>> > >> >
>> > >> >
>> > >> >
>> > >> >
>> > >> >
>> > >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
>> > >> > yamasaki07722 at gmail.com> wrote:
>> > >> >
>> > >> > > Hi John,
>> > >> > > Here is the PointStatConfig_tutorial :
>> > >> > >
>> > >> > > Best regards,
>> > >> > > yyamasaki
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > > //
>> > >> > > // Point-Stat configuration file.
>> > >> > > //
>> > >> > > // For additional information, see the
>> MET_BASE/data/config/README
>> > >> file.
>> > >> > > //
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > //
>> > >> > > // Output model name to be written
>> > >> > > //
>> > >> > > model = "WRF";
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > //
>> > >> > > // Forecast and observation fields to be verified
>> > >> > > //
>> > >> > > fcst = [
>> > >> > >      {
>> > >> > >        name       = "TMP";
>> > >> > >        level      = "Z2";
>> > >> > >        cat_thresh = [ >278, >283, >288 ];
>> > >> > >      },
>> > >> > >
>> > >> > >      {
>> > >> > >        name  = "TMP";
>> > >> > >        level = "P750-850";
>> > >> > >        cat_thresh = [ >278 ];
>> > >> > >      },
>> > >> > >
>> > >> > >      {
>> > >> > >        name  = "UGRD";
>> > >> > >        level = "Z10";
>> > >> > >        cat_thresh = [ >=5.0 ];
>> > >> > >      },
>> > >> > >
>> > >> > >      {
>> > >> > >        name  = "VGRD";
>> > >> > >        level = "Z10";
>> > >> > >        cat_thresh = [ >=5.0 ];
>> > >> > >      }
>> > >> > >    ];
>> > >> > > obs = fcst;
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > //
>> > >> > > // Point observation time window
>> > >> > > //
>> > >> > > obs_window = {
>> > >> > >    beg = -5400;
>> > >> > >    end =  5400;
>> > >> > > }
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > //
>> > >> > > // Verification masking regions
>> > >> > > //
>> > >> > > mask = {
>> > >> > >    grid = [ "G212" ];
>> > >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
>> > >> > "MET_BASE/data/poly/WEST.poly];
>> > >> > >    sid  = [];
>> > >> > > };
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > //
>> > >> > > // Confidence interval settings
>> > >> > > //
>> > >> > > ci_alpha  = [ 0.05 ];
>> > >> > >
>> > >> > > boot = {
>> > >> > >    interval = PCTILE;
>> > >> > >    rep_prop = 1.0;
>> > >> > >    n_rep    = 1000;
>> > >> > >    rng      = "mt19937";
>> > >> > >    seed     = "";
>> > >> > > };
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > //
>> > >> > > // Interpolation methods
>> > >> > > //
>> > >> > > interp = {
>> > >> > >    vld_thresh = 1.0;
>> > >> > >
>> > >> > >    type = [
>> > >> > >       {
>> > >> > >          method = UW_MEAN;
>> > >> > >          width  = 1;
>> > >> > >       }
>> > >> > > {
>> > >> > >        method = UW_MEAN;
>> > >> > >        width  = 5;
>> > >> > >      }
>> > >> > >    ];
>> > >> > > };
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > //
>> > >> > > // Statistical output types
>> > >> > > //
>> > >> > > output_flag = {
>> > >> > >    fho    = NONE;
>> > >> > >    ctc    = BOTH;
>> > >> > >    cts    = BOTH;
>> > >> > >    mctc   = BOTH;
>> > >> > >    mcts   = BOTH;
>> > >> > >    cnt    = BOTH;
>> > >> > >    sl1l2  = BOTH;
>> > >> > >    sal1l2 = NONE;
>> > >> > >    vl1l2  = NONE;
>> > >> > >    val1l2 = NONE;
>> > >> > >    pct    = NONE;
>> > >> > >    pstd   = NONE;
>> > >> > >    pjc    = NONE;
>> > >> > >    prc    = NONE;
>> > >> > >    mpr    = NONE;
>> > >> > > };
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > > obs_quality    = [];
>> > >> > > duplicate_flag = NONE;
>> > >> > > rank_corr_flag = TRUE;
>> > >> > > tmp_dir        = "/tmp";
>> > >> > > output_prefix  = "";
>> > >> > > version        = "V4.1";
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> >
>> > >>
>> >
>>
////////////////////////////////////////////////////////////////////////////////
>> > >> > >
>> > >> > >
>> > >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via RT
<
>> > >> > > met_help at ucar.edu> wrote:
>> > >> > >
>> > >> > >> Sure, happy to help.  I suspect there's some minor typo
in this
>> > file:
>> > >> > >>    tutorial/config/PointStatConfig_tutorial
>> > >> > >>
>> > >> > >> Can you please send me that file, and I'll take a look?
>> > >> > >>
>> > >> > >> Thanks,
>> > >> > >> John Halley Gotway
>> > >> > >> met_help at ucar.edu
>> > >> > >>
>> > >> > >>
>> > >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via
RT <
>> > >> > >> met_help at ucar.edu> wrote:
>> > >> > >>
>> > >> > >> >
>> > >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted upon.
>> > >> > >> > Transaction: Ticket created by yamasaki07722 at gmail.com
>> > >> > >> >        Queue: met_help
>> > >> > >> >      Subject: support requesting
>> > >> > >> >        Owner: Nobody
>> > >> > >> >   Requestors: yamasaki07722 at gmail.com
>> > >> > >> >       Status: new
>> > >> > >> >  Ticket <URL:
>> > >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
>> > >> > >
>> > >> > >> >
>> > >> > >> >
>> > >> > >> > Hi!
>> > >> > >> > I am having some problem, with MET tutorial, on pb2nc.
When I
>> run
>> > >> the
>> > >> > >> > tutorial I am having a segmentation fault ( even with
>> unlimited
>> > >> > >> > stacksize/etc..). The test_all.sh script did not give
me any
>> > error.
>> > >> > >> > Also, when I try to run the point-stat tools with
>> > >> > >> >
>> > >> > >> >
>> > >> > >> >
>> > >> > >> >
>> > >> > >> >
>> > >> > >> > *bin/point_stat \
>> > >> > >> >
>> data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
>> > >> > >> > tutorial/out/pb2nc/tutorial_pb.nc
<http://tutorial_pb.nc> \
>> > >> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
>> > >> > >> tutorial/out/point_stat
>> > >> > >> > \ -v 2*
>> > >> > >> > I get the folowing sintax error :
>> > >> > >> > DEBUG 1: User Config File:
>> > tutorial/config/PointStatConfig_tutorial
>> > >> > >> > ERROR  :
>> > >> > >> > ERROR  : yyerror() -> syntax error in file
>> > >> > >> > "tutorial/config/PointStatConfig_tutorial"
>> > >> > >> > ERROR  :
>> > >> > >> > ERROR  :    line   = 78
>> > >> > >> > ERROR  :
>> > >> > >> > ERROR  :    column = 16
>> > >> > >> > ERROR  :
>> > >> > >> > ERROR  :    text   = "mt19937"
>> > >> > >> > ERROR  :
>> > >> > >> > ERROR  :
>> > >> > >> > ERROR  :    rng      = "mt19937";
>> > >> > >> >
>> > >> > >> >   Can someone help me solve the problem
>> > >> > >> > best regards
>> > >> > >> > yyamasaki
>> > >> > >> >
>> > >> > >> >
>> > >> > >>
>> > >> > >>
>> > >> > >
>> > >> >
>> > >> >
>> > >>
>> > >>
>> > >
>> >
>> >
>>
>>
>

------------------------------------------------
Subject: support requesting
From: John Halley Gotway
Time: Wed Aug 13 14:02:15 2014

Yyamasaki,

Thanks for sending the test_all.log file.  I took a look inside of it
and
see that pb2nc is indeed producing a segfault for the test scripts:

*** Running PB2NC on a PREPBUFR file ***^M
DEBUG 1: Default Config File:
/home/modelos/teste/METv4.1/data/config/PB2NCConfig_default^M
DEBUG 1: User Config File: config/PB2NCConfig_G212^M
DEBUG 1: Creating NetCDF File:          ../out/pb2nc/sample_pb.nc^M
DEBUG 1: Processing PrepBufr File:      ../data/sample_obs/prepbufr/
ndas.t00z.prepbufr.tm12.20070401.nr^M
DEBUG 1: Blocking PrepBufr file to:     /tmp/tmp_pb2nc_blk_21813_0^M
./test_pb2nc.sh: line 9: 21813 Segmentation fault      (core dumped)
../bin/pb2nc
../data/sample_obs/prepbufr/ndas.t00z.prepbufr.tm12.20070401.nr
${TEST_OUT_DIR}/pb2nc/sample_pb.nc config/PB2NCConfig_G212 -v 2^M

Can you please attach a copy of your user_defs.mk file?

Thanks,
John


On Wed, Aug 13, 2014 at 1:48 PM, yoshihiro yamasaki via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>
> Hi John,
>
> The PB2NCConfig_turorial I am using is :
>
>
>
////////////////////////////////////////////////////////////////////////////////
> //
> // PB2NC configuration file.
> //
> // For additional information, see the MET_BASE/data/config/README
file.
> //
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // PrepBufr message type
> //
> message_type = ["ADPUPA", "ADPSFC"];
>
> //
> // PrepBufr station ID
> //
> station_id = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation time window
> //
> obs_window = {
>    beg = -1800;
>    end =  1800;
> }
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation retention regions
> //
> mask = {
>    grid = "G212";
>    poly = "";
> };
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observing location elevation
> //
> elevation_range = {
>    beg =  -1000;
>    end = 100000;
> }
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation types
> //
> pb_report_type  = [];
>
> in_report_type  = [];
>
> instrument_type = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Vertical levels to retain
> //
> level_range = {
>    beg = 1;
>    end = 255;
> }
>
> level_category = [];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> //
> // Observation values to retain or derive
> //
> obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> quality_mark_thresh = 2;
> event_stack_flag    = TOP;
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
> tmp_dir = "/tmp";
> version = "V4.1";
>
>
>
////////////////////////////////////////////////////////////////////////////////
>
>
>
> Can you please send me a copy of the user_defs.mk file you're using.
>
> I'mcurious what compilers you're using.
>
> I am using fedoracore with pgi 11.7
> -------------------------------------------------
>
>  I doubt the pb2nc segfault has
> anything to do with your configuration file.
>
> When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does PB2NC
> run or does it seg fault there as well?
>
> No seg fault a on test scripts
> seee attached file
>
>
>
> Best regards,
> yyamasaki
>
>
>
>
>
>
> On Wed, Aug 13, 2014 at 3:52 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Yyamasaki,
> >
> > Can you please send me a copy of the user_defs.mk file you're
using.
>  I'm
> > curious what compilers you're using.  I doubt the pb2nc segfault
has
> > anything to do with your configuration file.
> >
> > When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does
> PB2NC
> > run or does it seg fault there as well?
> >
> > Thanks,
> > John
> >
> >
> > On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > >
> > > Dear John,
> > >
> > > The PB at NCConfig_tutorial is :
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > //
> > > // PB2NC configuration file.
> > > //
> > > // For additional information, see the
MET_BASE/data/config/README
> file.
> > > //
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // PrepBufr message type
> > > //
> > > message_type = ["ADPUPA", "ADPSFC"];
> > >
> > > //
> > > // PrepBufr station ID
> > > //
> > > station_id = [];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation time window
> > > //
> > > obs_window = {
> > >    beg = -1800;
> > >    end =  1800;
> > > }
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation retention regions
> > > //
> > > mask = {
> > >    grid = "G212";
> > >    poly = "";
> > > };
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observing location elevation
> > > //
> > > elevation_range = {
> > >    beg =  -1000;
> > >    end = 100000;
> > > }
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation types
> > > //
> > > pb_report_type  = [];
> > >
> > > in_report_type  = [];
> > >
> > > instrument_type = [];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Vertical levels to retain
> > > //
> > > level_range = {
> > >    beg = 1;
> > >    end = 255;
> > > }
> > >
> > > level_category = [];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation values to retain or derive
> > > //
> > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > quality_mark_thresh = 2;
> > > event_stack_flag    = TOP;
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > tmp_dir = "/tmp";
> > > version = "V4.1";
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > >
> > >
> > > Thank you.
> > > yyamasaki
> > >
> > >
> > >
> > > On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
> > > yamasaki07722 at gmail.com
> > > > wrote:
> > >
> > > > Dear John,
> > > > I am sorry for that mistake on PointStatConfig_tutorial.
> > > > Now, let me see if you could help me with pb2nc (segmentation
fault):
> > > >
> > > >  bin/pb2nc data/sample_obs/prepbufr/
> > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > tutorial/out/pb2nc/tutorial_pb.nc
> tutorial/config/PB2NCConfig_tutorial
> > > -v
> > > > 2
> > > >
> > > >
> > > > DEBUG 1: Default Config File:
> > > > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> > > > DEBUG 1: User Config File:
tutorial/config/PB2NCConfig_tutorial
> > > > DEBUG 1: Creating NetCDF File:        tutorial/out/pb2nc/
> > tutorial_pb.nc
> > > > DEBUG 1: Processing PrepBufr File:
data/sample_obs/prepbufr/
> > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_32232_0
> > > > Segmentation fault (core dumped)
> > > >
> > > > best regards,
> > > > yyamasaki
> > > >
> > > >
> > > >
> > > > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > >> Yyamasaki,
> > > >>
> > > >> The problem is that the "message_type" setting is an array of
values
> > > that
> > > >> should be separated by commas.  Try separating multiple
values with
> > > >> commas,
> > > >> like this:
> > > >>    message_type = [ "ADPUPA", "ADPSFC"];
> > > >>
> > > >> That should fix the parsing error.
> > > >>
> > > >> Thanks,
> > > >> John
> > > >>
> > > >>
> > > >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT <
> > > >> met_help at ucar.edu> wrote:
> > > >>
> > > >> >
> > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > > >> >
> > > >> > Dear John,
> > > >> >
> > > >> > I figured out that when I do not include  "ADPSFC"  on
> > > >> >
> > > >> >  message_type = [ "ADPUPA" "ADPSFC"];
> > > >> >
> > > >> > the PointStatConfig_tutorial run with no problem.
> > > >> >
> > > >> > But when I include it I get an error:
> > > >> >
> > > >> >
> > > >> > DEBUG 1: Default Config File:
> > > >> >
/home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> > > >> > DEBUG 1: User Config File:
> tutorial/config/PointStatConfig_tutorial
> > > >> > ERROR  :
> > > >> > ERROR  : yyerror() -> syntax error in file
> > > >> > "tutorial/config/PointStatConfig_tutorial"
> > > >> > ERROR  :
> > > >> > ERROR  :    line   = 21
> > > >> > ERROR  :
> > > >> > ERROR  :    column = 35
> > > >> > ERROR  :
> > > >> > ERROR  :    text   = """
> > > >> > ERROR  :
> > > >> > ERROR  :
> > > >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> > > >> > ERROR  : __________________________________^____
> > > >> >
> > > >> >
> > > >> > Is this because of the segmentation fault problem I am
having with
> > > >> bp2nc ?
> > > >> >
> > > >> > Please ... do you have any suggestion about segmentation
fault in
> > the
> > > >> bp2nc
> > > >> > ?
> > > >> >
> > > >> > best regards,
> > > >> > yyamasaki
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
> > > >> > yamasaki07722 at gmail.com> wrote:
> > > >> >
> > > >> > > Hi John,
> > > >> > > Here is the PointStatConfig_tutorial :
> > > >> > >
> > > >> > > Best regards,
> > > >> > > yyamasaki
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > > //
> > > >> > > // Point-Stat configuration file.
> > > >> > > //
> > > >> > > // For additional information, see the
> MET_BASE/data/config/README
> > > >> file.
> > > >> > > //
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > //
> > > >> > > // Output model name to be written
> > > >> > > //
> > > >> > > model = "WRF";
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > //
> > > >> > > // Forecast and observation fields to be verified
> > > >> > > //
> > > >> > > fcst = [
> > > >> > >      {
> > > >> > >        name       = "TMP";
> > > >> > >        level      = "Z2";
> > > >> > >        cat_thresh = [ >278, >283, >288 ];
> > > >> > >      },
> > > >> > >
> > > >> > >      {
> > > >> > >        name  = "TMP";
> > > >> > >        level = "P750-850";
> > > >> > >        cat_thresh = [ >278 ];
> > > >> > >      },
> > > >> > >
> > > >> > >      {
> > > >> > >        name  = "UGRD";
> > > >> > >        level = "Z10";
> > > >> > >        cat_thresh = [ >=5.0 ];
> > > >> > >      },
> > > >> > >
> > > >> > >      {
> > > >> > >        name  = "VGRD";
> > > >> > >        level = "Z10";
> > > >> > >        cat_thresh = [ >=5.0 ];
> > > >> > >      }
> > > >> > >    ];
> > > >> > > obs = fcst;
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > //
> > > >> > > // Point observation time window
> > > >> > > //
> > > >> > > obs_window = {
> > > >> > >    beg = -5400;
> > > >> > >    end =  5400;
> > > >> > > }
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > //
> > > >> > > // Verification masking regions
> > > >> > > //
> > > >> > > mask = {
> > > >> > >    grid = [ "G212" ];
> > > >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> > > >> > "MET_BASE/data/poly/WEST.poly];
> > > >> > >    sid  = [];
> > > >> > > };
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > //
> > > >> > > // Confidence interval settings
> > > >> > > //
> > > >> > > ci_alpha  = [ 0.05 ];
> > > >> > >
> > > >> > > boot = {
> > > >> > >    interval = PCTILE;
> > > >> > >    rep_prop = 1.0;
> > > >> > >    n_rep    = 1000;
> > > >> > >    rng      = "mt19937";
> > > >> > >    seed     = "";
> > > >> > > };
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > //
> > > >> > > // Interpolation methods
> > > >> > > //
> > > >> > > interp = {
> > > >> > >    vld_thresh = 1.0;
> > > >> > >
> > > >> > >    type = [
> > > >> > >       {
> > > >> > >          method = UW_MEAN;
> > > >> > >          width  = 1;
> > > >> > >       }
> > > >> > > {
> > > >> > >        method = UW_MEAN;
> > > >> > >        width  = 5;
> > > >> > >      }
> > > >> > >    ];
> > > >> > > };
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > //
> > > >> > > // Statistical output types
> > > >> > > //
> > > >> > > output_flag = {
> > > >> > >    fho    = NONE;
> > > >> > >    ctc    = BOTH;
> > > >> > >    cts    = BOTH;
> > > >> > >    mctc   = BOTH;
> > > >> > >    mcts   = BOTH;
> > > >> > >    cnt    = BOTH;
> > > >> > >    sl1l2  = BOTH;
> > > >> > >    sal1l2 = NONE;
> > > >> > >    vl1l2  = NONE;
> > > >> > >    val1l2 = NONE;
> > > >> > >    pct    = NONE;
> > > >> > >    pstd   = NONE;
> > > >> > >    pjc    = NONE;
> > > >> > >    prc    = NONE;
> > > >> > >    mpr    = NONE;
> > > >> > > };
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > > obs_quality    = [];
> > > >> > > duplicate_flag = NONE;
> > > >> > > rank_corr_flag = TRUE;
> > > >> > > tmp_dir        = "/tmp";
> > > >> > > output_prefix  = "";
> > > >> > > version        = "V4.1";
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >> > >
> > > >> > >
> > > >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via
RT <
> > > >> > > met_help at ucar.edu> wrote:
> > > >> > >
> > > >> > >> Sure, happy to help.  I suspect there's some minor typo
in this
> > > file:
> > > >> > >>    tutorial/config/PointStatConfig_tutorial
> > > >> > >>
> > > >> > >> Can you please send me that file, and I'll take a look?
> > > >> > >>
> > > >> > >> Thanks,
> > > >> > >> John Halley Gotway
> > > >> > >> met_help at ucar.edu
> > > >> > >>
> > > >> > >>
> > > >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki via
RT <
> > > >> > >> met_help at ucar.edu> wrote:
> > > >> > >>
> > > >> > >> >
> > > >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted
upon.
> > > >> > >> > Transaction: Ticket created by yamasaki07722 at gmail.com
> > > >> > >> >        Queue: met_help
> > > >> > >> >      Subject: support requesting
> > > >> > >> >        Owner: Nobody
> > > >> > >> >   Requestors: yamasaki07722 at gmail.com
> > > >> > >> >       Status: new
> > > >> > >> >  Ticket <URL:
> > > >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > > >> > >
> > > >> > >> >
> > > >> > >> >
> > > >> > >> > Hi!
> > > >> > >> > I am having some problem, with MET tutorial, on pb2nc.
When I
> > run
> > > >> the
> > > >> > >> > tutorial I am having a segmentation fault ( even with
> unlimited
> > > >> > >> > stacksize/etc..). The test_all.sh script did not give
me any
> > > error.
> > > >> > >> > Also, when I try to run the point-stat tools with
> > > >> > >> >
> > > >> > >> >
> > > >> > >> >
> > > >> > >> >
> > > >> > >> >
> > > >> > >> > *bin/point_stat \
> > > >> > >> >
> > data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> > > >> > >> > tutorial/out/pb2nc/tutorial_pb.nc
<http://tutorial_pb.nc> \
> > > >> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
> > > >> > >> tutorial/out/point_stat
> > > >> > >> > \ -v 2*
> > > >> > >> > I get the folowing sintax error :
> > > >> > >> > DEBUG 1: User Config File:
> > > tutorial/config/PointStatConfig_tutorial
> > > >> > >> > ERROR  :
> > > >> > >> > ERROR  : yyerror() -> syntax error in file
> > > >> > >> > "tutorial/config/PointStatConfig_tutorial"
> > > >> > >> > ERROR  :
> > > >> > >> > ERROR  :    line   = 78
> > > >> > >> > ERROR  :
> > > >> > >> > ERROR  :    column = 16
> > > >> > >> > ERROR  :
> > > >> > >> > ERROR  :    text   = "mt19937"
> > > >> > >> > ERROR  :
> > > >> > >> > ERROR  :
> > > >> > >> > ERROR  :    rng      = "mt19937";
> > > >> > >> >
> > > >> > >> >   Can someone help me solve the problem
> > > >> > >> > best regards
> > > >> > >> > yyamasaki
> > > >> > >> >
> > > >> > >> >
> > > >> > >>
> > > >> > >>
> > > >> > >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Wed Aug 13 15:05:14 2014

Hi John,
Please find enclosed my user_defs.mk.
thank you


On Wed, Aug 13, 2014 at 5:02 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Yyamasaki,
>
> Thanks for sending the test_all.log file.  I took a look inside of
it and
> see that pb2nc is indeed producing a segfault for the test scripts:
>
> *** Running PB2NC on a PREPBUFR file ***^M
> DEBUG 1: Default Config File:
> /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default^M
> DEBUG 1: User Config File: config/PB2NCConfig_G212^M
> DEBUG 1: Creating NetCDF File:          ../out/pb2nc/sample_pb.nc^M
> DEBUG 1: Processing PrepBufr File:      ../data/sample_obs/prepbufr/
> ndas.t00z.prepbufr.tm12.20070401.nr^M
> DEBUG 1: Blocking PrepBufr file to:     /tmp/tmp_pb2nc_blk_21813_0^M
> ./test_pb2nc.sh: line 9: 21813 Segmentation fault      (core dumped)
> ../bin/pb2nc ../data/sample_obs/prepbufr/
> ndas.t00z.prepbufr.tm12.20070401.nr
> ${TEST_OUT_DIR}/pb2nc/sample_pb.nc config/PB2NCConfig_G212 -v 2^M
>
> Can you please attach a copy of your user_defs.mk file?
>
> Thanks,
> John
>
>
> On Wed, Aug 13, 2014 at 1:48 PM, yoshihiro yamasaki via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> >
> > Hi John,
> >
> > The PB2NCConfig_turorial I am using is :
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > //
> > // PB2NC configuration file.
> > //
> > // For additional information, see the MET_BASE/data/config/README
file.
> > //
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // PrepBufr message type
> > //
> > message_type = ["ADPUPA", "ADPSFC"];
> >
> > //
> > // PrepBufr station ID
> > //
> > station_id = [];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation time window
> > //
> > obs_window = {
> >    beg = -1800;
> >    end =  1800;
> > }
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation retention regions
> > //
> > mask = {
> >    grid = "G212";
> >    poly = "";
> > };
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observing location elevation
> > //
> > elevation_range = {
> >    beg =  -1000;
> >    end = 100000;
> > }
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation types
> > //
> > pb_report_type  = [];
> >
> > in_report_type  = [];
> >
> > instrument_type = [];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Vertical levels to retain
> > //
> > level_range = {
> >    beg = 1;
> >    end = 255;
> > }
> >
> > level_category = [];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > //
> > // Observation values to retain or derive
> > //
> > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > quality_mark_thresh = 2;
> > event_stack_flag    = TOP;
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> > tmp_dir = "/tmp";
> > version = "V4.1";
> >
> >
> >
>
////////////////////////////////////////////////////////////////////////////////
> >
> >
> >
> > Can you please send me a copy of the user_defs.mk file you're
using.
> >
> > I'mcurious what compilers you're using.
> >
> > I am using fedoracore with pgi 11.7
> > -------------------------------------------------
> >
> >  I doubt the pb2nc segfault has
> > anything to do with your configuration file.
> >
> > When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does
> PB2NC
> > run or does it seg fault there as well?
> >
> > No seg fault a on test scripts
> > seee attached file
> >
> >
> >
> > Best regards,
> > yyamasaki
> >
> >
> >
> >
> >
> >
> > On Wed, Aug 13, 2014 at 3:52 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Yyamasaki,
> > >
> > > Can you please send me a copy of the user_defs.mk file you're
using.
> >  I'm
> > > curious what compilers you're using.  I doubt the pb2nc segfault
has
> > > anything to do with your configuration file.
> > >
> > > When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does
> > PB2NC
> > > run or does it seg fault there as well?
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
>
> > > >
> > > > Dear John,
> > > >
> > > > The PB at NCConfig_tutorial is :
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > //
> > > > // PB2NC configuration file.
> > > > //
> > > > // For additional information, see the
MET_BASE/data/config/README
> > file.
> > > > //
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // PrepBufr message type
> > > > //
> > > > message_type = ["ADPUPA", "ADPSFC"];
> > > >
> > > > //
> > > > // PrepBufr station ID
> > > > //
> > > > station_id = [];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation time window
> > > > //
> > > > obs_window = {
> > > >    beg = -1800;
> > > >    end =  1800;
> > > > }
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation retention regions
> > > > //
> > > > mask = {
> > > >    grid = "G212";
> > > >    poly = "";
> > > > };
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observing location elevation
> > > > //
> > > > elevation_range = {
> > > >    beg =  -1000;
> > > >    end = 100000;
> > > > }
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation types
> > > > //
> > > > pb_report_type  = [];
> > > >
> > > > in_report_type  = [];
> > > >
> > > > instrument_type = [];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Vertical levels to retain
> > > > //
> > > > level_range = {
> > > >    beg = 1;
> > > >    end = 255;
> > > > }
> > > >
> > > > level_category = [];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation values to retain or derive
> > > > //
> > > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH"
];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > quality_mark_thresh = 2;
> > > > event_stack_flag    = TOP;
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > tmp_dir = "/tmp";
> > > > version = "V4.1";
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > >
> > > >
> > > > Thank you.
> > > > yyamasaki
> > > >
> > > >
> > > >
> > > > On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
> > > > yamasaki07722 at gmail.com
> > > > > wrote:
> > > >
> > > > > Dear John,
> > > > > I am sorry for that mistake on PointStatConfig_tutorial.
> > > > > Now, let me see if you could help me with pb2nc
(segmentation
> fault):
> > > > >
> > > > >  bin/pb2nc data/sample_obs/prepbufr/
> > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > tutorial/out/pb2nc/tutorial_pb.nc
> > tutorial/config/PB2NCConfig_tutorial
> > > > -v
> > > > > 2
> > > > >
> > > > >
> > > > > DEBUG 1: Default Config File:
> > > > > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> > > > > DEBUG 1: User Config File:
tutorial/config/PB2NCConfig_tutorial
> > > > > DEBUG 1: Creating NetCDF File:        tutorial/out/pb2nc/
> > > tutorial_pb.nc
> > > > > DEBUG 1: Processing PrepBufr File:
data/sample_obs/prepbufr/
> > > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_32232_0
> > > > > Segmentation fault (core dumped)
> > > > >
> > > > > best regards,
> > > > > yyamasaki
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > >> Yyamasaki,
> > > > >>
> > > > >> The problem is that the "message_type" setting is an array
of
> values
> > > > that
> > > > >> should be separated by commas.  Try separating multiple
values
> with
> > > > >> commas,
> > > > >> like this:
> > > > >>    message_type = [ "ADPUPA", "ADPSFC"];
> > > > >>
> > > > >> That should fix the parsing error.
> > > > >>
> > > > >> Thanks,
> > > > >> John
> > > > >>
> > > > >>
> > > > >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via RT
<
> > > > >> met_help at ucar.edu> wrote:
> > > > >>
> > > > >> >
> > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > > > >> >
> > > > >> > Dear John,
> > > > >> >
> > > > >> > I figured out that when I do not include  "ADPSFC"  on
> > > > >> >
> > > > >> >  message_type = [ "ADPUPA" "ADPSFC"];
> > > > >> >
> > > > >> > the PointStatConfig_tutorial run with no problem.
> > > > >> >
> > > > >> > But when I include it I get an error:
> > > > >> >
> > > > >> >
> > > > >> > DEBUG 1: Default Config File:
> > > > >> >
/home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> > > > >> > DEBUG 1: User Config File:
> > tutorial/config/PointStatConfig_tutorial
> > > > >> > ERROR  :
> > > > >> > ERROR  : yyerror() -> syntax error in file
> > > > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > >> > ERROR  :
> > > > >> > ERROR  :    line   = 21
> > > > >> > ERROR  :
> > > > >> > ERROR  :    column = 35
> > > > >> > ERROR  :
> > > > >> > ERROR  :    text   = """
> > > > >> > ERROR  :
> > > > >> > ERROR  :
> > > > >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> > > > >> > ERROR  : __________________________________^____
> > > > >> >
> > > > >> >
> > > > >> > Is this because of the segmentation fault problem I am
having
> with
> > > > >> bp2nc ?
> > > > >> >
> > > > >> > Please ... do you have any suggestion about segmentation
fault
> in
> > > the
> > > > >> bp2nc
> > > > >> > ?
> > > > >> >
> > > > >> > best regards,
> > > > >> > yyamasaki
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
> > > > >> > yamasaki07722 at gmail.com> wrote:
> > > > >> >
> > > > >> > > Hi John,
> > > > >> > > Here is the PointStatConfig_tutorial :
> > > > >> > >
> > > > >> > > Best regards,
> > > > >> > > yyamasaki
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > > //
> > > > >> > > // Point-Stat configuration file.
> > > > >> > > //
> > > > >> > > // For additional information, see the
> > MET_BASE/data/config/README
> > > > >> file.
> > > > >> > > //
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > //
> > > > >> > > // Output model name to be written
> > > > >> > > //
> > > > >> > > model = "WRF";
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > //
> > > > >> > > // Forecast and observation fields to be verified
> > > > >> > > //
> > > > >> > > fcst = [
> > > > >> > >      {
> > > > >> > >        name       = "TMP";
> > > > >> > >        level      = "Z2";
> > > > >> > >        cat_thresh = [ >278, >283, >288 ];
> > > > >> > >      },
> > > > >> > >
> > > > >> > >      {
> > > > >> > >        name  = "TMP";
> > > > >> > >        level = "P750-850";
> > > > >> > >        cat_thresh = [ >278 ];
> > > > >> > >      },
> > > > >> > >
> > > > >> > >      {
> > > > >> > >        name  = "UGRD";
> > > > >> > >        level = "Z10";
> > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > >> > >      },
> > > > >> > >
> > > > >> > >      {
> > > > >> > >        name  = "VGRD";
> > > > >> > >        level = "Z10";
> > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > >> > >      }
> > > > >> > >    ];
> > > > >> > > obs = fcst;
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > //
> > > > >> > > // Point observation time window
> > > > >> > > //
> > > > >> > > obs_window = {
> > > > >> > >    beg = -5400;
> > > > >> > >    end =  5400;
> > > > >> > > }
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > //
> > > > >> > > // Verification masking regions
> > > > >> > > //
> > > > >> > > mask = {
> > > > >> > >    grid = [ "G212" ];
> > > > >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> > > > >> > "MET_BASE/data/poly/WEST.poly];
> > > > >> > >    sid  = [];
> > > > >> > > };
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > //
> > > > >> > > // Confidence interval settings
> > > > >> > > //
> > > > >> > > ci_alpha  = [ 0.05 ];
> > > > >> > >
> > > > >> > > boot = {
> > > > >> > >    interval = PCTILE;
> > > > >> > >    rep_prop = 1.0;
> > > > >> > >    n_rep    = 1000;
> > > > >> > >    rng      = "mt19937";
> > > > >> > >    seed     = "";
> > > > >> > > };
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > //
> > > > >> > > // Interpolation methods
> > > > >> > > //
> > > > >> > > interp = {
> > > > >> > >    vld_thresh = 1.0;
> > > > >> > >
> > > > >> > >    type = [
> > > > >> > >       {
> > > > >> > >          method = UW_MEAN;
> > > > >> > >          width  = 1;
> > > > >> > >       }
> > > > >> > > {
> > > > >> > >        method = UW_MEAN;
> > > > >> > >        width  = 5;
> > > > >> > >      }
> > > > >> > >    ];
> > > > >> > > };
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > //
> > > > >> > > // Statistical output types
> > > > >> > > //
> > > > >> > > output_flag = {
> > > > >> > >    fho    = NONE;
> > > > >> > >    ctc    = BOTH;
> > > > >> > >    cts    = BOTH;
> > > > >> > >    mctc   = BOTH;
> > > > >> > >    mcts   = BOTH;
> > > > >> > >    cnt    = BOTH;
> > > > >> > >    sl1l2  = BOTH;
> > > > >> > >    sal1l2 = NONE;
> > > > >> > >    vl1l2  = NONE;
> > > > >> > >    val1l2 = NONE;
> > > > >> > >    pct    = NONE;
> > > > >> > >    pstd   = NONE;
> > > > >> > >    pjc    = NONE;
> > > > >> > >    prc    = NONE;
> > > > >> > >    mpr    = NONE;
> > > > >> > > };
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > > obs_quality    = [];
> > > > >> > > duplicate_flag = NONE;
> > > > >> > > rank_corr_flag = TRUE;
> > > > >> > > tmp_dir        = "/tmp";
> > > > >> > > output_prefix  = "";
> > > > >> > > version        = "V4.1";
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >> > >
> > > > >> > >
> > > > >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway via
RT <
> > > > >> > > met_help at ucar.edu> wrote:
> > > > >> > >
> > > > >> > >> Sure, happy to help.  I suspect there's some minor
typo in
> this
> > > > file:
> > > > >> > >>    tutorial/config/PointStatConfig_tutorial
> > > > >> > >>
> > > > >> > >> Can you please send me that file, and I'll take a
look?
> > > > >> > >>
> > > > >> > >> Thanks,
> > > > >> > >> John Halley Gotway
> > > > >> > >> met_help at ucar.edu
> > > > >> > >>
> > > > >> > >>
> > > > >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki
via RT <
> > > > >> > >> met_help at ucar.edu> wrote:
> > > > >> > >>
> > > > >> > >> >
> > > > >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted
upon.
> > > > >> > >> > Transaction: Ticket created by
yamasaki07722 at gmail.com
> > > > >> > >> >        Queue: met_help
> > > > >> > >> >      Subject: support requesting
> > > > >> > >> >        Owner: Nobody
> > > > >> > >> >   Requestors: yamasaki07722 at gmail.com
> > > > >> > >> >       Status: new
> > > > >> > >> >  Ticket <URL:
> > > > >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > > > >> > >
> > > > >> > >> >
> > > > >> > >> >
> > > > >> > >> > Hi!
> > > > >> > >> > I am having some problem, with MET tutorial, on
pb2nc.
> When I
> > > run
> > > > >> the
> > > > >> > >> > tutorial I am having a segmentation fault ( even
with
> > unlimited
> > > > >> > >> > stacksize/etc..). The test_all.sh script did not
give me
> any
> > > > error.
> > > > >> > >> > Also, when I try to run the point-stat tools with
> > > > >> > >> >
> > > > >> > >> >
> > > > >> > >> >
> > > > >> > >> >
> > > > >> > >> >
> > > > >> > >> > *bin/point_stat \
> > > > >> > >> >
> > > data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb
\
> > > > >> > >> > tutorial/out/pb2nc/tutorial_pb.nc
<http://tutorial_pb.nc>
> \
> > > > >> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
> > > > >> > >> tutorial/out/point_stat
> > > > >> > >> > \ -v 2*
> > > > >> > >> > I get the folowing sintax error :
> > > > >> > >> > DEBUG 1: User Config File:
> > > > tutorial/config/PointStatConfig_tutorial
> > > > >> > >> > ERROR  :
> > > > >> > >> > ERROR  : yyerror() -> syntax error in file
> > > > >> > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > >> > >> > ERROR  :
> > > > >> > >> > ERROR  :    line   = 78
> > > > >> > >> > ERROR  :
> > > > >> > >> > ERROR  :    column = 16
> > > > >> > >> > ERROR  :
> > > > >> > >> > ERROR  :    text   = "mt19937"
> > > > >> > >> > ERROR  :
> > > > >> > >> > ERROR  :
> > > > >> > >> > ERROR  :    rng      = "mt19937";
> > > > >> > >> >
> > > > >> > >> >   Can someone help me solve the problem
> > > > >> > >> > best regards
> > > > >> > >> > yyamasaki
> > > > >> > >> >
> > > > >> > >> >
> > > > >> > >>
> > > > >> > >>
> > > > >> > >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: support requesting
From: John Halley Gotway
Time: Wed Aug 13 15:51:30 2014

Yyamasaki,

If you haven't already done so, please apply the latest set of patched
for
METv4.1:
   http://www.dtcenter.org/met/users/support/known_issues/METv4.1/index.php

The only real difference I see in your user_def.mk file is that you've
added the "-pgf90libs" library on the "FC_LIBS" line.  Why was that
necessary?  Were you getting an undefined reference to something?

Are you sure that all of the libraries on which MET depends have been
compiled with the same set of compilers?  PGI version 11.7?  In
particular,
make sure that BUFRLIB was compiled with them because PB2NC is the
only
tool that links to BUFRLIB.

You could try recompiling BUFRLIB with the following commands:
  cd BUFRLIB
  rm *.o *.a
  pgcc -c -DUNDERSCORE *.c
  pgf77 -c -DUNDERSCORE -Mnosecond_underscore *.f *.F
  ar crv libbufr.a *.o

And then try recompiling MET, being sure to do a "make clean" first.

You could also try removing the "-DBLOCK4" setting from ARCH_FLAGS,
and
recompiling.

I'm just guessing here.  It's difficult to know what's causing the
problem
on your system.

Thanks,
John




On Wed, Aug 13, 2014 at 3:05 PM, yoshihiro yamasaki via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>
> Hi John,
> Please find enclosed my user_defs.mk.
> thank you
>
>
> On Wed, Aug 13, 2014 at 5:02 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Yyamasaki,
> >
> > Thanks for sending the test_all.log file.  I took a look inside of
it and
> > see that pb2nc is indeed producing a segfault for the test
scripts:
> >
> > *** Running PB2NC on a PREPBUFR file ***^M
> > DEBUG 1: Default Config File:
> > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default^M
> > DEBUG 1: User Config File: config/PB2NCConfig_G212^M
> > DEBUG 1: Creating NetCDF File:
../out/pb2nc/sample_pb.nc^M
> > DEBUG 1: Processing PrepBufr File:
../data/sample_obs/prepbufr/
> > ndas.t00z.prepbufr.tm12.20070401.nr^M
> > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_21813_0^M
> > ./test_pb2nc.sh: line 9: 21813 Segmentation fault      (core
dumped)
> > ../bin/pb2nc ../data/sample_obs/prepbufr/
> > ndas.t00z.prepbufr.tm12.20070401.nr
> > ${TEST_OUT_DIR}/pb2nc/sample_pb.nc config/PB2NCConfig_G212 -v 2^M
> >
> > Can you please attach a copy of your user_defs.mk file?
> >
> > Thanks,
> > John
> >
> >
> > On Wed, Aug 13, 2014 at 1:48 PM, yoshihiro yamasaki via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > >
> > > Hi John,
> > >
> > > The PB2NCConfig_turorial I am using is :
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > //
> > > // PB2NC configuration file.
> > > //
> > > // For additional information, see the
MET_BASE/data/config/README
> file.
> > > //
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // PrepBufr message type
> > > //
> > > message_type = ["ADPUPA", "ADPSFC"];
> > >
> > > //
> > > // PrepBufr station ID
> > > //
> > > station_id = [];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation time window
> > > //
> > > obs_window = {
> > >    beg = -1800;
> > >    end =  1800;
> > > }
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation retention regions
> > > //
> > > mask = {
> > >    grid = "G212";
> > >    poly = "";
> > > };
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observing location elevation
> > > //
> > > elevation_range = {
> > >    beg =  -1000;
> > >    end = 100000;
> > > }
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation types
> > > //
> > > pb_report_type  = [];
> > >
> > > in_report_type  = [];
> > >
> > > instrument_type = [];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Vertical levels to retain
> > > //
> > > level_range = {
> > >    beg = 1;
> > >    end = 255;
> > > }
> > >
> > > level_category = [];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > //
> > > // Observation values to retain or derive
> > > //
> > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH" ];
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > quality_mark_thresh = 2;
> > > event_stack_flag    = TOP;
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > > tmp_dir = "/tmp";
> > > version = "V4.1";
> > >
> > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > >
> > >
> > >
> > > Can you please send me a copy of the user_defs.mk file you're
using.
> > >
> > > I'mcurious what compilers you're using.
> > >
> > > I am using fedoracore with pgi 11.7
> > > -------------------------------------------------
> > >
> > >  I doubt the pb2nc segfault has
> > > anything to do with your configuration file.
> > >
> > > When you run the MET test scripts (METv4.1/scripts/test_all.sh),
does
> > PB2NC
> > > run or does it seg fault there as well?
> > >
> > > No seg fault a on test scripts
> > > seee attached file
> > >
> > >
> > >
> > > Best regards,
> > > yyamasaki
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Wed, Aug 13, 2014 at 3:52 PM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > > Yyamasaki,
> > > >
> > > > Can you please send me a copy of the user_defs.mk file you're
using.
> > >  I'm
> > > > curious what compilers you're using.  I doubt the pb2nc
segfault has
> > > > anything to do with your configuration file.
> > > >
> > > > When you run the MET test scripts
(METv4.1/scripts/test_all.sh), does
> > > PB2NC
> > > > run or does it seg fault there as well?
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > > > >
> > > > > Dear John,
> > > > >
> > > > > The PB at NCConfig_tutorial is :
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > //
> > > > > // PB2NC configuration file.
> > > > > //
> > > > > // For additional information, see the
MET_BASE/data/config/README
> > > file.
> > > > > //
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // PrepBufr message type
> > > > > //
> > > > > message_type = ["ADPUPA", "ADPSFC"];
> > > > >
> > > > > //
> > > > > // PrepBufr station ID
> > > > > //
> > > > > station_id = [];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation time window
> > > > > //
> > > > > obs_window = {
> > > > >    beg = -1800;
> > > > >    end =  1800;
> > > > > }
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation retention regions
> > > > > //
> > > > > mask = {
> > > > >    grid = "G212";
> > > > >    poly = "";
> > > > > };
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observing location elevation
> > > > > //
> > > > > elevation_range = {
> > > > >    beg =  -1000;
> > > > >    end = 100000;
> > > > > }
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation types
> > > > > //
> > > > > pb_report_type  = [];
> > > > >
> > > > > in_report_type  = [];
> > > > >
> > > > > instrument_type = [];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Vertical levels to retain
> > > > > //
> > > > > level_range = {
> > > > >    beg = 1;
> > > > >    end = 255;
> > > > > }
> > > > >
> > > > > level_category = [];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation values to retain or derive
> > > > > //
> > > > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND",
"RH" ];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > quality_mark_thresh = 2;
> > > > > event_stack_flag    = TOP;
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > tmp_dir = "/tmp";
> > > > > version = "V4.1";
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > >
> > > > >
> > > > > Thank you.
> > > > > yyamasaki
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
> > > > > yamasaki07722 at gmail.com
> > > > > > wrote:
> > > > >
> > > > > > Dear John,
> > > > > > I am sorry for that mistake on PointStatConfig_tutorial.
> > > > > > Now, let me see if you could help me with pb2nc
(segmentation
> > fault):
> > > > > >
> > > > > >  bin/pb2nc data/sample_obs/prepbufr/
> > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > > tutorial/out/pb2nc/tutorial_pb.nc
> > > tutorial/config/PB2NCConfig_tutorial
> > > > > -v
> > > > > > 2
> > > > > >
> > > > > >
> > > > > > DEBUG 1: Default Config File:
> > > > > >
/home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> > > > > > DEBUG 1: User Config File:
tutorial/config/PB2NCConfig_tutorial
> > > > > > DEBUG 1: Creating NetCDF File:        tutorial/out/pb2nc/
> > > > tutorial_pb.nc
> > > > > > DEBUG 1: Processing PrepBufr File:
data/sample_obs/prepbufr/
> > > > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_32232_0
> > > > > > Segmentation fault (core dumped)
> > > > > >
> > > > > > best regards,
> > > > > > yyamasaki
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via RT
<
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > >> Yyamasaki,
> > > > > >>
> > > > > >> The problem is that the "message_type" setting is an
array of
> > values
> > > > > that
> > > > > >> should be separated by commas.  Try separating multiple
values
> > with
> > > > > >> commas,
> > > > > >> like this:
> > > > > >>    message_type = [ "ADPUPA", "ADPSFC"];
> > > > > >>
> > > > > >> That should fix the parsing error.
> > > > > >>
> > > > > >> Thanks,
> > > > > >> John
> > > > > >>
> > > > > >>
> > > > > >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via
RT <
> > > > > >> met_help at ucar.edu> wrote:
> > > > > >>
> > > > > >> >
> > > > > >> > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> >
> > > > > >> >
> > > > > >> > Dear John,
> > > > > >> >
> > > > > >> > I figured out that when I do not include  "ADPSFC"  on
> > > > > >> >
> > > > > >> >  message_type = [ "ADPUPA" "ADPSFC"];
> > > > > >> >
> > > > > >> > the PointStatConfig_tutorial run with no problem.
> > > > > >> >
> > > > > >> > But when I include it I get an error:
> > > > > >> >
> > > > > >> >
> > > > > >> > DEBUG 1: Default Config File:
> > > > > >> >
> /home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> > > > > >> > DEBUG 1: User Config File:
> > > tutorial/config/PointStatConfig_tutorial
> > > > > >> > ERROR  :
> > > > > >> > ERROR  : yyerror() -> syntax error in file
> > > > > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > > >> > ERROR  :
> > > > > >> > ERROR  :    line   = 21
> > > > > >> > ERROR  :
> > > > > >> > ERROR  :    column = 35
> > > > > >> > ERROR  :
> > > > > >> > ERROR  :    text   = """
> > > > > >> > ERROR  :
> > > > > >> > ERROR  :
> > > > > >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> > > > > >> > ERROR  : __________________________________^____
> > > > > >> >
> > > > > >> >
> > > > > >> > Is this because of the segmentation fault problem I am
having
> > with
> > > > > >> bp2nc ?
> > > > > >> >
> > > > > >> > Please ... do you have any suggestion about
segmentation fault
> > in
> > > > the
> > > > > >> bp2nc
> > > > > >> > ?
> > > > > >> >
> > > > > >> > best regards,
> > > > > >> > yyamasaki
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> >
> > > > > >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki <
> > > > > >> > yamasaki07722 at gmail.com> wrote:
> > > > > >> >
> > > > > >> > > Hi John,
> > > > > >> > > Here is the PointStatConfig_tutorial :
> > > > > >> > >
> > > > > >> > > Best regards,
> > > > > >> > > yyamasaki
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > > //
> > > > > >> > > // Point-Stat configuration file.
> > > > > >> > > //
> > > > > >> > > // For additional information, see the
> > > MET_BASE/data/config/README
> > > > > >> file.
> > > > > >> > > //
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > //
> > > > > >> > > // Output model name to be written
> > > > > >> > > //
> > > > > >> > > model = "WRF";
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > //
> > > > > >> > > // Forecast and observation fields to be verified
> > > > > >> > > //
> > > > > >> > > fcst = [
> > > > > >> > >      {
> > > > > >> > >        name       = "TMP";
> > > > > >> > >        level      = "Z2";
> > > > > >> > >        cat_thresh = [ >278, >283, >288 ];
> > > > > >> > >      },
> > > > > >> > >
> > > > > >> > >      {
> > > > > >> > >        name  = "TMP";
> > > > > >> > >        level = "P750-850";
> > > > > >> > >        cat_thresh = [ >278 ];
> > > > > >> > >      },
> > > > > >> > >
> > > > > >> > >      {
> > > > > >> > >        name  = "UGRD";
> > > > > >> > >        level = "Z10";
> > > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > > >> > >      },
> > > > > >> > >
> > > > > >> > >      {
> > > > > >> > >        name  = "VGRD";
> > > > > >> > >        level = "Z10";
> > > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > > >> > >      }
> > > > > >> > >    ];
> > > > > >> > > obs = fcst;
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > //
> > > > > >> > > // Point observation time window
> > > > > >> > > //
> > > > > >> > > obs_window = {
> > > > > >> > >    beg = -5400;
> > > > > >> > >    end =  5400;
> > > > > >> > > }
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > //
> > > > > >> > > // Verification masking regions
> > > > > >> > > //
> > > > > >> > > mask = {
> > > > > >> > >    grid = [ "G212" ];
> > > > > >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> > > > > >> > "MET_BASE/data/poly/WEST.poly];
> > > > > >> > >    sid  = [];
> > > > > >> > > };
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > //
> > > > > >> > > // Confidence interval settings
> > > > > >> > > //
> > > > > >> > > ci_alpha  = [ 0.05 ];
> > > > > >> > >
> > > > > >> > > boot = {
> > > > > >> > >    interval = PCTILE;
> > > > > >> > >    rep_prop = 1.0;
> > > > > >> > >    n_rep    = 1000;
> > > > > >> > >    rng      = "mt19937";
> > > > > >> > >    seed     = "";
> > > > > >> > > };
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > //
> > > > > >> > > // Interpolation methods
> > > > > >> > > //
> > > > > >> > > interp = {
> > > > > >> > >    vld_thresh = 1.0;
> > > > > >> > >
> > > > > >> > >    type = [
> > > > > >> > >       {
> > > > > >> > >          method = UW_MEAN;
> > > > > >> > >          width  = 1;
> > > > > >> > >       }
> > > > > >> > > {
> > > > > >> > >        method = UW_MEAN;
> > > > > >> > >        width  = 5;
> > > > > >> > >      }
> > > > > >> > >    ];
> > > > > >> > > };
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > //
> > > > > >> > > // Statistical output types
> > > > > >> > > //
> > > > > >> > > output_flag = {
> > > > > >> > >    fho    = NONE;
> > > > > >> > >    ctc    = BOTH;
> > > > > >> > >    cts    = BOTH;
> > > > > >> > >    mctc   = BOTH;
> > > > > >> > >    mcts   = BOTH;
> > > > > >> > >    cnt    = BOTH;
> > > > > >> > >    sl1l2  = BOTH;
> > > > > >> > >    sal1l2 = NONE;
> > > > > >> > >    vl1l2  = NONE;
> > > > > >> > >    val1l2 = NONE;
> > > > > >> > >    pct    = NONE;
> > > > > >> > >    pstd   = NONE;
> > > > > >> > >    pjc    = NONE;
> > > > > >> > >    prc    = NONE;
> > > > > >> > >    mpr    = NONE;
> > > > > >> > > };
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > > obs_quality    = [];
> > > > > >> > > duplicate_flag = NONE;
> > > > > >> > > rank_corr_flag = TRUE;
> > > > > >> > > tmp_dir        = "/tmp";
> > > > > >> > > output_prefix  = "";
> > > > > >> > > version        = "V4.1";
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway
via RT <
> > > > > >> > > met_help at ucar.edu> wrote:
> > > > > >> > >
> > > > > >> > >> Sure, happy to help.  I suspect there's some minor
typo in
> > this
> > > > > file:
> > > > > >> > >>    tutorial/config/PointStatConfig_tutorial
> > > > > >> > >>
> > > > > >> > >> Can you please send me that file, and I'll take a
look?
> > > > > >> > >>
> > > > > >> > >> Thanks,
> > > > > >> > >> John Halley Gotway
> > > > > >> > >> met_help at ucar.edu
> > > > > >> > >>
> > > > > >> > >>
> > > > > >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro yamasaki
via
> RT <
> > > > > >> > >> met_help at ucar.edu> wrote:
> > > > > >> > >>
> > > > > >> > >> >
> > > > > >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was acted
upon.
> > > > > >> > >> > Transaction: Ticket created by
yamasaki07722 at gmail.com
> > > > > >> > >> >        Queue: met_help
> > > > > >> > >> >      Subject: support requesting
> > > > > >> > >> >        Owner: Nobody
> > > > > >> > >> >   Requestors: yamasaki07722 at gmail.com
> > > > > >> > >> >       Status: new
> > > > > >> > >> >  Ticket <URL:
> > > > > >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > > > > >> > >
> > > > > >> > >> >
> > > > > >> > >> >
> > > > > >> > >> > Hi!
> > > > > >> > >> > I am having some problem, with MET tutorial, on
pb2nc.
> > When I
> > > > run
> > > > > >> the
> > > > > >> > >> > tutorial I am having a segmentation fault ( even
with
> > > unlimited
> > > > > >> > >> > stacksize/etc..). The test_all.sh script did not
give me
> > any
> > > > > error.
> > > > > >> > >> > Also, when I try to run the point-stat tools with
> > > > > >> > >> >
> > > > > >> > >> >
> > > > > >> > >> >
> > > > > >> > >> >
> > > > > >> > >> >
> > > > > >> > >> > *bin/point_stat \
> > > > > >> > >> >
> > > >
data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> > > > > >> > >> > tutorial/out/pb2nc/tutorial_pb.nc
<http://tutorial_pb.nc
> >
> > \
> > > > > >> > >> > tutorial/config/PointStatConfig_tutorial \ -outdir
> > > > > >> > >> tutorial/out/point_stat
> > > > > >> > >> > \ -v 2*
> > > > > >> > >> > I get the folowing sintax error :
> > > > > >> > >> > DEBUG 1: User Config File:
> > > > > tutorial/config/PointStatConfig_tutorial
> > > > > >> > >> > ERROR  :
> > > > > >> > >> > ERROR  : yyerror() -> syntax error in file
> > > > > >> > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > > >> > >> > ERROR  :
> > > > > >> > >> > ERROR  :    line   = 78
> > > > > >> > >> > ERROR  :
> > > > > >> > >> > ERROR  :    column = 16
> > > > > >> > >> > ERROR  :
> > > > > >> > >> > ERROR  :    text   = "mt19937"
> > > > > >> > >> > ERROR  :
> > > > > >> > >> > ERROR  :
> > > > > >> > >> > ERROR  :    rng      = "mt19937";
> > > > > >> > >> >
> > > > > >> > >> >   Can someone help me solve the problem
> > > > > >> > >> > best regards
> > > > > >> > >> > yyamasaki
> > > > > >> > >> >
> > > > > >> > >> >
> > > > > >> > >>
> > > > > >> > >>
> > > > > >> > >
> > > > > >> >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: support requesting
From: yoshihiro yamasaki
Time: Thu Aug 14 06:22:30 2014

Dear John,

Thank you for your help. Finally, after compiling BUFRLIB with pgcc,
instead of pgCC the pb2nc is running with no problem at all (no
segmentation fault anymore ). Now I can proceed with tutorial.
best regards,
yoshihiro yamasaki
federal university of Pelotas
Brazil



On Wed, Aug 13, 2014 at 6:51 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Yyamasaki,
>
> If you haven't already done so, please apply the latest set of
patched for
> METv4.1:
>
>
http://www.dtcenter.org/met/users/support/known_issues/METv4.1/index.php
>
> The only real difference I see in your user_def.mk file is that
you've
> added the "-pgf90libs" library on the "FC_LIBS" line.  Why was that
> necessary?  Were you getting an undefined reference to something?
>
> Are you sure that all of the libraries on which MET depends have
been
> compiled with the same set of compilers?  PGI version 11.7?  In
particular,
> make sure that BUFRLIB was compiled with them because PB2NC is the
only
> tool that links to BUFRLIB.
>
> You could try recompiling BUFRLIB with the following commands:
>   cd BUFRLIB
>   rm *.o *.a
>   pgcc -c -DUNDERSCORE *.c
>   pgf77 -c -DUNDERSCORE -Mnosecond_underscore *.f *.F
>   ar crv libbufr.a *.o
>
> And then try recompiling MET, being sure to do a "make clean" first.
>
> You could also try removing the "-DBLOCK4" setting from ARCH_FLAGS,
and
> recompiling.
>
> I'm just guessing here.  It's difficult to know what's causing the
problem
> on your system.
>
> Thanks,
> John
>
>
>
>
> On Wed, Aug 13, 2014 at 3:05 PM, yoshihiro yamasaki via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> >
> > Hi John,
> > Please find enclosed my user_defs.mk.
> > thank you
> >
> >
> > On Wed, Aug 13, 2014 at 5:02 PM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Yyamasaki,
> > >
> > > Thanks for sending the test_all.log file.  I took a look inside
of it
> and
> > > see that pb2nc is indeed producing a segfault for the test
scripts:
> > >
> > > *** Running PB2NC on a PREPBUFR file ***^M
> > > DEBUG 1: Default Config File:
> > > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default^M
> > > DEBUG 1: User Config File: config/PB2NCConfig_G212^M
> > > DEBUG 1: Creating NetCDF File:
../out/pb2nc/sample_pb.nc^M
> > > DEBUG 1: Processing PrepBufr File:
../data/sample_obs/prepbufr/
> > > ndas.t00z.prepbufr.tm12.20070401.nr^M
> > > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_21813_0^M
> > > ./test_pb2nc.sh: line 9: 21813 Segmentation fault      (core
dumped)
> > > ../bin/pb2nc ../data/sample_obs/prepbufr/
> > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > ${TEST_OUT_DIR}/pb2nc/sample_pb.nc config/PB2NCConfig_G212 -v
2^M
> > >
> > > Can you please attach a copy of your user_defs.mk file?
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Wed, Aug 13, 2014 at 1:48 PM, yoshihiro yamasaki via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
>
> > > >
> > > > Hi John,
> > > >
> > > > The PB2NCConfig_turorial I am using is :
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > //
> > > > // PB2NC configuration file.
> > > > //
> > > > // For additional information, see the
MET_BASE/data/config/README
> > file.
> > > > //
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // PrepBufr message type
> > > > //
> > > > message_type = ["ADPUPA", "ADPSFC"];
> > > >
> > > > //
> > > > // PrepBufr station ID
> > > > //
> > > > station_id = [];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation time window
> > > > //
> > > > obs_window = {
> > > >    beg = -1800;
> > > >    end =  1800;
> > > > }
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation retention regions
> > > > //
> > > > mask = {
> > > >    grid = "G212";
> > > >    poly = "";
> > > > };
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observing location elevation
> > > > //
> > > > elevation_range = {
> > > >    beg =  -1000;
> > > >    end = 100000;
> > > > }
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation types
> > > > //
> > > > pb_report_type  = [];
> > > >
> > > > in_report_type  = [];
> > > >
> > > > instrument_type = [];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Vertical levels to retain
> > > > //
> > > > level_range = {
> > > >    beg = 1;
> > > >    end = 255;
> > > > }
> > > >
> > > > level_category = [];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > //
> > > > // Observation values to retain or derive
> > > > //
> > > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND", "RH"
];
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > quality_mark_thresh = 2;
> > > > event_stack_flag    = TOP;
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > > tmp_dir = "/tmp";
> > > > version = "V4.1";
> > > >
> > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > >
> > > >
> > > >
> > > > Can you please send me a copy of the user_defs.mk file you're
using.
> > > >
> > > > I'mcurious what compilers you're using.
> > > >
> > > > I am using fedoracore with pgi 11.7
> > > > -------------------------------------------------
> > > >
> > > >  I doubt the pb2nc segfault has
> > > > anything to do with your configuration file.
> > > >
> > > > When you run the MET test scripts
(METv4.1/scripts/test_all.sh), does
> > > PB2NC
> > > > run or does it seg fault there as well?
> > > >
> > > > No seg fault a on test scripts
> > > > seee attached file
> > > >
> > > >
> > > >
> > > > Best regards,
> > > > yyamasaki
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Wed, Aug 13, 2014 at 3:52 PM, John Halley Gotway via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > > Yyamasaki,
> > > > >
> > > > > Can you please send me a copy of the user_defs.mk file
you're
> using.
> > > >  I'm
> > > > > curious what compilers you're using.  I doubt the pb2nc
segfault
> has
> > > > > anything to do with your configuration file.
> > > > >
> > > > > When you run the MET test scripts
(METv4.1/scripts/test_all.sh),
> does
> > > > PB2NC
> > > > > run or does it seg fault there as well?
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > >
> > > > > On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via RT
<
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > > > > >
> > > > > > Dear John,
> > > > > >
> > > > > > The PB at NCConfig_tutorial is :
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > //
> > > > > > // PB2NC configuration file.
> > > > > > //
> > > > > > // For additional information, see the
> MET_BASE/data/config/README
> > > > file.
> > > > > > //
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > //
> > > > > > // PrepBufr message type
> > > > > > //
> > > > > > message_type = ["ADPUPA", "ADPSFC"];
> > > > > >
> > > > > > //
> > > > > > // PrepBufr station ID
> > > > > > //
> > > > > > station_id = [];
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > //
> > > > > > // Observation time window
> > > > > > //
> > > > > > obs_window = {
> > > > > >    beg = -1800;
> > > > > >    end =  1800;
> > > > > > }
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > //
> > > > > > // Observation retention regions
> > > > > > //
> > > > > > mask = {
> > > > > >    grid = "G212";
> > > > > >    poly = "";
> > > > > > };
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > //
> > > > > > // Observing location elevation
> > > > > > //
> > > > > > elevation_range = {
> > > > > >    beg =  -1000;
> > > > > >    end = 100000;
> > > > > > }
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > //
> > > > > > // Observation types
> > > > > > //
> > > > > > pb_report_type  = [];
> > > > > >
> > > > > > in_report_type  = [];
> > > > > >
> > > > > > instrument_type = [];
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > //
> > > > > > // Vertical levels to retain
> > > > > > //
> > > > > > level_range = {
> > > > > >    beg = 1;
> > > > > >    end = 255;
> > > > > > }
> > > > > >
> > > > > > level_category = [];
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > //
> > > > > > // Observation values to retain or derive
> > > > > > //
> > > > > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND",
"RH" ];
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > quality_mark_thresh = 2;
> > > > > > event_stack_flag    = TOP;
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > > tmp_dir = "/tmp";
> > > > > > version = "V4.1";
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thank you.
> > > > > > yyamasaki
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
> > > > > > yamasaki07722 at gmail.com
> > > > > > > wrote:
> > > > > >
> > > > > > > Dear John,
> > > > > > > I am sorry for that mistake on PointStatConfig_tutorial.
> > > > > > > Now, let me see if you could help me with pb2nc
(segmentation
> > > fault):
> > > > > > >
> > > > > > >  bin/pb2nc data/sample_obs/prepbufr/
> > > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > > > tutorial/out/pb2nc/tutorial_pb.nc
> > > > tutorial/config/PB2NCConfig_tutorial
> > > > > > -v
> > > > > > > 2
> > > > > > >
> > > > > > >
> > > > > > > DEBUG 1: Default Config File:
> > > > > > >
/home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> > > > > > > DEBUG 1: User Config File:
tutorial/config/PB2NCConfig_tutorial
> > > > > > > DEBUG 1: Creating NetCDF File:
tutorial/out/pb2nc/
> > > > > tutorial_pb.nc
> > > > > > > DEBUG 1: Processing PrepBufr File:
data/sample_obs/prepbufr/
> > > > > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > > > DEBUG 1: Blocking PrepBufr file to:
>  /tmp/tmp_pb2nc_blk_32232_0
> > > > > > > Segmentation fault (core dumped)
> > > > > > >
> > > > > > > best regards,
> > > > > > > yyamasaki
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway via
RT <
> > > > > > > met_help at ucar.edu> wrote:
> > > > > > >
> > > > > > >> Yyamasaki,
> > > > > > >>
> > > > > > >> The problem is that the "message_type" setting is an
array of
> > > values
> > > > > > that
> > > > > > >> should be separated by commas.  Try separating multiple
values
> > > with
> > > > > > >> commas,
> > > > > > >> like this:
> > > > > > >>    message_type = [ "ADPUPA", "ADPSFC"];
> > > > > > >>
> > > > > > >> That should fix the parsing error.
> > > > > > >>
> > > > > > >> Thanks,
> > > > > > >> John
> > > > > > >>
> > > > > > >>
> > > > > > >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki via
RT <
> > > > > > >> met_help at ucar.edu> wrote:
> > > > > > >>
> > > > > > >> >
> > > > > > >> > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > >
> > > > > > >> >
> > > > > > >> > Dear John,
> > > > > > >> >
> > > > > > >> > I figured out that when I do not include  "ADPSFC"
on
> > > > > > >> >
> > > > > > >> >  message_type = [ "ADPUPA" "ADPSFC"];
> > > > > > >> >
> > > > > > >> > the PointStatConfig_tutorial run with no problem.
> > > > > > >> >
> > > > > > >> > But when I include it I get an error:
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > DEBUG 1: Default Config File:
> > > > > > >> >
> > /home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> > > > > > >> > DEBUG 1: User Config File:
> > > > tutorial/config/PointStatConfig_tutorial
> > > > > > >> > ERROR  :
> > > > > > >> > ERROR  : yyerror() -> syntax error in file
> > > > > > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > > > >> > ERROR  :
> > > > > > >> > ERROR  :    line   = 21
> > > > > > >> > ERROR  :
> > > > > > >> > ERROR  :    column = 35
> > > > > > >> > ERROR  :
> > > > > > >> > ERROR  :    text   = """
> > > > > > >> > ERROR  :
> > > > > > >> > ERROR  :
> > > > > > >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> > > > > > >> > ERROR  : __________________________________^____
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > Is this because of the segmentation fault problem I
am
> having
> > > with
> > > > > > >> bp2nc ?
> > > > > > >> >
> > > > > > >> > Please ... do you have any suggestion about
segmentation
> fault
> > > in
> > > > > the
> > > > > > >> bp2nc
> > > > > > >> > ?
> > > > > > >> >
> > > > > > >> > best regards,
> > > > > > >> > yyamasaki
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> >
> > > > > > >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro yamasaki
<
> > > > > > >> > yamasaki07722 at gmail.com> wrote:
> > > > > > >> >
> > > > > > >> > > Hi John,
> > > > > > >> > > Here is the PointStatConfig_tutorial :
> > > > > > >> > >
> > > > > > >> > > Best regards,
> > > > > > >> > > yyamasaki
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > > //
> > > > > > >> > > // Point-Stat configuration file.
> > > > > > >> > > //
> > > > > > >> > > // For additional information, see the
> > > > MET_BASE/data/config/README
> > > > > > >> file.
> > > > > > >> > > //
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > //
> > > > > > >> > > // Output model name to be written
> > > > > > >> > > //
> > > > > > >> > > model = "WRF";
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > //
> > > > > > >> > > // Forecast and observation fields to be verified
> > > > > > >> > > //
> > > > > > >> > > fcst = [
> > > > > > >> > >      {
> > > > > > >> > >        name       = "TMP";
> > > > > > >> > >        level      = "Z2";
> > > > > > >> > >        cat_thresh = [ >278, >283, >288 ];
> > > > > > >> > >      },
> > > > > > >> > >
> > > > > > >> > >      {
> > > > > > >> > >        name  = "TMP";
> > > > > > >> > >        level = "P750-850";
> > > > > > >> > >        cat_thresh = [ >278 ];
> > > > > > >> > >      },
> > > > > > >> > >
> > > > > > >> > >      {
> > > > > > >> > >        name  = "UGRD";
> > > > > > >> > >        level = "Z10";
> > > > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > > > >> > >      },
> > > > > > >> > >
> > > > > > >> > >      {
> > > > > > >> > >        name  = "VGRD";
> > > > > > >> > >        level = "Z10";
> > > > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > > > >> > >      }
> > > > > > >> > >    ];
> > > > > > >> > > obs = fcst;
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > //
> > > > > > >> > > // Point observation time window
> > > > > > >> > > //
> > > > > > >> > > obs_window = {
> > > > > > >> > >    beg = -5400;
> > > > > > >> > >    end =  5400;
> > > > > > >> > > }
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > //
> > > > > > >> > > // Verification masking regions
> > > > > > >> > > //
> > > > > > >> > > mask = {
> > > > > > >> > >    grid = [ "G212" ];
> > > > > > >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> > > > > > >> > "MET_BASE/data/poly/WEST.poly];
> > > > > > >> > >    sid  = [];
> > > > > > >> > > };
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > //
> > > > > > >> > > // Confidence interval settings
> > > > > > >> > > //
> > > > > > >> > > ci_alpha  = [ 0.05 ];
> > > > > > >> > >
> > > > > > >> > > boot = {
> > > > > > >> > >    interval = PCTILE;
> > > > > > >> > >    rep_prop = 1.0;
> > > > > > >> > >    n_rep    = 1000;
> > > > > > >> > >    rng      = "mt19937";
> > > > > > >> > >    seed     = "";
> > > > > > >> > > };
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > //
> > > > > > >> > > // Interpolation methods
> > > > > > >> > > //
> > > > > > >> > > interp = {
> > > > > > >> > >    vld_thresh = 1.0;
> > > > > > >> > >
> > > > > > >> > >    type = [
> > > > > > >> > >       {
> > > > > > >> > >          method = UW_MEAN;
> > > > > > >> > >          width  = 1;
> > > > > > >> > >       }
> > > > > > >> > > {
> > > > > > >> > >        method = UW_MEAN;
> > > > > > >> > >        width  = 5;
> > > > > > >> > >      }
> > > > > > >> > >    ];
> > > > > > >> > > };
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > //
> > > > > > >> > > // Statistical output types
> > > > > > >> > > //
> > > > > > >> > > output_flag = {
> > > > > > >> > >    fho    = NONE;
> > > > > > >> > >    ctc    = BOTH;
> > > > > > >> > >    cts    = BOTH;
> > > > > > >> > >    mctc   = BOTH;
> > > > > > >> > >    mcts   = BOTH;
> > > > > > >> > >    cnt    = BOTH;
> > > > > > >> > >    sl1l2  = BOTH;
> > > > > > >> > >    sal1l2 = NONE;
> > > > > > >> > >    vl1l2  = NONE;
> > > > > > >> > >    val1l2 = NONE;
> > > > > > >> > >    pct    = NONE;
> > > > > > >> > >    pstd   = NONE;
> > > > > > >> > >    pjc    = NONE;
> > > > > > >> > >    prc    = NONE;
> > > > > > >> > >    mpr    = NONE;
> > > > > > >> > > };
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > > obs_quality    = [];
> > > > > > >> > > duplicate_flag = NONE;
> > > > > > >> > > rank_corr_flag = TRUE;
> > > > > > >> > > tmp_dir        = "/tmp";
> > > > > > >> > > output_prefix  = "";
> > > > > > >> > > version        = "V4.1";
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> >
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >> > >
> > > > > > >> > >
> > > > > > >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley Gotway
via
> RT <
> > > > > > >> > > met_help at ucar.edu> wrote:
> > > > > > >> > >
> > > > > > >> > >> Sure, happy to help.  I suspect there's some minor
typo
> in
> > > this
> > > > > > file:
> > > > > > >> > >>    tutorial/config/PointStatConfig_tutorial
> > > > > > >> > >>
> > > > > > >> > >> Can you please send me that file, and I'll take a
look?
> > > > > > >> > >>
> > > > > > >> > >> Thanks,
> > > > > > >> > >> John Halley Gotway
> > > > > > >> > >> met_help at ucar.edu
> > > > > > >> > >>
> > > > > > >> > >>
> > > > > > >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro
yamasaki via
> > RT <
> > > > > > >> > >> met_help at ucar.edu> wrote:
> > > > > > >> > >>
> > > > > > >> > >> >
> > > > > > >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was
acted upon.
> > > > > > >> > >> > Transaction: Ticket created by
yamasaki07722 at gmail.com
> > > > > > >> > >> >        Queue: met_help
> > > > > > >> > >> >      Subject: support requesting
> > > > > > >> > >> >        Owner: Nobody
> > > > > > >> > >> >   Requestors: yamasaki07722 at gmail.com
> > > > > > >> > >> >       Status: new
> > > > > > >> > >> >  Ticket <URL:
> > > > > > >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > > > > > >> > >
> > > > > > >> > >> >
> > > > > > >> > >> >
> > > > > > >> > >> > Hi!
> > > > > > >> > >> > I am having some problem, with MET tutorial, on
pb2nc.
> > > When I
> > > > > run
> > > > > > >> the
> > > > > > >> > >> > tutorial I am having a segmentation fault ( even
with
> > > > unlimited
> > > > > > >> > >> > stacksize/etc..). The test_all.sh script did not
give
> me
> > > any
> > > > > > error.
> > > > > > >> > >> > Also, when I try to run the point-stat tools
with
> > > > > > >> > >> >
> > > > > > >> > >> >
> > > > > > >> > >> >
> > > > > > >> > >> >
> > > > > > >> > >> >
> > > > > > >> > >> > *bin/point_stat \
> > > > > > >> > >> >
> > > > >
data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> > > > > > >> > >> > tutorial/out/pb2nc/tutorial_pb.nc <
> http://tutorial_pb.nc
> > >
> > > \
> > > > > > >> > >> > tutorial/config/PointStatConfig_tutorial \
-outdir
> > > > > > >> > >> tutorial/out/point_stat
> > > > > > >> > >> > \ -v 2*
> > > > > > >> > >> > I get the folowing sintax error :
> > > > > > >> > >> > DEBUG 1: User Config File:
> > > > > > tutorial/config/PointStatConfig_tutorial
> > > > > > >> > >> > ERROR  :
> > > > > > >> > >> > ERROR  : yyerror() -> syntax error in file
> > > > > > >> > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > > > >> > >> > ERROR  :
> > > > > > >> > >> > ERROR  :    line   = 78
> > > > > > >> > >> > ERROR  :
> > > > > > >> > >> > ERROR  :    column = 16
> > > > > > >> > >> > ERROR  :
> > > > > > >> > >> > ERROR  :    text   = "mt19937"
> > > > > > >> > >> > ERROR  :
> > > > > > >> > >> > ERROR  :
> > > > > > >> > >> > ERROR  :    rng      = "mt19937";
> > > > > > >> > >> >
> > > > > > >> > >> >   Can someone help me solve the problem
> > > > > > >> > >> > best regards
> > > > > > >> > >> > yyamasaki
> > > > > > >> > >> >
> > > > > > >> > >> >
> > > > > > >> > >>
> > > > > > >> > >>
> > > > > > >> > >
> > > > > > >> >
> > > > > > >> >
> > > > > > >>
> > > > > > >>
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: support requesting
From: John Halley Gotway
Time: Thu Aug 14 09:47:40 2014

Great!  Glad you were able to get it working.

Just let us know if any more questions or issues come up in your use
of MET.

Thanks,
John


On Thu, Aug 14, 2014 at 6:22 AM, yoshihiro yamasaki via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
>
> Dear John,
>
> Thank you for your help. Finally, after compiling BUFRLIB with pgcc,
> instead of pgCC the pb2nc is running with no problem at all (no
> segmentation fault anymore ). Now I can proceed with tutorial.
> best regards,
> yoshihiro yamasaki
> federal university of Pelotas
> Brazil
>
>
>
> On Wed, Aug 13, 2014 at 6:51 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Yyamasaki,
> >
> > If you haven't already done so, please apply the latest set of
patched
> for
> > METv4.1:
> >
> >
http://www.dtcenter.org/met/users/support/known_issues/METv4.1/index.php
> >
> > The only real difference I see in your user_def.mk file is that
you've
> > added the "-pgf90libs" library on the "FC_LIBS" line.  Why was
that
> > necessary?  Were you getting an undefined reference to something?
> >
> > Are you sure that all of the libraries on which MET depends have
been
> > compiled with the same set of compilers?  PGI version 11.7?  In
> particular,
> > make sure that BUFRLIB was compiled with them because PB2NC is the
only
> > tool that links to BUFRLIB.
> >
> > You could try recompiling BUFRLIB with the following commands:
> >   cd BUFRLIB
> >   rm *.o *.a
> >   pgcc -c -DUNDERSCORE *.c
> >   pgf77 -c -DUNDERSCORE -Mnosecond_underscore *.f *.F
> >   ar crv libbufr.a *.o
> >
> > And then try recompiling MET, being sure to do a "make clean"
first.
> >
> > You could also try removing the "-DBLOCK4" setting from
ARCH_FLAGS, and
> > recompiling.
> >
> > I'm just guessing here.  It's difficult to know what's causing the
> problem
> > on your system.
> >
> > Thanks,
> > John
> >
> >
> >
> >
> > On Wed, Aug 13, 2014 at 3:05 PM, yoshihiro yamasaki via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > >
> > > Hi John,
> > > Please find enclosed my user_defs.mk.
> > > thank you
> > >
> > >
> > > On Wed, Aug 13, 2014 at 5:02 PM, John Halley Gotway via RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > > Yyamasaki,
> > > >
> > > > Thanks for sending the test_all.log file.  I took a look
inside of it
> > and
> > > > see that pb2nc is indeed producing a segfault for the test
scripts:
> > > >
> > > > *** Running PB2NC on a PREPBUFR file ***^M
> > > > DEBUG 1: Default Config File:
> > > > /home/modelos/teste/METv4.1/data/config/PB2NCConfig_default^M
> > > > DEBUG 1: User Config File: config/PB2NCConfig_G212^M
> > > > DEBUG 1: Creating NetCDF File:
../out/pb2nc/sample_pb.nc^M
> > > > DEBUG 1: Processing PrepBufr File:
../data/sample_obs/prepbufr/
> > > > ndas.t00z.prepbufr.tm12.20070401.nr^M
> > > > DEBUG 1: Blocking PrepBufr file to:
/tmp/tmp_pb2nc_blk_21813_0^M
> > > > ./test_pb2nc.sh: line 9: 21813 Segmentation fault      (core
dumped)
> > > > ../bin/pb2nc ../data/sample_obs/prepbufr/
> > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > ${TEST_OUT_DIR}/pb2nc/sample_pb.nc config/PB2NCConfig_G212 -v
2^M
> > > >
> > > > Can you please attach a copy of your user_defs.mk file?
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Wed, Aug 13, 2014 at 1:48 PM, yoshihiro yamasaki via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618 >
> > > > >
> > > > > Hi John,
> > > > >
> > > > > The PB2NCConfig_turorial I am using is :
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > //
> > > > > // PB2NC configuration file.
> > > > > //
> > > > > // For additional information, see the
MET_BASE/data/config/README
> > > file.
> > > > > //
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // PrepBufr message type
> > > > > //
> > > > > message_type = ["ADPUPA", "ADPSFC"];
> > > > >
> > > > > //
> > > > > // PrepBufr station ID
> > > > > //
> > > > > station_id = [];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation time window
> > > > > //
> > > > > obs_window = {
> > > > >    beg = -1800;
> > > > >    end =  1800;
> > > > > }
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation retention regions
> > > > > //
> > > > > mask = {
> > > > >    grid = "G212";
> > > > >    poly = "";
> > > > > };
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observing location elevation
> > > > > //
> > > > > elevation_range = {
> > > > >    beg =  -1000;
> > > > >    end = 100000;
> > > > > }
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation types
> > > > > //
> > > > > pb_report_type  = [];
> > > > >
> > > > > in_report_type  = [];
> > > > >
> > > > > instrument_type = [];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Vertical levels to retain
> > > > > //
> > > > > level_range = {
> > > > >    beg = 1;
> > > > >    end = 255;
> > > > > }
> > > > >
> > > > > level_category = [];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > //
> > > > > // Observation values to retain or derive
> > > > > //
> > > > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND",
"RH" ];
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > quality_mark_thresh = 2;
> > > > > event_stack_flag    = TOP;
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > > tmp_dir = "/tmp";
> > > > > version = "V4.1";
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > >
> > > > >
> > > > >
> > > > > Can you please send me a copy of the user_defs.mk file
you're
> using.
> > > > >
> > > > > I'mcurious what compilers you're using.
> > > > >
> > > > > I am using fedoracore with pgi 11.7
> > > > > -------------------------------------------------
> > > > >
> > > > >  I doubt the pb2nc segfault has
> > > > > anything to do with your configuration file.
> > > > >
> > > > > When you run the MET test scripts
(METv4.1/scripts/test_all.sh),
> does
> > > > PB2NC
> > > > > run or does it seg fault there as well?
> > > > >
> > > > > No seg fault a on test scripts
> > > > > seee attached file
> > > > >
> > > > >
> > > > >
> > > > > Best regards,
> > > > > yyamasaki
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Aug 13, 2014 at 3:52 PM, John Halley Gotway via RT <
> > > > > met_help at ucar.edu> wrote:
> > > > >
> > > > > > Yyamasaki,
> > > > > >
> > > > > > Can you please send me a copy of the user_defs.mk file
you're
> > using.
> > > > >  I'm
> > > > > > curious what compilers you're using.  I doubt the pb2nc
segfault
> > has
> > > > > > anything to do with your configuration file.
> > > > > >
> > > > > > When you run the MET test scripts
(METv4.1/scripts/test_all.sh),
> > does
> > > > > PB2NC
> > > > > > run or does it seg fault there as well?
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > >
> > > > > > On Wed, Aug 13, 2014 at 11:16 AM, yoshihiro yamasaki via
RT <
> > > > > > met_help at ucar.edu> wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> >
> > > > > > >
> > > > > > > Dear John,
> > > > > > >
> > > > > > > The PB at NCConfig_tutorial is :
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > //
> > > > > > > // PB2NC configuration file.
> > > > > > > //
> > > > > > > // For additional information, see the
> > MET_BASE/data/config/README
> > > > > file.
> > > > > > > //
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > //
> > > > > > > // PrepBufr message type
> > > > > > > //
> > > > > > > message_type = ["ADPUPA", "ADPSFC"];
> > > > > > >
> > > > > > > //
> > > > > > > // PrepBufr station ID
> > > > > > > //
> > > > > > > station_id = [];
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > //
> > > > > > > // Observation time window
> > > > > > > //
> > > > > > > obs_window = {
> > > > > > >    beg = -1800;
> > > > > > >    end =  1800;
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > //
> > > > > > > // Observation retention regions
> > > > > > > //
> > > > > > > mask = {
> > > > > > >    grid = "G212";
> > > > > > >    poly = "";
> > > > > > > };
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > //
> > > > > > > // Observing location elevation
> > > > > > > //
> > > > > > > elevation_range = {
> > > > > > >    beg =  -1000;
> > > > > > >    end = 100000;
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > //
> > > > > > > // Observation types
> > > > > > > //
> > > > > > > pb_report_type  = [];
> > > > > > >
> > > > > > > in_report_type  = [];
> > > > > > >
> > > > > > > instrument_type = [];
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > //
> > > > > > > // Vertical levels to retain
> > > > > > > //
> > > > > > > level_range = {
> > > > > > >    beg = 1;
> > > > > > >    end = 255;
> > > > > > > }
> > > > > > >
> > > > > > > level_category = [];
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > //
> > > > > > > // Observation values to retain or derive
> > > > > > > //
> > > > > > > obs_grib_code = [ "SPFH", "TMP", "UGRD", "VGRD", "WIND",
"RH"
> ];
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > quality_mark_thresh = 2;
> > > > > > > event_stack_flag    = TOP;
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > > tmp_dir = "/tmp";
> > > > > > > version = "V4.1";
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Thank you.
> > > > > > > yyamasaki
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Aug 13, 2014 at 2:12 PM, yoshihiro yamasaki <
> > > > > > > yamasaki07722 at gmail.com
> > > > > > > > wrote:
> > > > > > >
> > > > > > > > Dear John,
> > > > > > > > I am sorry for that mistake on
PointStatConfig_tutorial.
> > > > > > > > Now, let me see if you could help me with pb2nc
(segmentation
> > > > fault):
> > > > > > > >
> > > > > > > >  bin/pb2nc data/sample_obs/prepbufr/
> > > > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > > > > tutorial/out/pb2nc/tutorial_pb.nc
> > > > > tutorial/config/PB2NCConfig_tutorial
> > > > > > > -v
> > > > > > > > 2
> > > > > > > >
> > > > > > > >
> > > > > > > > DEBUG 1: Default Config File:
> > > > > > > >
/home/modelos/teste/METv4.1/data/config/PB2NCConfig_default
> > > > > > > > DEBUG 1: User Config File:
> tutorial/config/PB2NCConfig_tutorial
> > > > > > > > DEBUG 1: Creating NetCDF File:
tutorial/out/pb2nc/
> > > > > > tutorial_pb.nc
> > > > > > > > DEBUG 1: Processing PrepBufr File:
>  data/sample_obs/prepbufr/
> > > > > > > > ndas.t00z.prepbufr.tm12.20070401.nr
> > > > > > > > DEBUG 1: Blocking PrepBufr file to:
> >  /tmp/tmp_pb2nc_blk_32232_0
> > > > > > > > Segmentation fault (core dumped)
> > > > > > > >
> > > > > > > > best regards,
> > > > > > > > yyamasaki
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Aug 13, 2014 at 1:11 PM, John Halley Gotway
via RT <
> > > > > > > > met_help at ucar.edu> wrote:
> > > > > > > >
> > > > > > > >> Yyamasaki,
> > > > > > > >>
> > > > > > > >> The problem is that the "message_type" setting is an
array
> of
> > > > values
> > > > > > > that
> > > > > > > >> should be separated by commas.  Try separating
multiple
> values
> > > > with
> > > > > > > >> commas,
> > > > > > > >> like this:
> > > > > > > >>    message_type = [ "ADPUPA", "ADPSFC"];
> > > > > > > >>
> > > > > > > >> That should fix the parsing error.
> > > > > > > >>
> > > > > > > >> Thanks,
> > > > > > > >> John
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> On Wed, Aug 13, 2014 at 8:38 AM, yoshihiro yamasaki
via RT <
> > > > > > > >> met_help at ucar.edu> wrote:
> > > > > > > >>
> > > > > > > >> >
> > > > > > > >> > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > > >
> > > > > > > >> >
> > > > > > > >> > Dear John,
> > > > > > > >> >
> > > > > > > >> > I figured out that when I do not include  "ADPSFC"
on
> > > > > > > >> >
> > > > > > > >> >  message_type = [ "ADPUPA" "ADPSFC"];
> > > > > > > >> >
> > > > > > > >> > the PointStatConfig_tutorial run with no problem.
> > > > > > > >> >
> > > > > > > >> > But when I include it I get an error:
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > DEBUG 1: Default Config File:
> > > > > > > >> >
> > > /home/modelos/teste/METv4.1/data/config/PointStatConfig_default
> > > > > > > >> > DEBUG 1: User Config File:
> > > > > tutorial/config/PointStatConfig_tutorial
> > > > > > > >> > ERROR  :
> > > > > > > >> > ERROR  : yyerror() -> syntax error in file
> > > > > > > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > > > > >> > ERROR  :
> > > > > > > >> > ERROR  :    line   = 21
> > > > > > > >> > ERROR  :
> > > > > > > >> > ERROR  :    column = 35
> > > > > > > >> > ERROR  :
> > > > > > > >> > ERROR  :    text   = """
> > > > > > > >> > ERROR  :
> > > > > > > >> > ERROR  :
> > > > > > > >> > ERROR  :    message_type = [ "ADPUPA" "ADPSFC"];
> > > > > > > >> > ERROR  : __________________________________^____
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > Is this because of the segmentation fault problem I
am
> > having
> > > > with
> > > > > > > >> bp2nc ?
> > > > > > > >> >
> > > > > > > >> > Please ... do you have any suggestion about
segmentation
> > fault
> > > > in
> > > > > > the
> > > > > > > >> bp2nc
> > > > > > > >> > ?
> > > > > > > >> >
> > > > > > > >> > best regards,
> > > > > > > >> > yyamasaki
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >> > On Wed, Aug 13, 2014 at 10:57 AM, yoshihiro
yamasaki <
> > > > > > > >> > yamasaki07722 at gmail.com> wrote:
> > > > > > > >> >
> > > > > > > >> > > Hi John,
> > > > > > > >> > > Here is the PointStatConfig_tutorial :
> > > > > > > >> > >
> > > > > > > >> > > Best regards,
> > > > > > > >> > > yyamasaki
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > > //
> > > > > > > >> > > // Point-Stat configuration file.
> > > > > > > >> > > //
> > > > > > > >> > > // For additional information, see the
> > > > > MET_BASE/data/config/README
> > > > > > > >> file.
> > > > > > > >> > > //
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > //
> > > > > > > >> > > // Output model name to be written
> > > > > > > >> > > //
> > > > > > > >> > > model = "WRF";
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > //
> > > > > > > >> > > // Forecast and observation fields to be verified
> > > > > > > >> > > //
> > > > > > > >> > > fcst = [
> > > > > > > >> > >      {
> > > > > > > >> > >        name       = "TMP";
> > > > > > > >> > >        level      = "Z2";
> > > > > > > >> > >        cat_thresh = [ >278, >283, >288 ];
> > > > > > > >> > >      },
> > > > > > > >> > >
> > > > > > > >> > >      {
> > > > > > > >> > >        name  = "TMP";
> > > > > > > >> > >        level = "P750-850";
> > > > > > > >> > >        cat_thresh = [ >278 ];
> > > > > > > >> > >      },
> > > > > > > >> > >
> > > > > > > >> > >      {
> > > > > > > >> > >        name  = "UGRD";
> > > > > > > >> > >        level = "Z10";
> > > > > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > > > > >> > >      },
> > > > > > > >> > >
> > > > > > > >> > >      {
> > > > > > > >> > >        name  = "VGRD";
> > > > > > > >> > >        level = "Z10";
> > > > > > > >> > >        cat_thresh = [ >=5.0 ];
> > > > > > > >> > >      }
> > > > > > > >> > >    ];
> > > > > > > >> > > obs = fcst;
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > //
> > > > > > > >> > > // Point observation time window
> > > > > > > >> > > //
> > > > > > > >> > > obs_window = {
> > > > > > > >> > >    beg = -5400;
> > > > > > > >> > >    end =  5400;
> > > > > > > >> > > }
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > //
> > > > > > > >> > > // Verification masking regions
> > > > > > > >> > > //
> > > > > > > >> > > mask = {
> > > > > > > >> > >    grid = [ "G212" ];
> > > > > > > >> > >    poly = ["MET_BASE/data/poly/EAST.poly",
> > > > > > > >> > "MET_BASE/data/poly/WEST.poly];
> > > > > > > >> > >    sid  = [];
> > > > > > > >> > > };
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > //
> > > > > > > >> > > // Confidence interval settings
> > > > > > > >> > > //
> > > > > > > >> > > ci_alpha  = [ 0.05 ];
> > > > > > > >> > >
> > > > > > > >> > > boot = {
> > > > > > > >> > >    interval = PCTILE;
> > > > > > > >> > >    rep_prop = 1.0;
> > > > > > > >> > >    n_rep    = 1000;
> > > > > > > >> > >    rng      = "mt19937";
> > > > > > > >> > >    seed     = "";
> > > > > > > >> > > };
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > //
> > > > > > > >> > > // Interpolation methods
> > > > > > > >> > > //
> > > > > > > >> > > interp = {
> > > > > > > >> > >    vld_thresh = 1.0;
> > > > > > > >> > >
> > > > > > > >> > >    type = [
> > > > > > > >> > >       {
> > > > > > > >> > >          method = UW_MEAN;
> > > > > > > >> > >          width  = 1;
> > > > > > > >> > >       }
> > > > > > > >> > > {
> > > > > > > >> > >        method = UW_MEAN;
> > > > > > > >> > >        width  = 5;
> > > > > > > >> > >      }
> > > > > > > >> > >    ];
> > > > > > > >> > > };
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > //
> > > > > > > >> > > // Statistical output types
> > > > > > > >> > > //
> > > > > > > >> > > output_flag = {
> > > > > > > >> > >    fho    = NONE;
> > > > > > > >> > >    ctc    = BOTH;
> > > > > > > >> > >    cts    = BOTH;
> > > > > > > >> > >    mctc   = BOTH;
> > > > > > > >> > >    mcts   = BOTH;
> > > > > > > >> > >    cnt    = BOTH;
> > > > > > > >> > >    sl1l2  = BOTH;
> > > > > > > >> > >    sal1l2 = NONE;
> > > > > > > >> > >    vl1l2  = NONE;
> > > > > > > >> > >    val1l2 = NONE;
> > > > > > > >> > >    pct    = NONE;
> > > > > > > >> > >    pstd   = NONE;
> > > > > > > >> > >    pjc    = NONE;
> > > > > > > >> > >    prc    = NONE;
> > > > > > > >> > >    mpr    = NONE;
> > > > > > > >> > > };
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > > obs_quality    = [];
> > > > > > > >> > > duplicate_flag = NONE;
> > > > > > > >> > > rank_corr_flag = TRUE;
> > > > > > > >> > > tmp_dir        = "/tmp";
> > > > > > > >> > > output_prefix  = "";
> > > > > > > >> > > version        = "V4.1";
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
////////////////////////////////////////////////////////////////////////////////
> > > > > > > >> > >
> > > > > > > >> > >
> > > > > > > >> > > On Tue, Aug 12, 2014 at 3:06 PM, John Halley
Gotway via
> > RT <
> > > > > > > >> > > met_help at ucar.edu> wrote:
> > > > > > > >> > >
> > > > > > > >> > >> Sure, happy to help.  I suspect there's some
minor typo
> > in
> > > > this
> > > > > > > file:
> > > > > > > >> > >>    tutorial/config/PointStatConfig_tutorial
> > > > > > > >> > >>
> > > > > > > >> > >> Can you please send me that file, and I'll take
a look?
> > > > > > > >> > >>
> > > > > > > >> > >> Thanks,
> > > > > > > >> > >> John Halley Gotway
> > > > > > > >> > >> met_help at ucar.edu
> > > > > > > >> > >>
> > > > > > > >> > >>
> > > > > > > >> > >> On Tue, Aug 12, 2014 at 11:33 AM, yoshihiro
yamasaki
> via
> > > RT <
> > > > > > > >> > >> met_help at ucar.edu> wrote:
> > > > > > > >> > >>
> > > > > > > >> > >> >
> > > > > > > >> > >> > Tue Aug 12 11:33:03 2014: Request 68618 was
acted
> upon.
> > > > > > > >> > >> > Transaction: Ticket created by
> yamasaki07722 at gmail.com
> > > > > > > >> > >> >        Queue: met_help
> > > > > > > >> > >> >      Subject: support requesting
> > > > > > > >> > >> >        Owner: Nobody
> > > > > > > >> > >> >   Requestors: yamasaki07722 at gmail.com
> > > > > > > >> > >> >       Status: new
> > > > > > > >> > >> >  Ticket <URL:
> > > > > > > >>
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68618
> > > > > > > >> > >
> > > > > > > >> > >> >
> > > > > > > >> > >> >
> > > > > > > >> > >> > Hi!
> > > > > > > >> > >> > I am having some problem, with MET tutorial,
on
> pb2nc.
> > > > When I
> > > > > > run
> > > > > > > >> the
> > > > > > > >> > >> > tutorial I am having a segmentation fault (
even with
> > > > > unlimited
> > > > > > > >> > >> > stacksize/etc..). The test_all.sh script did
not give
> > me
> > > > any
> > > > > > > error.
> > > > > > > >> > >> > Also, when I try to run the point-stat tools
with
> > > > > > > >> > >> >
> > > > > > > >> > >> >
> > > > > > > >> > >> >
> > > > > > > >> > >> >
> > > > > > > >> > >> >
> > > > > > > >> > >> > *bin/point_stat \
> > > > > > > >> > >> >
> > > > > >
data/sample_fcst/2007033000/nam.t00z.awip1236.tm00.20070330.grb \
> > > > > > > >> > >> > tutorial/out/pb2nc/tutorial_pb.nc <
> > http://tutorial_pb.nc
> > > >
> > > > \
> > > > > > > >> > >> > tutorial/config/PointStatConfig_tutorial \
-outdir
> > > > > > > >> > >> tutorial/out/point_stat
> > > > > > > >> > >> > \ -v 2*
> > > > > > > >> > >> > I get the folowing sintax error :
> > > > > > > >> > >> > DEBUG 1: User Config File:
> > > > > > > tutorial/config/PointStatConfig_tutorial
> > > > > > > >> > >> > ERROR  :
> > > > > > > >> > >> > ERROR  : yyerror() -> syntax error in file
> > > > > > > >> > >> > "tutorial/config/PointStatConfig_tutorial"
> > > > > > > >> > >> > ERROR  :
> > > > > > > >> > >> > ERROR  :    line   = 78
> > > > > > > >> > >> > ERROR  :
> > > > > > > >> > >> > ERROR  :    column = 16
> > > > > > > >> > >> > ERROR  :
> > > > > > > >> > >> > ERROR  :    text   = "mt19937"
> > > > > > > >> > >> > ERROR  :
> > > > > > > >> > >> > ERROR  :
> > > > > > > >> > >> > ERROR  :    rng      = "mt19937";
> > > > > > > >> > >> >
> > > > > > > >> > >> >   Can someone help me solve the problem
> > > > > > > >> > >> > best regards
> > > > > > > >> > >> > yyamasaki
> > > > > > > >> > >> >
> > > > > > > >> > >> >
> > > > > > > >> > >>
> > > > > > > >> > >>
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

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


More information about the Met_help mailing list