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

John Halley Gotway via RT met_help at ucar.edu
Mon Oct 6 09:47:29 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
> > > > > > > >> > >> >
> > > > > > > >> > >> >
> > > > > > > >> > >>
> > > > > > > >> > >>
> > > > > > > >> > >
> > > > > > > >> >
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >>
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #68618] Resolved: support requesting
From: yoshihiro yamasaki
Time: Mon Oct 06 06:36:44 2014

Hi John,

The new problem I am facing is in the UPPV2.2 compilation. The routine
UPPV2.2/src/unipost/GFIP3.f has a 'private'  statement with is causing
problem in the compilation. I am using pgi version 11.7 (but I also
test with the version  7.07 --- same error ).

The following is part of the log_file with shows the error :

F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
ICAOHEIGHT.f
pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
-DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
INITPOST_GFS_NEMS.f
/lib/cpp  -C -P -DCOMMCODE -DLINUX -DUPPLITTLEENDIAN
INITPOST_BIN_MPIIO.F > INITPOST_BIN_MPIIO.f
INITPOST_BIN_MPIIO.F:776:7: warning: missing terminating ' character
INITPOST_BIN_MPIIO.F:1128:64: warning: missing terminating ' character
pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
-DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
INITPOST_BIN_MPIIO.f
pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
-DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
GEO_ZENITH_ANGLE.f
pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
-DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2  GFIP3.f
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable precips
(GFIP3.f)
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips$ac (GFIP3.f)
  0 inform,   0 warnings,   2 severes, 0 fatal for derivedfields
  0 inform,   0 warnings,   2 severes, 0 fatal for derivedfields
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable precips
(GFIP3.f)
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips$ac (GFIP3.f)
  0 inform,   0 warnings,   2 severes, 0 fatal for cloudlayers
  0 inform,   0 warnings,   2 severes, 0 fatal for cloudlayers
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable precips
(GFIP3.f)
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips$ac (GFIP3.f)
  0 inform,   0 warnings,   2 severes, 0 fatal for icingpotential
  0 inform,   0 warnings,   2 severes, 0 fatal for icingpotential
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable precips
(GFIP3.f)
PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips$ac (GFIP3.f)
  0 inform,   0 warnings,   2 severes, 0 fatal for icingseverity
  0 inform,   0 warnings,   2 severes, 0 fatal for icingseverity
make[1]: [GFIP3.o] Error 2 (ignored)
pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
-DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2  GRIDAVG.f
pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
-DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
CALUPDHEL.f

=======================================================
If I comment the private statement the compilation goes fine ---
HOWEVER I am not able to get any grib2 file when I try to use  the
script : run_unipostandgrads

[modelos at yy3 DOMAINS]$ more run_unipostandgrads
#!/bin/ksh
#
set -x

# August 2005: Hui-Ya Chuang, NCEP: This script uses
# NCEP's Unipost to post processes WRF native model
# output, and uses copygb to horizontally interpolate posted
# output from native A-E to a regular projection grid.
#
# July 2006: Meral Demirtas, NCAR/DTC: Added new "copygb"
# options and revised some parts for clarity.
#
#--------------------------------------------------------
# This script performs 3 jobs:
#
# 1. Run Unipost
# 2. Run copygb to horizontally interpolate output from
#    native A-E to a regular projection grid
# 3. Run GrADS to plot results.
#--------------------------------------------------------

#--- EDIT HERE
--------------------------------------------------------
# TOP_DIR - where you put the UPP build directory
# DOMAINPATH - where do you want me to do my work
# WRFPATH - Where do you have a version of WRF compiled
# *** Datafile is entered below - it may reference these variables
# dyncore - set to the model used
#----------------------------------------------------------------------
export TOP_DIR=/home/modelos/WRF/UPPV2.2
export DOMAINPATH=${TOP_DIR}/DOMAINS/test_uni_grads
export WRF_DIR=/home/modelos/WRF/WRFV3
export WRFPATH=${WRF_DIR}
export UNIPOST_HOME=${TOP_DIR}/
export POSTEXEC=${UNIPOST_HOME}/bin
export SCRIPTS=${UNIPOST_HOME}/scripts

#Specify Dyn Core (ARW or NMM in upper case)
dyncore="ARW"

if [ $dyncore = "NMM" ]; then
   export tag=NMM
elif [ $dyncore = "ARW" ]; then
   export tag=NCAR
else
    echo "${dyncore} is not supported. Edit script to choose ARW or
NMM dyncore."
    exit
fi

#--- EDIT HERE
--------------------------------------------------------
# startdate = Forecast start date
# fhr =  first forecast hour to be post-processed
# lastfhr = last forecast hour to be post-processed
# incrementhr = the incement (in hours) between forecast files
#   DO NOT SET incrementhr TO ZERO - infinite loop will result
#----------------------------------------------------------------------

