[Met_help] [rt.rap.ucar.edu #99059] History for question about percentile thresholds in MET

John Halley Gotway via RT met_help at ucar.edu
Thu Mar 18 11:00:42 MDT 2021


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

Good Afternoon!

I am running MET grid-stat, and I was using a threshold of >SFP99 (and
>SOP99). However, due to the data I am using, I would like to increase the
threshold to 99.9. When I do this I get a syntax error.

Is there a way I can specify non-integer percentiles?

Thanks!
Michelle Harrold


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

Subject: question about percentile thresholds in MET
From: John Halley Gotway
Time: Mon Mar 15 16:05:03 2021

Hi Michelle,

I see you have a question about using non-integer percentile
thresholds in
MET.
I was able to replicate the behavior you describe using this
plot_data_plane command where I tried replacing anything greater than
the
median with a value of 270.

Integers work:
plot_data_plane data/sample_fcst/2005080700/wrfprs_ruc13_12.tm00_G212
plot.ps 'name="TMP"; level="P500"; censor_thresh=[>SFP50];
censor_val=[270];'

Floating points do not:
plot_data_plane data/sample_fcst/2005080700/wrfprs_ruc13_12.tm00_G212
plot.ps 'name="TMP"; level="P500"; censor_thresh=[>SFP50.0];
censor_val=[270];'

ERROR  :
ERROR  : yyerror() -> syntax error in file "/tmp/met_config_85620_0"
ERROR  :
ERROR  :    line   = 1
ERROR  :
ERROR  :    column = 27
ERROR  :
ERROR  :    text   = "]"
ERROR  :
ERROR  :
ERROR  : name="TMP"; level="P500"; censor_thresh=[>SFP50.0];
censor_val=[270];
ERROR  :
__________________________^__________________________________________
ERROR  :

The good news is the MET's library code already stores the percentile
values as doubles. So once we get the parsing code to handle non-
integer
percentiles, everything else should work fine. The bad news is that
this
will require a code change. I'll let you know what I find.

Thanks,
John Halley Gotway

On Mon, Mar 15, 2021 at 3:46 PM Michelle Harrold via RT
<met_help at ucar.edu>
wrote:

>
> Mon Mar 15 15:46:02 2021: Request 99059 was acted upon.
> Transaction: Ticket created by harrold
>        Queue: met_help
>      Subject: question about percentile thresholds in MET
>        Owner: Nobody
>   Requestors: harrold at ucar.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99059 >
>
>
> Good Afternoon!
>
> I am running MET grid-stat, and I was using a threshold of >SFP99
(and
> >SOP99). However, due to the data I am using, I would like to
increase the
> threshold to 99.9. When I do this I get a syntax error.
>
> Is there a way I can specify non-integer percentiles?
>
> Thanks!
> Michelle Harrold
>
>

------------------------------------------------
Subject: question about percentile thresholds in MET
From: John Halley Gotway
Time: Mon Mar 15 16:20:55 2021

Michelle,

Here's a GitHub issue which describes this problem:
https://github.com/dtcenter/MET/issues/1716

Is it sufficient to fix this for MET version 10.0.0 or do you also
need a
bugfix for version 9.1 of MET?

Thanks,
John

On Mon, Mar 15, 2021 at 4:05 PM The RT System itself via RT <
met_help at ucar.edu> wrote:

>
> Mon Mar 15 16:05:03 2021: Request 99059 was acted upon.
> Transaction: Given to johnhg (John Halley Gotway) by RT_System
>        Queue: met_help
>      Subject: question about percentile thresholds in MET
>        Owner: johnhg
>   Requestors: harrold at ucar.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99059 >
>
>
> This transaction appears to have no content
>

------------------------------------------------
Subject: question about percentile thresholds in MET
From: Michelle  Harrold
Time: Mon Mar 15 16:48:01 2021

Hi John,

Thanks for looking into this and writing up a GitHub issue. If
possible, I
would love to have it as a bigfix for v9.1, but if that is not
feasible, a
beta version of v10 would be okay.

Thanks!
Michelle

On Mon, Mar 15, 2021 at 4:21 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:

> Michelle,
>
> Here's a GitHub issue which describes this problem:
> https://github.com/dtcenter/MET/issues/1716
>
> Is it sufficient to fix this for MET version 10.0.0 or do you also
need a
> bugfix for version 9.1 of MET?
>
> Thanks,
> John
>
> On Mon, Mar 15, 2021 at 4:05 PM The RT System itself via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Mon Mar 15 16:05:03 2021: Request 99059 was acted upon.
> > Transaction: Given to johnhg (John Halley Gotway) by RT_System
> >        Queue: met_help
> >      Subject: question about percentile thresholds in MET
> >        Owner: johnhg
> >   Requestors: harrold at ucar.edu
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99059 >
> >
> >
> > This transaction appears to have no content
> >
>
>

------------------------------------------------
Subject: question about percentile thresholds in MET
From: John Halley Gotway
Time: Thu Mar 18 11:00:23 2021

Michelle,

As we've discussed, MET #1716
(https://github.com/dtcenter/MET/issues/1716)
describes this issue and a fix for it will be included in the met-
9.1.3
bugfix release.

And I note that you'd like 9.1.3 installed on cheyenne.

I'll go ahead and resolve this issue.

John


On Mon, Mar 15, 2021 at 4:48 PM Michelle Harrold via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99059 >
>
> Hi John,
>
> Thanks for looking into this and writing up a GitHub issue. If
possible, I
> would love to have it as a bigfix for v9.1, but if that is not
feasible, a
> beta version of v10 would be okay.
>
> Thanks!
> Michelle
>
> On Mon, Mar 15, 2021 at 4:21 PM John Halley Gotway via RT <
> met_help at ucar.edu>
> wrote:
>
> > Michelle,
> >
> > Here's a GitHub issue which describes this problem:
> > https://github.com/dtcenter/MET/issues/1716
> >
> > Is it sufficient to fix this for MET version 10.0.0 or do you also
need a
> > bugfix for version 9.1 of MET?
> >
> > Thanks,
> > John
> >
> > On Mon, Mar 15, 2021 at 4:05 PM The RT System itself via RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > Mon Mar 15 16:05:03 2021: Request 99059 was acted upon.
> > > Transaction: Given to johnhg (John Halley Gotway) by RT_System
> > >        Queue: met_help
> > >      Subject: question about percentile thresholds in MET
> > >        Owner: johnhg
> > >   Requestors: harrold at ucar.edu
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99059
> >
> > >
> > >
> > > This transaction appears to have no content
> > >
> >
> >
>
>

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


More information about the Met_help mailing list