[Met_help] [rt.rap.ucar.edu #100227] History for Issue with CDP Thresholding
John Opatz via RT
met_help at ucar.edu
Wed Jul 21 11:38:39 MDT 2021
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hello,
I have been using MODE/GridStat to verify forecasted precipitation hazards.
The forecasts have a binary output -- -1 or 1 -- for the climatological
thresholds of <33rd percentile and >66th percentile, respectively.
Therefore, I am setting the following configuration variables as shown
below:
FCST_VAR_THRESH = ==-1.0, ==1
OBS_VAR1_THRESH = <CDP33, >CDP66
I've also included the observed climatology/standard deviation files to
compute the observed precipitation percentile.
When I run METplus, I get the following error:
ERROR: Threshold values must use >,>=,==,!=,<,<=,gt,ge,eq,ne,lt, or le with
a number, optionally combined with && or ||
The errors proceed to say that I need to change the FCST and OBS thresholds
to match this required format. I'm not sure if this is an issue with the
version of MET/METplus, but I am currently running older versions --
MET9.0.1 and METplus3.0.1.
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Issue with CDP Thresholding
From: Minna Win
Time: Tue Jun 15 10:39:53 2021
Hello Justin,
It looks like you've encountered a bug in MET, which was addressed in
the
MET 10.0 release. Could you please use the latest version of MET?
Some
NOAA hosts have been updated to the latest release. We have a list of
NOAA
hosts where MET is installed:
https://dtcenter.org/community-code/metplus/metplus-4-0-existing-
builds
Regards,
Minna
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Developmental Testbed Center
Phone: 303-497-8423
Fax: 303-497-8401
---------------
On Tue, Jun 15, 2021 at 6:06 AM Justin Hicks - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:
>
> Tue Jun 15 06:06:41 2021: Request 100227 was acted upon.
> Transaction: Ticket created by justin.hicks at noaa.gov
> Queue: met_help
> Subject: Issue with CDP Thresholding
> Owner: Nobody
> Requestors: justin.hicks at noaa.gov
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
>
>
> Hello,
>
> I have been using MODE/GridStat to verify forecasted precipitation
hazards.
> The forecasts have a binary output -- -1 or 1 -- for the
climatological
> thresholds of <33rd percentile and >66th percentile, respectively.
> Therefore, I am setting the following configuration variables as
shown
> below:
>
> FCST_VAR_THRESH = ==-1.0, ==1
> OBS_VAR1_THRESH = <CDP33, >CDP66
>
> I've also included the observed climatology/standard deviation files
to
> compute the observed precipitation percentile.
>
> When I run METplus, I get the following error:
> ERROR: Threshold values must use >,>=,==,!=,<,<=,gt,ge,eq,ne,lt, or
le with
> a number, optionally combined with && or ||
>
> The errors proceed to say that I need to change the FCST and OBS
thresholds
> to match this required format. I'm not sure if this is an issue with
the
> version of MET/METplus, but I am currently running older versions --
> MET9.0.1 and METplus3.0.1.
>
>
------------------------------------------------
Subject: Issue with CDP Thresholding
From: Julie Prestopnik
Time: Tue Jun 15 10:59:00 2021
Hi Minna.
I believe this is just a comment. I haven't ever replied with a
comment before... For what it's worth and in case it comes up, it was
actually a bugfix in METplus and not MET:
https://github.com/dtcenter/METplus/issues/558
So, if the user wanted to run MET without METplus if they cannot get
upgraded to the newer version, theoretically, he could still do that,
although it's not ideal.
Julie
------------------------------------------------
Subject: Issue with CDP Thresholding
From: Minna Win
Time: Tue Jun 15 12:07:08 2021
Hi Justin,
I have a correction, this was a bug with METplus 3.0, not MET. So
you'll
need to update to both MET 10.0 and METplus 4.0. Fortunately, another
engineer caught my mistake.
Regards,
Minna
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Developmental Testbed Center
Phone: 303-497-8423
Fax: 303-497-8401
---------------
On Tue, Jun 15, 2021 at 6:06 AM Justin Hicks - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:
>
> Tue Jun 15 06:06:41 2021: Request 100227 was acted upon.
> Transaction: Ticket created by justin.hicks at noaa.gov
> Queue: met_help
> Subject: Issue with CDP Thresholding
> Owner: Nobody
> Requestors: justin.hicks at noaa.gov
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
>
>
> Hello,
>
> I have been using MODE/GridStat to verify forecasted precipitation
hazards.
> The forecasts have a binary output -- -1 or 1 -- for the
climatological
> thresholds of <33rd percentile and >66th percentile, respectively.
> Therefore, I am setting the following configuration variables as
shown
> below:
>
> FCST_VAR_THRESH = ==-1.0, ==1
> OBS_VAR1_THRESH = <CDP33, >CDP66
>
> I've also included the observed climatology/standard deviation files
to
> compute the observed precipitation percentile.
>
> When I run METplus, I get the following error:
> ERROR: Threshold values must use >,>=,==,!=,<,<=,gt,ge,eq,ne,lt, or
le with
> a number, optionally combined with && or ||
>
> The errors proceed to say that I need to change the FCST and OBS
thresholds
> to match this required format. I'm not sure if this is an issue with
the
> version of MET/METplus, but I am currently running older versions --
> MET9.0.1 and METplus3.0.1.
>
>
------------------------------------------------
Subject: Issue with CDP Thresholding
From: Justin Hicks - NOAA Affiliate
Time: Wed Jul 07 14:30:17 2021
I now have access to METplus4.0 and MET10.0. I tried running an
updated
version of my config file (attached, along with the log file), and I
can't
seem to get METplus to read in the climo_mean and climo_stdev files
needed
for CDP thresholding. Instead I get the error:
Simple_Node::check(double, double, double) const -> climatological
distribution percentile threshold "<CDP33" requested with invalid mean
(-9999) or standard deviation (-9999).
I specified the following:
GRID_STAT_CLIMO_STDEV_INPUT_DIR
GRID_STAT_CLIMO_MEAN_INPUT_DIR
GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE
GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE
It seems like there are issues getting the variable name/levels from
these
files. I specified these in the config file as well, but I'm not sure
if
I'm doing so correctly and didn't see much documentation on this.
------------------------------------------------
Subject: Issue with CDP Thresholding
From: Minna Win
Time: Wed Jul 07 15:15:55 2021
Hi Justin,
I'm trying to find someone that can respond to your MET help question.
Please allow a few days for someone to respond.
Regards,
Minna
---------------
Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Developmental Testbed Center
Phone: 303-497-8423
Fax: 303-497-8401
---------------
On Wed, Jul 7, 2021 at 2:37 PM Justin Hicks - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
>
> I now have access to METplus4.0 and MET10.0. I tried running an
updated
> version of my config file (attached, along with the log file), and I
can't
> seem to get METplus to read in the climo_mean and climo_stdev files
needed
> for CDP thresholding. Instead I get the error:
>
> Simple_Node::check(double, double, double) const -> climatological
> distribution percentile threshold "<CDP33" requested with invalid
mean
> (-9999) or standard deviation (-9999).
>
> I specified the following:
>
> GRID_STAT_CLIMO_STDEV_INPUT_DIR
> GRID_STAT_CLIMO_MEAN_INPUT_DIR
> GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE
> GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE
>
> It seems like there are issues getting the variable name/levels from
these
> files. I specified these in the config file as well, but I'm not
sure if
> I'm doing so correctly and didn't see much documentation on this.
>
>
------------------------------------------------
Subject: Issue with CDP Thresholding
From: George McCabe
Time: Wed Jul 07 15:38:29 2021
Hi Justin,
The option to set the climo field info is new functionality that
hasn't
been extensively used yet, so there are not any good examples that
demonstrate how to use it. It looks like you are setting
GRID_STAT_CLIMO_MEAN_FIELD and GRID_STAT_CLIMO_MEAN_LEVELS, but only
GRID_STAT_CLIMO_MEAN_FIELD is a valid configuration variable. The
variable
takes a list of field info strings but does not perform any formatting
like
the other field info variable i.e. [FCST/OBS]_VAR<n>_[NAME/LEVELS] do.
You
should be able to set:
GRID_STAT_CLIMO_MEAN_FIELD = name="var1"; level="(0,*,*)";
GRID_STAT_CLIMO_STDEV_FIELD = name="var1"; level="(0,*,*)";
Let me know if that does not work. In the log file, the values set for
METPLUS_CLIMO_MEAN_DICT and METPLUS_CLIMO_STDEV_DICT should match the
formatting that you would set inside the GridStat MET config file.
Thanks,
George
On Wed, Jul 7, 2021 at 3:16 PM Minna Win via RT <met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
>
> Hi Justin,
>
> I'm trying to find someone that can respond to your MET help
question.
> Please allow a few days for someone to respond.
>
> Regards,
> Minna
> ---------------
> Minna Win
> Pronouns: she/her
> National Center for Atmospheric Research
> Developmental Testbed Center
> Phone: 303-497-8423
> Fax: 303-497-8401
> ---------------
>
>
>
> On Wed, Jul 7, 2021 at 2:37 PM Justin Hicks - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
> >
> > I now have access to METplus4.0 and MET10.0. I tried running an
updated
> > version of my config file (attached, along with the log file), and
I
> can't
> > seem to get METplus to read in the climo_mean and climo_stdev
files
> needed
> > for CDP thresholding. Instead I get the error:
> >
> > Simple_Node::check(double, double, double) const -> climatological
> > distribution percentile threshold "<CDP33" requested with invalid
mean
> > (-9999) or standard deviation (-9999).
> >
> > I specified the following:
> >
> > GRID_STAT_CLIMO_STDEV_INPUT_DIR
> > GRID_STAT_CLIMO_MEAN_INPUT_DIR
> > GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE
> > GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE
> >
> > It seems like there are issues getting the variable name/levels
from
> these
> > files. I specified these in the config file as well, but I'm not
sure if
> > I'm doing so correctly and didn't see much documentation on this.
> >
> >
>
>
--
George McCabe - Software Engineer III
National Center for Atmospheric Research
Research Applications Laboratory
303-497-2768
---
My working day may not be your working day. Please do not feel obliged
to
reply to this email outside of your normal working hours.
------------------------------------------------
Subject: Issue with CDP Thresholding
From: Justin Hicks - NOAA Affiliate
Time: Thu Jul 08 06:01:33 2021
Hi George,
Thanks for the information! I tried setting the following:
GRID_STAT_CLIMO_MEAN_FIELD = name="var1"; level="(0,*,*)";
GRID_STAT_CLIMO_STDEV_FIELD = name="var1"; level="(0,*,*)";
Unfortunately, this didn't seem to work, and I'm still getting the
errors
below:
ERROR : DictionaryEntry::dict_value() -> bad type
Simple_Node::check(double, double, double) const -> climatological
distribution percentile threshold "<CDP33" requested with invalid mean
(-9999) or standard deviation (-9999).
I'll attach the updated log/config file. Please let me know if there
is
anything else I can provide that would be helpful.
On Wed, Jul 7, 2021 at 5:38 PM George McCabe via RT
<met_help at ucar.edu>
wrote:
> Hi Justin,
>
> The option to set the climo field info is new functionality that
hasn't
> been extensively used yet, so there are not any good examples that
> demonstrate how to use it. It looks like you are setting
> GRID_STAT_CLIMO_MEAN_FIELD and GRID_STAT_CLIMO_MEAN_LEVELS, but only
> GRID_STAT_CLIMO_MEAN_FIELD is a valid configuration variable. The
variable
> takes a list of field info strings but does not perform any
formatting like
> the other field info variable i.e. [FCST/OBS]_VAR<n>_[NAME/LEVELS]
do. You
> should be able to set:
>
> GRID_STAT_CLIMO_MEAN_FIELD = name="var1"; level="(0,*,*)";
> GRID_STAT_CLIMO_STDEV_FIELD = name="var1"; level="(0,*,*)";
>
> Let me know if that does not work. In the log file, the values set
for
> METPLUS_CLIMO_MEAN_DICT and METPLUS_CLIMO_STDEV_DICT should match
the
> formatting that you would set inside the GridStat MET config file.
>
> Thanks,
> George
>
> On Wed, Jul 7, 2021 at 3:16 PM Minna Win via RT <met_help at ucar.edu>
wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
> >
> > Hi Justin,
> >
> > I'm trying to find someone that can respond to your MET help
question.
> > Please allow a few days for someone to respond.
> >
> > Regards,
> > Minna
> > ---------------
> > Minna Win
> > Pronouns: she/her
> > National Center for Atmospheric Research
> > Developmental Testbed Center
> > Phone: 303-497-8423
> > Fax: 303-497-8401
> > ---------------
> >
> >
> >
> > On Wed, Jul 7, 2021 at 2:37 PM Justin Hicks - NOAA Affiliate via
RT <
> > met_help at ucar.edu> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
> > >
> > > I now have access to METplus4.0 and MET10.0. I tried running an
updated
> > > version of my config file (attached, along with the log file),
and I
> > can't
> > > seem to get METplus to read in the climo_mean and climo_stdev
files
> > needed
> > > for CDP thresholding. Instead I get the error:
> > >
> > > Simple_Node::check(double, double, double) const ->
climatological
> > > distribution percentile threshold "<CDP33" requested with
invalid mean
> > > (-9999) or standard deviation (-9999).
> > >
> > > I specified the following:
> > >
> > > GRID_STAT_CLIMO_STDEV_INPUT_DIR
> > > GRID_STAT_CLIMO_MEAN_INPUT_DIR
> > > GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE
> > > GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE
> > >
> > > It seems like there are issues getting the variable name/levels
from
> > these
> > > files. I specified these in the config file as well, but I'm not
sure
> if
> > > I'm doing so correctly and didn't see much documentation on
this.
> > >
> > >
> >
> >
>
> --
> George McCabe - Software Engineer III
> National Center for Atmospheric Research
> Research Applications Laboratory
> 303-497-2768
> ---
> My working day may not be your working day. Please do not feel
obliged to
> reply to this email outside of your normal working hours.
>
>
------------------------------------------------
Subject: Issue with CDP Thresholding
From: John Halley Gotway
Time: Thu Jul 08 11:46:50 2021
Hi Justin,
This is John Halley Gotway, and I work with George. He's out of the
office
until Monday. I see that you're having trouble using climo-
distribution
percentile thresholds in MET, specifically in Grid-Stat and MODE. They
can,
and should, work in Grid-Stat once we get the climo mean and standard
deviation field details figured out.
However they won't work in MODE. Whereas Grid-Stat has climo_mean and
climo_stdev config file options for defining that climo info (
https://github.com/dtcenter/MET/blob/main_v10.0/met/data/config/GridStatConfig_default),
the MODE config file does not (
https://github.com/dtcenter/MET/blob/main_v10.0/met/data/config/MODEConfig_default).
Grid-Stat uses climo info to compute anomaly statistics. But MODE has
never
used climo data previously. When adding support for percentile
threshold
types, we leveraged the climo data that some tools were already
reading. In
order to get CDP threshold types to work in MODE, we'd need to enhance
it
to read climo data from which the CDP thresholds could be derived.
While that's certainly doable, we'd need to balance that against our
competing development priorities. But the first step would be writing
up a
GitHub issue to define the feature request. Is that something you'd
like us
to do? Is running MODE using CDP-type thresholds important for your
work?
I took a look at the logfile you sent and see this ERROR message from
Grid-Stat:
* ERROR : DictionaryEntry::dict_value() -> bad type*
That likely indicates some problem in the syntax of the METplus
configuration. I stared at the settings in the logfile for a while but
don't see any obvious problems. I'm hoping George is able to shed more
light on this next week.
Thanks,
John
On Thu, Jul 8, 2021 at 6:02 AM Justin Hicks - NOAA Affiliate via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
>
> Hi George,
>
> Thanks for the information! I tried setting the following:
>
> GRID_STAT_CLIMO_MEAN_FIELD = name="var1"; level="(0,*,*)";
> GRID_STAT_CLIMO_STDEV_FIELD = name="var1"; level="(0,*,*)";
>
> Unfortunately, this didn't seem to work, and I'm still getting the
errors
> below:
>
> ERROR : DictionaryEntry::dict_value() -> bad type
> Simple_Node::check(double, double, double) const -> climatological
> distribution percentile threshold "<CDP33" requested with invalid
mean
> (-9999) or standard deviation (-9999).
>
> I'll attach the updated log/config file. Please let me know if there
is
> anything else I can provide that would be helpful.
>
>
> On Wed, Jul 7, 2021 at 5:38 PM George McCabe via RT
<met_help at ucar.edu>
> wrote:
>
> > Hi Justin,
> >
> > The option to set the climo field info is new functionality that
hasn't
> > been extensively used yet, so there are not any good examples that
> > demonstrate how to use it. It looks like you are setting
> > GRID_STAT_CLIMO_MEAN_FIELD and GRID_STAT_CLIMO_MEAN_LEVELS, but
only
> > GRID_STAT_CLIMO_MEAN_FIELD is a valid configuration variable. The
> variable
> > takes a list of field info strings but does not perform any
formatting
> like
> > the other field info variable i.e. [FCST/OBS]_VAR<n>_[NAME/LEVELS]
do.
> You
> > should be able to set:
> >
> > GRID_STAT_CLIMO_MEAN_FIELD = name="var1"; level="(0,*,*)";
> > GRID_STAT_CLIMO_STDEV_FIELD = name="var1"; level="(0,*,*)";
> >
> > Let me know if that does not work. In the log file, the values set
for
> > METPLUS_CLIMO_MEAN_DICT and METPLUS_CLIMO_STDEV_DICT should match
the
> > formatting that you would set inside the GridStat MET config file.
> >
> > Thanks,
> > George
> >
> > On Wed, Jul 7, 2021 at 3:16 PM Minna Win via RT
<met_help at ucar.edu>
> wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
> > >
> > > Hi Justin,
> > >
> > > I'm trying to find someone that can respond to your MET help
question.
> > > Please allow a few days for someone to respond.
> > >
> > > Regards,
> > > Minna
> > > ---------------
> > > Minna Win
> > > Pronouns: she/her
> > > National Center for Atmospheric Research
> > > Developmental Testbed Center
> > > Phone: 303-497-8423
> > > Fax: 303-497-8401
> > > ---------------
> > >
> > >
> > >
> > > On Wed, Jul 7, 2021 at 2:37 PM Justin Hicks - NOAA Affiliate via
RT <
> > > met_help at ucar.edu> wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227
>
> > > >
> > > > I now have access to METplus4.0 and MET10.0. I tried running
an
> updated
> > > > version of my config file (attached, along with the log file),
and I
> > > can't
> > > > seem to get METplus to read in the climo_mean and climo_stdev
files
> > > needed
> > > > for CDP thresholding. Instead I get the error:
> > > >
> > > > Simple_Node::check(double, double, double) const ->
climatological
> > > > distribution percentile threshold "<CDP33" requested with
invalid
> mean
> > > > (-9999) or standard deviation (-9999).
> > > >
> > > > I specified the following:
> > > >
> > > > GRID_STAT_CLIMO_STDEV_INPUT_DIR
> > > > GRID_STAT_CLIMO_MEAN_INPUT_DIR
> > > > GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE
> > > > GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE
> > > >
> > > > It seems like there are issues getting the variable
name/levels from
> > > these
> > > > files. I specified these in the config file as well, but I'm
not sure
> > if
> > > > I'm doing so correctly and didn't see much documentation on
this.
> > > >
> > > >
> > >
> > >
> >
> > --
> > George McCabe - Software Engineer III
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > 303-497-2768
> > ---
> > My working day may not be your working day. Please do not feel
obliged to
> > reply to this email outside of your normal working hours.
> >
> >
>
>
------------------------------------------------
Subject: Issue with CDP Thresholding
From: John Opatz
Time: Thu Jul 08 12:16:09 2021
Justin,
I used the POE precip use case config file I created for CPC's data to
test
the syntax you provided and confirmed the error:
ERROR :
ERROR : DictionaryEntry::dict_value() -> bad type
ERROR :
I also checked to make sure the script worked prior to my changes, so
this
does warrant some digging. My use case is a bit different from yours
in
that I use a Python script to read in the climatology data, but the
syntax
is nearly the same. I'll try a few more syntax adjustments and see if
I can
get it to work.
In the meantime, you should be able to get around it with the
GRID_STAT_MET_CONFIG_OVERRIDES
option. This is what I was using prior to testing the settings you
have.
Yours might look something like this:
GRID_STAT_MET_CONFIG_OVERRIDES = climo_mean = {field = {name= "var1";
level="(0,*,*)";}} climo_stdev = climo_mean
This would replace the GRID_STAT_CLIMO_MEAN_FIELD and
GRID_STAT_CLIMO_STDEV_FIELD variables. Hopefully we can find a
solution
rather than a work around soon for you.
-John O.
On Thu, Jul 8, 2021 at 11:46 AM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
>
> Hi Justin,
>
> This is John Halley Gotway, and I work with George. He's out of the
office
> until Monday. I see that you're having trouble using climo-
distribution
> percentile thresholds in MET, specifically in Grid-Stat and MODE.
They can,
> and should, work in Grid-Stat once we get the climo mean and
standard
> deviation field details figured out.
>
> However they won't work in MODE. Whereas Grid-Stat has climo_mean
and
> climo_stdev config file options for defining that climo info (
>
>
https://github.com/dtcenter/MET/blob/main_v10.0/met/data/config/GridStatConfig_default
> ),
> the MODE config file does not (
>
>
https://github.com/dtcenter/MET/blob/main_v10.0/met/data/config/MODEConfig_default
> ).
> Grid-Stat uses climo info to compute anomaly statistics. But MODE
has never
> used climo data previously. When adding support for percentile
threshold
> types, we leveraged the climo data that some tools were already
reading. In
> order to get CDP threshold types to work in MODE, we'd need to
enhance it
> to read climo data from which the CDP thresholds could be derived.
>
> While that's certainly doable, we'd need to balance that against our
> competing development priorities. But the first step would be
writing up a
> GitHub issue to define the feature request. Is that something you'd
like us
> to do? Is running MODE using CDP-type thresholds important for your
work?
>
> I took a look at the logfile you sent and see this ERROR message
from
> Grid-Stat:
> * ERROR : DictionaryEntry::dict_value() -> bad type*
>
> That likely indicates some problem in the syntax of the METplus
> configuration. I stared at the settings in the logfile for a while
but
> don't see any obvious problems. I'm hoping George is able to shed
more
> light on this next week.
>
> Thanks,
> John
>
> On Thu, Jul 8, 2021 at 6:02 AM Justin Hicks - NOAA Affiliate via RT
<
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
> >
> > Hi George,
> >
> > Thanks for the information! I tried setting the following:
> >
> > GRID_STAT_CLIMO_MEAN_FIELD = name="var1"; level="(0,*,*)";
> > GRID_STAT_CLIMO_STDEV_FIELD = name="var1"; level="(0,*,*)";
> >
> > Unfortunately, this didn't seem to work, and I'm still getting the
errors
> > below:
> >
> > ERROR : DictionaryEntry::dict_value() -> bad type
> > Simple_Node::check(double, double, double) const -> climatological
> > distribution percentile threshold "<CDP33" requested with invalid
mean
> > (-9999) or standard deviation (-9999).
> >
> > I'll attach the updated log/config file. Please let me know if
there is
> > anything else I can provide that would be helpful.
> >
> >
> > On Wed, Jul 7, 2021 at 5:38 PM George McCabe via RT
<met_help at ucar.edu>
> > wrote:
> >
> > > Hi Justin,
> > >
> > > The option to set the climo field info is new functionality that
hasn't
> > > been extensively used yet, so there are not any good examples
that
> > > demonstrate how to use it. It looks like you are setting
> > > GRID_STAT_CLIMO_MEAN_FIELD and GRID_STAT_CLIMO_MEAN_LEVELS, but
only
> > > GRID_STAT_CLIMO_MEAN_FIELD is a valid configuration variable.
The
> > variable
> > > takes a list of field info strings but does not perform any
formatting
> > like
> > > the other field info variable i.e.
[FCST/OBS]_VAR<n>_[NAME/LEVELS] do.
> > You
> > > should be able to set:
> > >
> > > GRID_STAT_CLIMO_MEAN_FIELD = name="var1"; level="(0,*,*)";
> > > GRID_STAT_CLIMO_STDEV_FIELD = name="var1"; level="(0,*,*)";
> > >
> > > Let me know if that does not work. In the log file, the values
set for
> > > METPLUS_CLIMO_MEAN_DICT and METPLUS_CLIMO_STDEV_DICT should
match the
> > > formatting that you would set inside the GridStat MET config
file.
> > >
> > > Thanks,
> > > George
> > >
> > > On Wed, Jul 7, 2021 at 3:16 PM Minna Win via RT
<met_help at ucar.edu>
> > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227
>
> > > >
> > > > Hi Justin,
> > > >
> > > > I'm trying to find someone that can respond to your MET help
> question.
> > > > Please allow a few days for someone to respond.
> > > >
> > > > Regards,
> > > > Minna
> > > > ---------------
> > > > Minna Win
> > > > Pronouns: she/her
> > > > National Center for Atmospheric Research
> > > > Developmental Testbed Center
> > > > Phone: 303-497-8423
> > > > Fax: 303-497-8401
> > > > ---------------
> > > >
> > > >
> > > >
> > > > On Wed, Jul 7, 2021 at 2:37 PM Justin Hicks - NOAA Affiliate
via RT <
> > > > met_help at ucar.edu> wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
> > > > >
> > > > > I now have access to METplus4.0 and MET10.0. I tried running
an
> > updated
> > > > > version of my config file (attached, along with the log
file), and
> I
> > > > can't
> > > > > seem to get METplus to read in the climo_mean and
climo_stdev files
> > > > needed
> > > > > for CDP thresholding. Instead I get the error:
> > > > >
> > > > > Simple_Node::check(double, double, double) const ->
climatological
> > > > > distribution percentile threshold "<CDP33" requested with
invalid
> > mean
> > > > > (-9999) or standard deviation (-9999).
> > > > >
> > > > > I specified the following:
> > > > >
> > > > > GRID_STAT_CLIMO_STDEV_INPUT_DIR
> > > > > GRID_STAT_CLIMO_MEAN_INPUT_DIR
> > > > > GRID_STAT_CLIMO_STDEV_INPUT_TEMPLATE
> > > > > GRID_STAT_CLIMO_MEAN_INPUT_TEMPLATE
> > > > >
> > > > > It seems like there are issues getting the variable
name/levels
> from
> > > > these
> > > > > files. I specified these in the config file as well, but I'm
not
> sure
> > > if
> > > > > I'm doing so correctly and didn't see much documentation on
this.
> > > > >
> > > > >
> > > >
> > > >
> > >
> > > --
> > > George McCabe - Software Engineer III
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > 303-497-2768
> > > ---
> > > My working day may not be your working day. Please do not feel
obliged
> to
> > > reply to this email outside of your normal working hours.
> > >
> > >
> >
> >
>
>
--
John Opatz
Associate Scientist III
NCAR RAL and DTC
Boulder, Colorado
+1 303-497-8305
------------------------------------------------
Subject: Issue with CDP Thresholding
From: John Opatz
Time: Wed Jul 21 11:37:21 2021
Hi Justin,
Just wanted to provide an update on this.
As you and I discussed in a separate email, the issue of not being
able to
use the climo_field variable remains an issue. I've gone ahead and
created
a Github issue <https://github.com/dtcenter/METplus/issues/1021> for
this,
and set it for the next beta release (end of August).
Since you now have the ability to track this issue, I'm going to go
ahead
and close this ticket. Feel free to submit any new questions or issues
to
the Github Discussions section
<https://github.com/dtcenter/METplus/discussions>, or if it's related
to
the climo_mean_field issue, you can comment directly on the Github
issue.
Thanks,
-John O.
On Mon, Jul 12, 2021 at 12:03 PM John Halley Gotway via RT <
met_help at ucar.edu> wrote:
>
> Mon Jul 12 12:03:22 2021: Request 100227 was acted upon.
> Transaction: Owner forcibly changed from minnawin (Minna Win) to
jopatz
> (John Opatz) by johnhg
> Queue: met_help
> Subject: Issue with CDP Thresholding
> Owner: jopatz
> Requestors: justin.hicks at noaa.gov
> Status: open
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=100227 >
>
>
> This transaction appears to have no content
>
--
John Opatz
Associate Scientist III
NCAR RAL and DTC
Boulder, Colorado
+1 303-497-8305
------------------------------------------------
More information about the Met_help
mailing list