[Met_help] [rt.rap.ucar.edu #80687] History for question on specifying threshold ranges in config file

Julie Prestopnik via RT met_help at ucar.edu
Thu Jun 1 13:40:37 MDT 2017


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

Hi,

How do you specify ranges of thresholds in the config file?  For example, I
tried:
       wind_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 && <17.0, >=17.0
&& <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
       cat_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 && <17.0, >=17.0
&& <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
Using the command:
point_stat /com2/gfs/prod/gfs.20170528/gfs.t00z.master.grb2f00
/ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
uv_wind_pb_2017052800_00.nc
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
-outdir /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/ -v 2

for ranges of wind speeds 0 -1, 1-5, 5-17, 17-24, 24-33, and gt 33, and it
didn't work.  I got the error:

DEBUG 1: Default Config File:
/awc/noscrub/Julie.Prestopnik/met/6.0/share/met/config/PointStatConfig_default
DEBUG 1: User Config File:
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
ERROR  :
ERROR  : check_mctc_thresh() -> when verifying using multi-category
contingency tables, the thresholds must be monotonically increasing and be
of the same inequality type (lt, le, gt, or ge).
ERROR  :

Is this incorrect, and how do I correct it?

Thanks in advance!

Roz
-- 
Rosalyn MacCracken
Support Scientist

Ocean Applilcations Branch
NOAA/NWS Ocean Prediction Center
NCWCP
5830 University Research Ct
College Park, MD  20740-3818

(p) 301-683-1551
rosalyn.maccracken at noaa.gov


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

Subject: question on specifying threshold ranges in config file
From: Julie Prestopnik
Time: Thu Jun 01 09:30:27 2017

Hi Roz.  Again, John would be the best person to answer your question.
While he is out, I'm hoping to help as best as I can.

I logged onto WCOSS and was able to reproduce the your error.  I saw
in
your configuration file that you had commented out lines of the
following
format:

[ >=0.0, >=1.0, >=5.0, >=17.0, >=24.0, >=33.0 ];

in favor of

[ >=0.0&&<1.0, >=1.0&&<5.0, >=5.0&&<17.0, >=17.0&&<24.0,
>=24.0&&<33.0,
>=33.0&&<500.0 ];

When I switched to using the first format, I got a successful run.  I
believe that specifying the 6 thresholds above results in a 7x7
contingency
table.  The 7 categories would be:
1: less than 0
2: 0 to 1
3: 1 to 5
4: 5 to 17
5: 17 to 24
6: 24 to 33
7: greater than 33

I hope that helps.  Please let us know what other questions you have.

Thanks,
Julie



On Wed, May 31, 2017 at 10:37 AM, Rosalyn MacCracken - NOAA Affiliate
via
RT <met_help at ucar.edu> wrote:

>
> Wed May 31 10:37:53 2017: Request 80687 was acted upon.
> Transaction: Ticket created by rosalyn.maccracken at noaa.gov
>        Queue: met_help
>      Subject: question on specifying threshold ranges in config file
>        Owner: Nobody
>   Requestors: rosalyn.maccracken at noaa.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
>
>
> Hi,
>
> How do you specify ranges of thresholds in the config file?  For
example, I
> tried:
>        wind_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 && <17.0,
>=17.0
> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
>        cat_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 && <17.0,
>=17.0
> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
> Using the command:
> point_stat /com2/gfs/prod/gfs.20170528/gfs.t00z.master.grb2f00
> /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
> uv_wind_pb_2017052800_00.nc
>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
> -outdir /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
-v 2
>
> for ranges of wind speeds 0 -1, 1-5, 5-17, 17-24, 24-33, and gt 33,
and it
> didn't work.  I got the error:
>
> DEBUG 1: Default Config File:
> /awc/noscrub/Julie.Prestopnik/met/6.0/share/met/config/
> PointStatConfig_default
> DEBUG 1: User Config File:
>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
> ERROR  :
> ERROR  : check_mctc_thresh() -> when verifying using multi-category
> contingency tables, the thresholds must be monotonically increasing
and be
> of the same inequality type (lt, le, gt, or ge).
> ERROR  :
>
> Is this incorrect, and how do I correct it?
>
> Thanks in advance!
>
> Roz
> --
> Rosalyn MacCracken
> Support Scientist
>
> Ocean Applilcations Branch
> NOAA/NWS Ocean Prediction Center
> NCWCP
> 5830 University Research Ct
> College Park, MD  20740-3818
>
> (p) 301-683-1551
> rosalyn.maccracken at noaa.gov
>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #80687] question on specifying threshold ranges in config file
From: Rosalyn MacCracken - NOAA Affiliate
Time: Thu Jun 01 11:11:28 2017

Ah, so if I have thresholds of say,
<0, >=5, >=17
Those are actually ranges of:
0-5, 5-17, and >17
Correct?
So, the first way I did it actually gave me ranges, and not just how
many points are greater than that number, correct?  Well, if it gives
me ranges, than I think I solved both of those two issues.

Roz

> On Jun 1, 2017, at 11:30 AM, Julie Prestopnik via RT
<met_help at ucar.edu> wrote:
>
> Hi Roz.  Again, John would be the best person to answer your
question.
> While he is out, I'm hoping to help as best as I can.
>
> I logged onto WCOSS and was able to reproduce the your error.  I saw
in
> your configuration file that you had commented out lines of the
following
> format:
>
> [ >=0.0, >=1.0, >=5.0, >=17.0, >=24.0, >=33.0 ];
>
> in favor of
>
> [ >=0.0&&<1.0, >=1.0&&<5.0, >=5.0&&<17.0, >=17.0&&<24.0,
>=24.0&&<33.0,
>> =33.0&&<500.0 ];
>
> When I switched to using the first format, I got a successful run.
I
> believe that specifying the 6 thresholds above results in a 7x7
contingency
> table.  The 7 categories would be:
> 1: less than 0
> 2: 0 to 1
> 3: 1 to 5
> 4: 5 to 17
> 5: 17 to 24
> 6: 24 to 33
> 7: greater than 33
>
> I hope that helps.  Please let us know what other questions you
have.
>
> Thanks,
> Julie
>
>
>
> On Wed, May 31, 2017 at 10:37 AM, Rosalyn MacCracken - NOAA
Affiliate via
> RT <met_help at ucar.edu> wrote:
>
>>
>> Wed May 31 10:37:53 2017: Request 80687 was acted upon.
>> Transaction: Ticket created by rosalyn.maccracken at noaa.gov
>>       Queue: met_help
>>     Subject: question on specifying threshold ranges in config file
>>       Owner: Nobody
>>  Requestors: rosalyn.maccracken at noaa.gov
>>      Status: new
>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
>>
>>
>> Hi,
>>
>> How do you specify ranges of thresholds in the config file?  For
example, I
>> tried:
>>       wind_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 && <17.0,
>=17.0
>> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
>>       cat_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 && <17.0,
>=17.0
>> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
>> Using the command:
>> point_stat /com2/gfs/prod/gfs.20170528/gfs.t00z.master.grb2f00
>> /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
>> uv_wind_pb_2017052800_00.nc
>>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
>> -outdir /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
-v 2
>>
>> for ranges of wind speeds 0 -1, 1-5, 5-17, 17-24, 24-33, and gt 33,
and it
>> didn't work.  I got the error:
>>
>> DEBUG 1: Default Config File:
>> /awc/noscrub/Julie.Prestopnik/met/6.0/share/met/config/
>> PointStatConfig_default
>> DEBUG 1: User Config File:
>>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
>> ERROR  :
>> ERROR  : check_mctc_thresh() -> when verifying using multi-category
>> contingency tables, the thresholds must be monotonically increasing
and be
>> of the same inequality type (lt, le, gt, or ge).
>> ERROR  :
>>
>> Is this incorrect, and how do I correct it?
>>
>> Thanks in advance!
>>
>> Roz
>> --
>> Rosalyn MacCracken
>> Support Scientist
>>
>> Ocean Applilcations Branch
>> NOAA/NWS Ocean Prediction Center
>> NCWCP
>> 5830 University Research Ct
>> College Park, MD  20740-3818
>>
>> (p) 301-683-1551
>> rosalyn.maccracken at noaa.gov
>


------------------------------------------------
Subject: question on specifying threshold ranges in config file
From: Julie Prestopnik
Time: Thu Jun 01 12:30:24 2017

Hi Roz.

"Ah, so if I have thresholds of say, <0, >=5, >=17"
Not exactly, because it wouldn't work with "<0" ("the thresholds must
be
monotonically increasing and be of the same inequality type (lt, le,
gt, or
ge).").

But, if you had >=0, >=5, >=17 then those would be ranges of:
1: less than 0
2: 0 - 5
3: 5 - 17
4: greater than 17

"So, the first way I did it actually gave me ranges, and not just how
many
points are greater than that number, correct?"
Yes.

Great!  I'll go ahead and close this ticket.  Please open a new ticket
with
any other questions you may have.

Thanks,
Julie

On Thu, Jun 1, 2017 at 11:11 AM, Rosalyn MacCracken - NOAA Affiliate
via RT
<met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
>
> Ah, so if I have thresholds of say,
> <0, >=5, >=17
> Those are actually ranges of:
> 0-5, 5-17, and >17
> Correct?
> So, the first way I did it actually gave me ranges, and not just how
many
> points are greater than that number, correct?  Well, if it gives me
ranges,
> than I think I solved both of those two issues.
>
> Roz
>
> > On Jun 1, 2017, at 11:30 AM, Julie Prestopnik via RT
<met_help at ucar.edu>
> wrote:
> >
> > Hi Roz.  Again, John would be the best person to answer your
question.
> > While he is out, I'm hoping to help as best as I can.
> >
> > I logged onto WCOSS and was able to reproduce the your error.  I
saw in
> > your configuration file that you had commented out lines of the
following
> > format:
> >
> > [ >=0.0, >=1.0, >=5.0, >=17.0, >=24.0, >=33.0 ];
> >
> > in favor of
> >
> > [ >=0.0&&<1.0, >=1.0&&<5.0, >=5.0&&<17.0, >=17.0&&<24.0,
>=24.0&&<33.0,
> >> =33.0&&<500.0 ];
> >
> > When I switched to using the first format, I got a successful run.
I
> > believe that specifying the 6 thresholds above results in a 7x7
> contingency
> > table.  The 7 categories would be:
> > 1: less than 0
> > 2: 0 to 1
> > 3: 1 to 5
> > 4: 5 to 17
> > 5: 17 to 24
> > 6: 24 to 33
> > 7: greater than 33
> >
> > I hope that helps.  Please let us know what other questions you
have.
> >
> > Thanks,
> > Julie
> >
> >
> >
> > On Wed, May 31, 2017 at 10:37 AM, Rosalyn MacCracken - NOAA
Affiliate via
> > RT <met_help at ucar.edu> wrote:
> >
> >>
> >> Wed May 31 10:37:53 2017: Request 80687 was acted upon.
> >> Transaction: Ticket created by rosalyn.maccracken at noaa.gov
> >>       Queue: met_help
> >>     Subject: question on specifying threshold ranges in config
file
> >>       Owner: Nobody
> >>  Requestors: rosalyn.maccracken at noaa.gov
> >>      Status: new
> >> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
> >>
> >>
> >> Hi,
> >>
> >> How do you specify ranges of thresholds in the config file?  For
> example, I
> >> tried:
> >>       wind_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 &&
<17.0,
> >=17.0
> >> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
> >>       cat_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 &&
<17.0,
> >=17.0
> >> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
> >> Using the command:
> >> point_stat /com2/gfs/prod/gfs.20170528/gfs.t00z.master.grb2f00
> >> /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
> >> uv_wind_pb_2017052800_00.nc
> >>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
> >> -outdir
/ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/ -v 2
> >>
> >> for ranges of wind speeds 0 -1, 1-5, 5-17, 17-24, 24-33, and gt
33, and
> it
> >> didn't work.  I got the error:
> >>
> >> DEBUG 1: Default Config File:
> >> /awc/noscrub/Julie.Prestopnik/met/6.0/share/met/config/
> >> PointStatConfig_default
> >> DEBUG 1: User Config File:
> >>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
> >> ERROR  :
> >> ERROR  : check_mctc_thresh() -> when verifying using multi-
category
> >> contingency tables, the thresholds must be monotonically
increasing and
> be
> >> of the same inequality type (lt, le, gt, or ge).
> >> ERROR  :
> >>
> >> Is this incorrect, and how do I correct it?
> >>
> >> Thanks in advance!
> >>
> >> Roz
> >> --
> >> Rosalyn MacCracken
> >> Support Scientist
> >>
> >> Ocean Applilcations Branch
> >> NOAA/NWS Ocean Prediction Center
> >> NCWCP
> >> 5830 University Research Ct
> >> College Park, MD  20740-3818
> >>
> >> (p) 301-683-1551
> >> rosalyn.maccracken at noaa.gov
> >
>
>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #80687] question on specifying threshold ranges in config file
From: Rosalyn MacCracken - NOAA Affiliate
Time: Thu Jun 01 13:35:10 2017

Oh, great!  Thanks so much for your help.  That answers both
questions.  You can close both tickets.

Thanks again for your help!

Roz

> On Jun 1, 2017, at 2:30 PM, Julie Prestopnik via RT
<met_help at ucar.edu> wrote:
>
> Hi Roz.
>
> "Ah, so if I have thresholds of say, <0, >=5, >=17"
> Not exactly, because it wouldn't work with "<0" ("the thresholds
must be
> monotonically increasing and be of the same inequality type (lt, le,
gt, or
> ge).").
>
> But, if you had >=0, >=5, >=17 then those would be ranges of:
> 1: less than 0
> 2: 0 - 5
> 3: 5 - 17
> 4: greater than 17
>
> "So, the first way I did it actually gave me ranges, and not just
how many
> points are greater than that number, correct?"
> Yes.
>
> Great!  I'll go ahead and close this ticket.  Please open a new
ticket with
> any other questions you may have.
>
> Thanks,
> Julie
>
> On Thu, Jun 1, 2017 at 11:11 AM, Rosalyn MacCracken - NOAA Affiliate
via RT
> <met_help at ucar.edu> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
>>
>> Ah, so if I have thresholds of say,
>> <0, >=5, >=17
>> Those are actually ranges of:
>> 0-5, 5-17, and >17
>> Correct?
>> So, the first way I did it actually gave me ranges, and not just
how many
>> points are greater than that number, correct?  Well, if it gives me
ranges,
>> than I think I solved both of those two issues.
>>
>> Roz
>>
>>>> On Jun 1, 2017, at 11:30 AM, Julie Prestopnik via RT
<met_help at ucar.edu>
>>> wrote:
>>>
>>> Hi Roz.  Again, John would be the best person to answer your
question.
>>> While he is out, I'm hoping to help as best as I can.
>>>
>>> I logged onto WCOSS and was able to reproduce the your error.  I
saw in
>>> your configuration file that you had commented out lines of the
following
>>> format:
>>>
>>> [ >=0.0, >=1.0, >=5.0, >=17.0, >=24.0, >=33.0 ];
>>>
>>> in favor of
>>>
>>> [ >=0.0&&<1.0, >=1.0&&<5.0, >=5.0&&<17.0, >=17.0&&<24.0,
>=24.0&&<33.0,
>>>> =33.0&&<500.0 ];
>>>
>>> When I switched to using the first format, I got a successful run.
I
>>> believe that specifying the 6 thresholds above results in a 7x7
>> contingency
>>> table.  The 7 categories would be:
>>> 1: less than 0
>>> 2: 0 to 1
>>> 3: 1 to 5
>>> 4: 5 to 17
>>> 5: 17 to 24
>>> 6: 24 to 33
>>> 7: greater than 33
>>>
>>> I hope that helps.  Please let us know what other questions you
have.
>>>
>>> Thanks,
>>> Julie
>>>
>>>
>>>
>>> On Wed, May 31, 2017 at 10:37 AM, Rosalyn MacCracken - NOAA
Affiliate via
>>> RT <met_help at ucar.edu> wrote:
>>>
>>>>
>>>> Wed May 31 10:37:53 2017: Request 80687 was acted upon.
>>>> Transaction: Ticket created by rosalyn.maccracken at noaa.gov
>>>>      Queue: met_help
>>>>    Subject: question on specifying threshold ranges in config
file
>>>>      Owner: Nobody
>>>> Requestors: rosalyn.maccracken at noaa.gov
>>>>     Status: new
>>>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
>>>>
>>>>
>>>> Hi,
>>>>
>>>> How do you specify ranges of thresholds in the config file?  For
>> example, I
>>>> tried:
>>>>      wind_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 &&
<17.0,
>>> =17.0
>>>> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
>>>>      cat_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 && <17.0,
>>> =17.0
>>>> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
>>>> Using the command:
>>>> point_stat /com2/gfs/prod/gfs.20170528/gfs.t00z.master.grb2f00
>>>> /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
>>>> uv_wind_pb_2017052800_00.nc
>>>>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
>>>> -outdir
/ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/ -v 2
>>>>
>>>> for ranges of wind speeds 0 -1, 1-5, 5-17, 17-24, 24-33, and gt
33, and
>> it
>>>> didn't work.  I got the error:
>>>>
>>>> DEBUG 1: Default Config File:
>>>> /awc/noscrub/Julie.Prestopnik/met/6.0/share/met/config/
>>>> PointStatConfig_default
>>>> DEBUG 1: User Config File:
>>>>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
>>>> ERROR  :
>>>> ERROR  : check_mctc_thresh() -> when verifying using multi-
category
>>>> contingency tables, the thresholds must be monotonically
increasing and
>> be
>>>> of the same inequality type (lt, le, gt, or ge).
>>>> ERROR  :
>>>>
>>>> Is this incorrect, and how do I correct it?
>>>>
>>>> Thanks in advance!
>>>>
>>>> Roz
>>>> --
>>>> Rosalyn MacCracken
>>>> Support Scientist
>>>>
>>>> Ocean Applilcations Branch
>>>> NOAA/NWS Ocean Prediction Center
>>>> NCWCP
>>>> 5830 University Research Ct
>>>> College Park, MD  20740-3818
>>>>
>>>> (p) 301-683-1551
>>>> rosalyn.maccracken at noaa.gov
>


------------------------------------------------
Subject: question on specifying threshold ranges in config file
From: Julie Prestopnik
Time: Thu Jun 01 13:38:21 2017

Thank you, Roz!  I will close both tickets.  Please let us know when
you
have other questions.

Julie

On Thu, Jun 1, 2017 at 1:35 PM, Rosalyn MacCracken - NOAA Affiliate
via RT <
met_help at ucar.edu> wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
>
> Oh, great!  Thanks so much for your help.  That answers both
questions.
> You can close both tickets.
>
> Thanks again for your help!
>
> Roz
>
> > On Jun 1, 2017, at 2:30 PM, Julie Prestopnik via RT
<met_help at ucar.edu>
> wrote:
> >
> > Hi Roz.
> >
> > "Ah, so if I have thresholds of say, <0, >=5, >=17"
> > Not exactly, because it wouldn't work with "<0" ("the thresholds
must be
> > monotonically increasing and be of the same inequality type (lt,
le, gt,
> or
> > ge).").
> >
> > But, if you had >=0, >=5, >=17 then those would be ranges of:
> > 1: less than 0
> > 2: 0 - 5
> > 3: 5 - 17
> > 4: greater than 17
> >
> > "So, the first way I did it actually gave me ranges, and not just
how
> many
> > points are greater than that number, correct?"
> > Yes.
> >
> > Great!  I'll go ahead and close this ticket.  Please open a new
ticket
> with
> > any other questions you may have.
> >
> > Thanks,
> > Julie
> >
> > On Thu, Jun 1, 2017 at 11:11 AM, Rosalyn MacCracken - NOAA
Affiliate via
> RT
> > <met_help at ucar.edu> wrote:
> >
> >>
> >> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687 >
> >>
> >> Ah, so if I have thresholds of say,
> >> <0, >=5, >=17
> >> Those are actually ranges of:
> >> 0-5, 5-17, and >17
> >> Correct?
> >> So, the first way I did it actually gave me ranges, and not just
how
> many
> >> points are greater than that number, correct?  Well, if it gives
me
> ranges,
> >> than I think I solved both of those two issues.
> >>
> >> Roz
> >>
> >>>> On Jun 1, 2017, at 11:30 AM, Julie Prestopnik via RT <
> met_help at ucar.edu>
> >>> wrote:
> >>>
> >>> Hi Roz.  Again, John would be the best person to answer your
question.
> >>> While he is out, I'm hoping to help as best as I can.
> >>>
> >>> I logged onto WCOSS and was able to reproduce the your error.  I
saw in
> >>> your configuration file that you had commented out lines of the
> following
> >>> format:
> >>>
> >>> [ >=0.0, >=1.0, >=5.0, >=17.0, >=24.0, >=33.0 ];
> >>>
> >>> in favor of
> >>>
> >>> [ >=0.0&&<1.0, >=1.0&&<5.0, >=5.0&&<17.0, >=17.0&&<24.0,
>=24.0&&<33.0,
> >>>> =33.0&&<500.0 ];
> >>>
> >>> When I switched to using the first format, I got a successful
run.  I
> >>> believe that specifying the 6 thresholds above results in a 7x7
> >> contingency
> >>> table.  The 7 categories would be:
> >>> 1: less than 0
> >>> 2: 0 to 1
> >>> 3: 1 to 5
> >>> 4: 5 to 17
> >>> 5: 17 to 24
> >>> 6: 24 to 33
> >>> 7: greater than 33
> >>>
> >>> I hope that helps.  Please let us know what other questions you
have.
> >>>
> >>> Thanks,
> >>> Julie
> >>>
> >>>
> >>>
> >>> On Wed, May 31, 2017 at 10:37 AM, Rosalyn MacCracken - NOAA
Affiliate
> via
> >>> RT <met_help at ucar.edu> wrote:
> >>>
> >>>>
> >>>> Wed May 31 10:37:53 2017: Request 80687 was acted upon.
> >>>> Transaction: Ticket created by rosalyn.maccracken at noaa.gov
> >>>>      Queue: met_help
> >>>>    Subject: question on specifying threshold ranges in config
file
> >>>>      Owner: Nobody
> >>>> Requestors: rosalyn.maccracken at noaa.gov
> >>>>     Status: new
> >>>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=80687
> >
> >>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> How do you specify ranges of thresholds in the config file?
For
> >> example, I
> >>>> tried:
> >>>>      wind_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 &&
<17.0,
> >>> =17.0
> >>>> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
> >>>>      cat_thresh = [ >=0.0 && <1.0, >=1.0 && <5.0, >=5.0 &&
<17.0,
> >>> =17.0
> >>>> && <24.0, >=24.0 && <33.0, >=33.0 && <500.0 ];
> >>>> Using the command:
> >>>> point_stat /com2/gfs/prod/gfs.20170528/gfs.t00z.master.grb2f00
> >>>> /ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
> >>>> uv_wind_pb_2017052800_00.nc
> >>>>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
> >>>> -outdir
/ptmpp1/Rosalyn.MacCracken/MET_verif_data/GFS/data/hourly/
> -v 2
> >>>>
> >>>> for ranges of wind speeds 0 -1, 1-5, 5-17, 17-24, 24-33, and gt
33,
> and
> >> it
> >>>> didn't work.  I got the error:
> >>>>
> >>>> DEBUG 1: Default Config File:
> >>>> /awc/noscrub/Julie.Prestopnik/met/6.0/share/met/config/
> >>>> PointStatConfig_default
> >>>> DEBUG 1: User Config File:
> >>>>
/u/Rosalyn.MacCracken/MET_proc/oper_scr_progs/PointStatConfig_working
> >>>> ERROR  :
> >>>> ERROR  : check_mctc_thresh() -> when verifying using multi-
category
> >>>> contingency tables, the thresholds must be monotonically
increasing
> and
> >> be
> >>>> of the same inequality type (lt, le, gt, or ge).
> >>>> ERROR  :
> >>>>
> >>>> Is this incorrect, and how do I correct it?
> >>>>
> >>>> Thanks in advance!
> >>>>
> >>>> Roz
> >>>> --
> >>>> Rosalyn MacCracken
> >>>> Support Scientist
> >>>>
> >>>> Ocean Applilcations Branch
> >>>> NOAA/NWS Ocean Prediction Center
> >>>> NCWCP
> >>>> 5830 University Research Ct
> >>>> College Park, MD  20740-3818
> >>>>
> >>>> (p) 301-683-1551
> >>>> rosalyn.maccracken at noaa.gov
> >
>
>
>

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


More information about the Met_help mailing list