export startdate=2014062600
export fhr=00
export lastfhr=24
export incrementhr=01

# cd to working directory
cd ${DOMAINPATH}/postprd

# GrADS's fonts for plotting.
ln -sf ${SCRIPTS}/cbar.gs .

# Link microphysic's tables - code will use based on mp_physics option
# found in data
ln -fs ${WRFPATH}/run/ETAMPNEW_DATA nam_micro_lookup.dat
ln -fs ${WRFPATH}/run/ETAMPNEW_DATA.expanded_rain
hires_micro_lookup.dat

# Get local copy of parm file
# For GRIB1 the code uses wrf_cntrl.parm to select variables for
output
#   the available fields are set at compilation
# For GRIB2 the code uses postcntrl.xml to select variables for output
#   the available fields are defined in post_avlbflds.xml -- while we
#   set a link to this file for reading during runtime it is not
typical
#   for one to update this file, therefore the link goes back to the
#   program directory - this is true for params_grib2_tbl_new also - a
#   file which defines the GRIB2 table values
ln -fs ../../../parm/wrf_cntrl.parm wrf_cntrl.parm
ln -fs ${UNIPOST_HOME}/parm/post_avblflds.xml post_avblflds.xml
ln -fs ../../../parm/postcntrl.xml postcntrl.xml
ln -fs ${UNIPOST_HOME}/src/lib/g2tmpl/params_grib2_tbl_new
params_grib2_tbl_new

# link coefficients for crtm2 (simulated GOES)
CRTMDIR=${UNIPOST_HOME}/src/lib/crtm2/src/fix
ln -fs $CRTMDIR/EmisCoeff/Big_Endian/EmisCoeff.bin           ./
ln -fs $CRTMDIR/AerosolCoeff/Big_Endian/AerosolCoeff.bin     ./
ln -fs $CRTMDIR/CloudCoeff/Big_Endian/CloudCoeff.bin         ./
ln -fs $CRTMDIR/SpcCoeff/Big_Endian/imgr_g12.SpcCoeff.bin    ./
ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/imgr_g12.TauCoeff.bin    ./
ln -fs $CRTMDIR/SpcCoeff/Big_Endian/imgr_g11.SpcCoeff.bin    ./
ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/imgr_g11.TauCoeff.bin    ./
ln -fs $CRTMDIR/SpcCoeff/Big_Endian/amsre_aqua.SpcCoeff.bin  ./
ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/amsre_aqua.TauCoeff.bin  ./
ln -fs $CRTMDIR/SpcCoeff/Big_Endian/tmi_trmm.SpcCoeff.bin    ./
ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/tmi_trmm.TauCoeff.bin    ./
ln -fs $CRTMDIR/SpcCoeff/Big_Endian/ssmi_f15.SpcCoeff.bin    ./
ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/ssmi_f15.TauCoeff.bin    ./
ln -fs $CRTMDIR/SpcCoeff/Big_Endian/ssmis_f20.SpcCoeff.bin   ./
ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/ssmis_f20.TauCoeff.bin   ./
ln -fs $CRTMDIR/SpcCoeff/Big_Endian/ssmis_f17.SpcCoeff.bin   ./
ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/ssmis_f17.TauCoeff.bin   ./

#--- EDIT HERE
--------------------------------------------------------
# tmmark is an variable used as the file extention of the output
#    filename .GrbF is used if this variable is not set
# COMSP is a variable used as the initial string of the output
filename
#----------------------------------------------------------------------
export tmmark=tm00
export MP_SHARED_MEMORY=no
export MP_LABELIO=no

#######################################################
# 1. Run Unipost
#
# The Unipost is used to read native WRF model
# output and put out isobaric state fields and derived fields.
#######################################################

export NEWDATE=$startdate

while [ $((10#${fhr})) -le $((10#${lastfhr})) ] ; do

# Formatted fhr for filenames
fhr=`printf "%02i" ${fhr}`

NEWDATE=`${POSTEXEC}/ndate.exe +$((10#${fhr})) $startdate`

YY=`echo $NEWDATE | cut -c1-4`
MM=`echo $NEWDATE | cut -c5-6`
DD=`echo $NEWDATE | cut -c7-8`
HH=`echo $NEWDATE | cut -c9-10`

echo 'NEWDATE' $NEWDATE
echo 'YY' $YY


#--- EDIT HERE
--------------------------------------------------------
# Update domains
# ie. for domain in d01 d02 d03
for domain in d01
do

#--- EDIT HERE
--------------------------------------------------------
# Create input file for Unipost
#   First line is where your wrfout data is
#   Second line is the format
#   ** FOR GRIB2 the thrid line is "grib2" and the next 2 lines move
down **
#   Third line is the time for this process file
#   Forth line is a tag identifing the model
#----------------------------------------------------------------------
cat > itag <<EOF
/home/modelos/WRF/UPPV2.2/DOMAINS/wrfout_d01_2014-06-26_00:00:00
netcdf
grib2
2014-06-26_00:00:00
NCAR
EOF

#-----------------------------------------------------------------------
#   Run unipost.
#-----------------------------------------------------------------------
rm fort.*

ln -sf wrf_cntrl.parm fort.14

#--- EDIT HERE
--------------------------------------------------------
# Uncomment unipost.exe you want to run
#   mpirun for MPI dmpar compile -- UPDATE FOR YOUR SYSTEM!!! ** FOR
#      now there are two environment variables tmmark and COMSP
#   unipost.exe for serial compile
#----------------------------------------------------------------------
# Serial run command
  ${POSTEXEC}/unipost.exe > unipost_${domain}.$fhr.out 2>&1
#
# dmpar run
# mpirun -np 1 ${POSTEXEC}/unipost.exe > unipost_${domain}.$fhr.out
2>&1
#
# Debugging a specific fhr with a debugger
#if [[ $((10#${fhr})) -eq 3 ]]; then
#  mpirun -np 1 -dbg=pgdbg ${POSTEXEC}/unipost.exe >
unipost_${domain}.$fhr.out 2>&1
#else
#  mpirun -np 1 ${POSTEXEC}/unipost.exe > unipost_${domain}.$fhr.out
2>&1
#fi
#
# This prefix was given in the wrf_cntl.parm file(GRIB1) or
# postcntrl.xml(GRIB2)
mv WRFPRS$fhr.${tmmark} WRFPRS_${domain}.${fhr}

#
#----------------------------------------------------------------------
#   End of unipost job
#----------------------------------------------------------------------

ls -l WRFPRS_${domain}.${fhr}
err1=$?

if test "$err1" -ne 0
then

echo 'UNIPOST FAILED, EXITTING'
exit

fi

if [ $dyncore = "NMM" ]; then

#######################################################################
# 2. Run copygb
#
# Copygb interpolates unipost output from its native
# grid to a regular projection grid. The package copygb
# is used to horizontally interpolate from one domain
# to another, it is necessary to run this step for wrf-nmm
# (but not for wrf-arw) because wrf-nmm's computational
# domain is on rotated Arakawa-E grid
#
# Copygb can be run in 3 ways as explained below.
# Uncomment the preferable one.
#
#----------------------------------------------------------------------
#
# Option 1:
# Copygb is run with a pre-defined AWIPS grid
# (variable $gridno, see below) Specify the grid to
# interpolate the forecast onto. To use standard AWIPS grids
# (list in  http://wwwt.emc.ncep.noaa.gov/mmb/namgrids/ or
# or http://www.nco.ncep.noaa.gov/pmb/docs/on388/tableb.html),
# set the number of the grid in variable gridno below.
# To use a user defined grid, see explanation above copygb.exe
command.
#
#export gridno=212
#
#${POSTEXEC}/copygb.exe -xg${gridno} WRFPRS_${domain}.${fhr}
wrfprs_${domain}.${fhr}
#
#----------------------------------------------------------------------
#
#  Option 2:
#  Copygb ingests a kgds definition on the command line.
#${POSTEXEC}/copygb.exe -xg"255 3 109 91 37748 -77613 8 -71000 10379
9900 0 64 42000 42000" WRFPRS_${domain}.${fhr}
wrfprs_${domain}.${fhr}
#
#----------------------------------------------------------------------
#
#  Option 3:
#  Copygb can ingests contents of files too. For example:
#     copygb_gridnav.txt or copygb_hwrf.txt through variable $nav.
#
#  Option -3.1:
#    To run for "Lambert Comformal map projection" uncomment the
following line
#
 read nav < 'copygb_gridnav.txt'
#
#  Option -3.2:
#    To run for "lat-lon" uncomment the following line
#
#read nav < 'copygb_hwrf.txt'
#
export nav
#
${POSTEXEC}/copygb.exe -xg"${nav}" WRFPRS_${domain}.${fhr}
wrfprs_${domain}.${fhr}
#
# (For more info on "copygb" see WRF-NMM User's Guide, Chapter-7.)
#----------------------------------------------------------------------

# Check to see whether "copygb" created the requested file.

ls -l wrfprs_${domain}.${fhr}
err1=$?

if test "$err1" -ne 0
then

echo 'copygb FAILED, EXITTING'
exit

fi

#----------------------------------------------------------------------
#   End of copygb job
#----------------------------------------------------------------------
elif [ $dyncore = "ARW" ]; then
    ln -s WRFPRS_${domain}.${fhr} wrfprs_${domain}.${fhr}
fi

#######################################################
# 3. Run GrADS to plot results.
# Use GrADS to first create GrADS control and index
# (or bitmap) files and then plot various fields.
#######################################################

rm -f wrfprs_${domain}_${fhr}.ctl

grib2ctl.pl -verf wrfprs_${domain}.${fhr} >
wrfprs_${domain}_${fhr}.ctl

# GrADS has problem plotting vorticity because it's not posted on all
39 pressure levels
# modify control file to define a 500 mb vorticity field

cp wrfprs_${domain}_${fhr}.ctl wrfprs_${domain}_${fhr}.ctl_org

# creating GrADS index or bitmap file

gribmap -i wrfprs_${domain}_${fhr}.ctl

#grads << EOF

cat > plotgrads << EOF
'open wrfprs_${domain}_${fhr}.ctl'
'set display color white'
'set mpdset hires'
'set gxout shaded'
'set clevs 0.01 1 3 6 9 12 15 18 21'
'set rbcols 0 10 13 5 11 4 8 2 6 9'
'd APCPsfc'
'cbar'
'set gxout contour'
'set ccolor 9'
'set cint 2'
'd MSLETmsl/100'
'draw title Accumulated Total precipitation (shaded-mm) & MSLP (hPa)'
'printim Sfcmap${fhr}_${domain}_GrADS.gif gif'

'clear'
'set gxout shaded'
'set clevs 70 75 80 85 90 92 94 96 98 99'
'set rbcols 0 10 13 5 11 4 8 6 2 9 15'
'set lev 850'
'd RHprs'
'cbar'
'draw title RH at 850 hPa (shaded-%)'
'printim 850mbRH${fhr}_${domain}_GrADS.gif gif'

'clear'
'set gxout shaded'
'set clevs -20 -15 -10 -5 0 5 10 15 20'
'set rbcols 0 4 11 15 13 8 6 2 9 15'
'set lev 850'
'd TMPprs-273'
'cbar'
'd ugrdprs;skip(vgrdprs,5)'
'draw title Temperature (shaded-C) & winds (m/s) at 850 hPa'
'printim 850mbTempandWind${fhr}_${domain}_GrADS.gif gif'

'clear'
'set gxout shaded'
'set clevs 1.6 2.0 2.4 2.8 3.2 3.6 4'
'set rbcols 0 10 13 5 11 4 8 2'
'set lev 500'
'd ABSVprs*10000'
'cbar'
'set gxout contour'
'set ccolor 7'
'd HGTprs'
'draw title Abs Vort (shaded-10^5 s-1) & geo hgt (contour-m) at 500
hPa'
'printim 500mbHandVort${fhr}_${domain}_GrADS.gif gif'

'clear'
'set gxout shaded'
'set clevs 20 25 30 35 40 45 50'
'set rbcols 0 10 13 5 11 4 8 6'
'set lev 250'
'd sqrt(ugrdprs*ugrdprs+vgrdprs*vgrdprs)'
'cbar'
'set gxout contour'
'set ccolor 7'
'd HGTprs'
'draw title Speed (shaded-m/s) & geo height (contour-m) at 250 hPa'
'printim 250mbWindandH${fhr}_${domain}_GrADS.gif gif'
'quit'
EOF

gradsc -blc "run plotgrads"

#----------------------------------------------------------------------
#   End of GrADS job
#----------------------------------------------------------------------

done

fhr=$((10#${fhr}+$((${incrementhr}))))

NEWDATE=`${POSTEXEC}/ndate.exe +$((10#${fhr})) $startdate`

done

date
echo "End of Output Job"
exit

====================================================
Thanks you for any help.

best regards,

yoshihiro yamasaki





On 10/3/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> According to our records, your request has been resolved. If you
have any
> further questions or concerns, please respond to this message.
>

------------------------------------------------
Subject: support requesting
From: John Halley Gotway
Time: Mon Oct 06 09:47:17 2014

I see that you're having trouble compiling the UPP software using PGI
compilers.  Support for UPP is provided through the WRF-Help.  Please
resend your issue to wrfhelp at ucar.edu, and hopefully they'll be able
to
help you debug.

Sorry I can't be of more assistance.

Thanks,
John Halley Gotway
met_help at ucar.edu

On Mon, Oct 6, 2014 at 6:36 AM, 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 new problem I am facing is in the UPPV2.2 compilation. The
routine
> UPPV2.2/src/unipost/GFIP3.f has a 'private'  statement with is
causing
> problem in the compilation. I am using pgi version 11.7 (but I also
> test with the version  7.07 --- same error ).
>
> The following is part of the log_file with shows the error :
>
> F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
ICAOHEIGHT.f
> pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
> -DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
> F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
> INITPOST_GFS_NEMS.f
> /lib/cpp  -C -P -DCOMMCODE -DLINUX -DUPPLITTLEENDIAN
> INITPOST_BIN_MPIIO.F > INITPOST_BIN_MPIIO.f
> INITPOST_BIN_MPIIO.F:776:7: warning: missing terminating ' character
> INITPOST_BIN_MPIIO.F:1128:64: warning: missing terminating '
character
> pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
> -DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
> F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
> INITPOST_BIN_MPIIO.f
> pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
> -DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
> F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
> GEO_ZENITH_ANGLE.f
> pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
> -DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
> F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2  GFIP3.f
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips
> (GFIP3.f)
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
> precips$ac (GFIP3.f)
>   0 inform,   0 warnings,   2 severes, 0 fatal for derivedfields
>   0 inform,   0 warnings,   2 severes, 0 fatal for derivedfields
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips
> (GFIP3.f)
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
> precips$ac (GFIP3.f)
>   0 inform,   0 warnings,   2 severes, 0 fatal for cloudlayers
>   0 inform,   0 warnings,   2 severes, 0 fatal for cloudlayers
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips
> (GFIP3.f)
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
> precips$ac (GFIP3.f)
>   0 inform,   0 warnings,   2 severes, 0 fatal for icingpotential
>   0 inform,   0 warnings,   2 severes, 0 fatal for icingpotential
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
precips
> (GFIP3.f)
> PGF90-S-0155-PRIVATE type must not be used for PUBLIC variable
> precips$ac (GFIP3.f)
>   0 inform,   0 warnings,   2 severes, 0 fatal for icingseverity
>   0 inform,   0 warnings,   2 severes, 0 fatal for icingseverity
> make[1]: [GFIP3.o] Error 2 (ignored)
> pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
> -DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
> F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
GRIDAVG.f
> pgf90 -Mfree  -c -Kieee -pc 64 -Ktrap=fp -byteswapio  -DCOMMCODE
> -DLINUX -DUPPLITTLEENDIAN -O3 -c -I/home/modelos/WR
> F/UPPV2.2/include -I/home/modelos/WRF/UPPV2.2/include/crtm2
CALUPDHEL.f
>
> =======================================================
> If I comment the private statement the compilation goes fine ---
> HOWEVER I am not able to get any grib2 file when I try to use  the
> script : run_unipostandgrads
>
> [modelos at yy3 DOMAINS]$ more run_unipostandgrads
> #!/bin/ksh
> #
> set -x
>
> # August 2005: Hui-Ya Chuang, NCEP: This script uses
> # NCEP's Unipost to post processes WRF native model
> # output, and uses copygb to horizontally interpolate posted
> # output from native A-E to a regular projection grid.
> #
> # July 2006: Meral Demirtas, NCAR/DTC: Added new "copygb"
> # options and revised some parts for clarity.
> #
> #--------------------------------------------------------
> # This script performs 3 jobs:
> #
> # 1. Run Unipost
> # 2. Run copygb to horizontally interpolate output from
> #    native A-E to a regular projection grid
> # 3. Run GrADS to plot results.
> #--------------------------------------------------------
>
> #--- EDIT HERE
--------------------------------------------------------
> # TOP_DIR - where you put the UPP build directory
> # DOMAINPATH - where do you want me to do my work
> # WRFPATH - Where do you have a version of WRF compiled
> # *** Datafile is entered below - it may reference these variables
> # dyncore - set to the model used
>
#----------------------------------------------------------------------
> export TOP_DIR=/home/modelos/WRF/UPPV2.2
> export DOMAINPATH=${TOP_DIR}/DOMAINS/test_uni_grads
> export WRF_DIR=/home/modelos/WRF/WRFV3
> export WRFPATH=${WRF_DIR}
> export UNIPOST_HOME=${TOP_DIR}/
> export POSTEXEC=${UNIPOST_HOME}/bin
> export SCRIPTS=${UNIPOST_HOME}/scripts
>
> #Specify Dyn Core (ARW or NMM in upper case)
> dyncore="ARW"
>
> if [ $dyncore = "NMM" ]; then
>    export tag=NMM
> elif [ $dyncore = "ARW" ]; then
>    export tag=NCAR
> else
>     echo "${dyncore} is not supported. Edit script to choose ARW or
> NMM dyncore."
>     exit
> fi
>
> #--- EDIT HERE
--------------------------------------------------------
> # startdate = Forecast start date
> # fhr =  first forecast hour to be post-processed
> # lastfhr = last forecast hour to be post-processed
> # incrementhr = the incement (in hours) between forecast files
> #   DO NOT SET incrementhr TO ZERO - infinite loop will result
>
#----------------------------------------------------------------------
>
> export startdate=2014062600
> export fhr=00
> export lastfhr=24
> export incrementhr=01
>
> # cd to working directory
> cd ${DOMAINPATH}/postprd
>
> # GrADS's fonts for plotting.
> ln -sf ${SCRIPTS}/cbar.gs .
>
> # Link microphysic's tables - code will use based on mp_physics
option
> # found in data
> ln -fs ${WRFPATH}/run/ETAMPNEW_DATA nam_micro_lookup.dat
> ln -fs ${WRFPATH}/run/ETAMPNEW_DATA.expanded_rain
hires_micro_lookup.dat
>
> # Get local copy of parm file
> # For GRIB1 the code uses wrf_cntrl.parm to select variables for
output
> #   the available fields are set at compilation
> # For GRIB2 the code uses postcntrl.xml to select variables for
output
> #   the available fields are defined in post_avlbflds.xml -- while
we
> #   set a link to this file for reading during runtime it is not
typical
> #   for one to update this file, therefore the link goes back to the
> #   program directory - this is true for params_grib2_tbl_new also -
a
> #   file which defines the GRIB2 table values
> ln -fs ../../../parm/wrf_cntrl.parm wrf_cntrl.parm
> ln -fs ${UNIPOST_HOME}/parm/post_avblflds.xml post_avblflds.xml
> ln -fs ../../../parm/postcntrl.xml postcntrl.xml
> ln -fs ${UNIPOST_HOME}/src/lib/g2tmpl/params_grib2_tbl_new
> params_grib2_tbl_new
>
> # link coefficients for crtm2 (simulated GOES)
> CRTMDIR=${UNIPOST_HOME}/src/lib/crtm2/src/fix
> ln -fs $CRTMDIR/EmisCoeff/Big_Endian/EmisCoeff.bin           ./
> ln -fs $CRTMDIR/AerosolCoeff/Big_Endian/AerosolCoeff.bin     ./
> ln -fs $CRTMDIR/CloudCoeff/Big_Endian/CloudCoeff.bin         ./
> ln -fs $CRTMDIR/SpcCoeff/Big_Endian/imgr_g12.SpcCoeff.bin    ./
> ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/imgr_g12.TauCoeff.bin    ./
> ln -fs $CRTMDIR/SpcCoeff/Big_Endian/imgr_g11.SpcCoeff.bin    ./
> ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/imgr_g11.TauCoeff.bin    ./
> ln -fs $CRTMDIR/SpcCoeff/Big_Endian/amsre_aqua.SpcCoeff.bin  ./
> ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/amsre_aqua.TauCoeff.bin  ./
> ln -fs $CRTMDIR/SpcCoeff/Big_Endian/tmi_trmm.SpcCoeff.bin    ./
> ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/tmi_trmm.TauCoeff.bin    ./
> ln -fs $CRTMDIR/SpcCoeff/Big_Endian/ssmi_f15.SpcCoeff.bin    ./
> ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/ssmi_f15.TauCoeff.bin    ./
> ln -fs $CRTMDIR/SpcCoeff/Big_Endian/ssmis_f20.SpcCoeff.bin   ./
> ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/ssmis_f20.TauCoeff.bin   ./
> ln -fs $CRTMDIR/SpcCoeff/Big_Endian/ssmis_f17.SpcCoeff.bin   ./
> ln -fs $CRTMDIR/TauCoeff/ODPS/Big_Endian/ssmis_f17.TauCoeff.bin   ./
>
> #--- EDIT HERE
--------------------------------------------------------
> # tmmark is an variable used as the file extention of the output
> #    filename .GrbF is used if this variable is not set
> # COMSP is a variable used as the initial string of the output
filename
>
#----------------------------------------------------------------------
> export tmmark=tm00
> export MP_SHARED_MEMORY=no
> export MP_LABELIO=no
>
> #######################################################
> # 1. Run Unipost
> #
> # The Unipost is used to read native WRF model
> # output and put out isobaric state fields and derived fields.
> #######################################################
>
> export NEWDATE=$startdate
>
> while [ $((10#${fhr})) -le $((10#${lastfhr})) ] ; do
>
> # Formatted fhr for filenames
> fhr=`printf "%02i" ${fhr}`
>
> NEWDATE=`${POSTEXEC}/ndate.exe +$((10#${fhr})) $startdate`
>
> YY=`echo $NEWDATE | cut -c1-4`
> MM=`echo $NEWDATE | cut -c5-6`
> DD=`echo $NEWDATE | cut -c7-8`
> HH=`echo $NEWDATE | cut -c9-10`
>
> echo 'NEWDATE' $NEWDATE
> echo 'YY' $YY
>
>
> #--- EDIT HERE
--------------------------------------------------------
> # Update domains
> # ie. for domain in d01 d02 d03
> for domain in d01
> do
>
> #--- EDIT HERE
--------------------------------------------------------
> # Create input file for Unipost
> #   First line is where your wrfout data is
> #   Second line is the format
> #   ** FOR GRIB2 the thrid line is "grib2" and the next 2 lines move
down
> **
> #   Third line is the time for this process file
> #   Forth line is a tag identifing the model
>
#----------------------------------------------------------------------
> cat > itag <<EOF
> /home/modelos/WRF/UPPV2.2/DOMAINS/wrfout_d01_2014-06-26_00:00:00
> netcdf
> grib2
> 2014-06-26_00:00:00
> NCAR
> EOF
>
>
#-----------------------------------------------------------------------
> #   Run unipost.
>
#-----------------------------------------------------------------------
> rm fort.*
>
> ln -sf wrf_cntrl.parm fort.14
>
> #--- EDIT HERE
--------------------------------------------------------
> # Uncomment unipost.exe you want to run
> #   mpirun for MPI dmpar compile -- UPDATE FOR YOUR SYSTEM!!! ** FOR
> #      now there are two environment variables tmmark and COMSP
> #   unipost.exe for serial compile
>
#----------------------------------------------------------------------
> # Serial run command
>   ${POSTEXEC}/unipost.exe > unipost_${domain}.$fhr.out 2>&1
> #
> # dmpar run
> # mpirun -np 1 ${POSTEXEC}/unipost.exe > unipost_${domain}.$fhr.out
2>&1
> #
> # Debugging a specific fhr with a debugger
> #if [[ $((10#${fhr})) -eq 3 ]]; then
> #  mpirun -np 1 -dbg=pgdbg ${POSTEXEC}/unipost.exe >
> unipost_${domain}.$fhr.out 2>&1
> #else
> #  mpirun -np 1 ${POSTEXEC}/unipost.exe > unipost_${domain}.$fhr.out
2>&1
> #fi
> #
> # This prefix was given in the wrf_cntl.parm file(GRIB1) or
> # postcntrl.xml(GRIB2)
> mv WRFPRS$fhr.${tmmark} WRFPRS_${domain}.${fhr}
>
> #
>
#----------------------------------------------------------------------
> #   End of unipost job
>
#----------------------------------------------------------------------
>
> ls -l WRFPRS_${domain}.${fhr}
> err1=$?
>
> if test "$err1" -ne 0
> then
>
> echo 'UNIPOST FAILED, EXITTING'
> exit
>
> fi
>
> if [ $dyncore = "NMM" ]; then
>
>
#######################################################################
> # 2. Run copygb
> #
> # Copygb interpolates unipost output from its native
> # grid to a regular projection grid. The package copygb
> # is used to horizontally interpolate from one domain
> # to another, it is necessary to run this step for wrf-nmm
> # (but not for wrf-arw) because wrf-nmm's computational
> # domain is on rotated Arakawa-E grid
> #
> # Copygb can be run in 3 ways as explained below.
> # Uncomment the preferable one.
> #
>
#----------------------------------------------------------------------
> #
> # Option 1:
> # Copygb is run with a pre-defined AWIPS grid
> # (variable $gridno, see below) Specify the grid to
> # interpolate the forecast onto. To use standard AWIPS grids
> # (list in  http://wwwt.emc.ncep.noaa.gov/mmb/namgrids/ or
> # or http://www.nco.ncep.noaa.gov/pmb/docs/on388/tableb.html),
> # set the number of the grid in variable gridno below.
> # To use a user defined grid, see explanation above copygb.exe
command.
> #
> #export gridno=212
> #
> #${POSTEXEC}/copygb.exe -xg${gridno} WRFPRS_${domain}.${fhr}
> wrfprs_${domain}.${fhr}
> #
>
#----------------------------------------------------------------------
> #
> #  Option 2:
> #  Copygb ingests a kgds definition on the command line.
> #${POSTEXEC}/copygb.exe -xg"255 3 109 91 37748 -77613 8 -71000 10379
> 9900 0 64 42000 42000" WRFPRS_${domain}.${fhr}
> wrfprs_${domain}.${fhr}
> #
>
#----------------------------------------------------------------------
> #
> #  Option 3:
> #  Copygb can ingests contents of files too. For example:
> #     copygb_gridnav.txt or copygb_hwrf.txt through variable $nav.
> #
> #  Option -3.1:
> #    To run for "Lambert Comformal map projection" uncomment the
following
> line
> #
>  read nav < 'copygb_gridnav.txt'
> #
> #  Option -3.2:
> #    To run for "lat-lon" uncomment the following line
> #
> #read nav < 'copygb_hwrf.txt'
> #
> export nav
> #
> ${POSTEXEC}/copygb.exe -xg"${nav}" WRFPRS_${domain}.${fhr}
> wrfprs_${domain}.${fhr}
> #
> # (For more info on "copygb" see WRF-NMM User's Guide, Chapter-7.)
>
#----------------------------------------------------------------------
>
> # Check to see whether "copygb" created the requested file.
>
> ls -l wrfprs_${domain}.${fhr}
> err1=$?
>
> if test "$err1" -ne 0
> then
>
> echo 'copygb FAILED, EXITTING'
> exit
>
> fi
>
>
#----------------------------------------------------------------------
> #   End of copygb job
>
#----------------------------------------------------------------------
> elif [ $dyncore = "ARW" ]; then
>     ln -s WRFPRS_${domain}.${fhr} wrfprs_${domain}.${fhr}
> fi
>
> #######################################################
> # 3. Run GrADS to plot results.
> # Use GrADS to first create GrADS control and index
> # (or bitmap) files and then plot various fields.
> #######################################################
>
> rm -f wrfprs_${domain}_${fhr}.ctl
>
> grib2ctl.pl -verf wrfprs_${domain}.${fhr} >
wrfprs_${domain}_${fhr}.ctl
>
> # GrADS has problem plotting vorticity because it's not posted on
all
> 39 pressure levels
> # modify control file to define a 500 mb vorticity field
>
> cp wrfprs_${domain}_${fhr}.ctl wrfprs_${domain}_${fhr}.ctl_org
>
> # creating GrADS index or bitmap file
>
> gribmap -i wrfprs_${domain}_${fhr}.ctl
>
> #grads << EOF
>
> cat > plotgrads << EOF
> 'open wrfprs_${domain}_${fhr}.ctl'
> 'set display color white'
> 'set mpdset hires'
> 'set gxout shaded'
> 'set clevs 0.01 1 3 6 9 12 15 18 21'
> 'set rbcols 0 10 13 5 11 4 8 2 6 9'
> 'd APCPsfc'
> 'cbar'
> 'set gxout contour'
> 'set ccolor 9'
> 'set cint 2'
> 'd MSLETmsl/100'
> 'draw title Accumulated Total precipitation (shaded-mm) & MSLP
(hPa)'
> 'printim Sfcmap${fhr}_${domain}_GrADS.gif gif'
>
> 'clear'
> 'set gxout shaded'
> 'set clevs 70 75 80 85 90 92 94 96 98 99'
> 'set rbcols 0 10 13 5 11 4 8 6 2 9 15'
> 'set lev 850'
> 'd RHprs'
> 'cbar'
> 'draw title RH at 850 hPa (shaded-%)'
> 'printim 850mbRH${fhr}_${domain}_GrADS.gif gif'
>
> 'clear'
> 'set gxout shaded'
> 'set clevs -20 -15 -10 -5 0 5 10 15 20'
> 'set rbcols 0 4 11 15 13 8 6 2 9 15'
> 'set lev 850'
> 'd TMPprs-273'
> 'cbar'
> 'd ugrdprs;skip(vgrdprs,5)'
> 'draw title Temperature (shaded-C) & winds (m/s) at 850 hPa'
> 'printim 850mbTempandWind${fhr}_${domain}_GrADS.gif gif'
>
> 'clear'
> 'set gxout shaded'
> 'set clevs 1.6 2.0 2.4 2.8 3.2 3.6 4'
> 'set rbcols 0 10 13 5 11 4 8 2'
> 'set lev 500'
> 'd ABSVprs*10000'
> 'cbar'
> 'set gxout contour'
> 'set ccolor 7'
> 'd HGTprs'
> 'draw title Abs Vort (shaded-10^5 s-1) & geo hgt (contour-m) at 500
hPa'
> 'printim 500mbHandVort${fhr}_${domain}_GrADS.gif gif'
>
> 'clear'
> 'set gxout shaded'
> 'set clevs 20 25 30 35 40 45 50'
> 'set rbcols 0 10 13 5 11 4 8 6'
> 'set lev 250'
> 'd sqrt(ugrdprs*ugrdprs+vgrdprs*vgrdprs)'
> 'cbar'
> 'set gxout contour'
> 'set ccolor 7'
> 'd HGTprs'
> 'draw title Speed (shaded-m/s) & geo height (contour-m) at 250 hPa'
> 'printim 250mbWindandH${fhr}_${domain}_GrADS.gif gif'
> 'quit'
> EOF
>
> gradsc -blc "run plotgrads"
>
>
#----------------------------------------------------------------------
> #   End of GrADS job
>
#----------------------------------------------------------------------
>
> done
>
> fhr=$((10#${fhr}+$((${incrementhr}))))
>
> NEWDATE=`${POSTEXEC}/ndate.exe +$((10#${fhr})) $startdate`
>
> done
>
> date
> echo "End of Output Job"
> exit
>
> ====================================================
> Thanks you for any help.
>
> best regards,
>
> yoshihiro yamasaki
>
>
>
>
>
> On 10/3/14, John Halley Gotway via RT <met_help at ucar.edu> wrote:
> > According to our records, your request has been resolved. If you
have any
> > further questions or concerns, please respond to this message.
> >
>
>

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


More information about the Met_help mailing list