[Met_help] [rt.rap.ucar.edu #98116] History for CDP threshold setting in EnsembleStat conf
George McCabe via RT
met_help at ucar.edu
Tue Jan 5 16:31:56 MST 2021
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
George,
Happy New Year!
I am working on transition of our MET-based global ensemble verification
to METplus based package. In this package climatology bins (10 bins) are
used.
In current ensemble stat config file, the relevant entries iare defined
like following
ens = {
ens_thresh = 1.0;
vld_thresh = 1.0;
field = [
{
name = "HGT";
level = "P500";
obs_thresh = [ <=CDP10, >CDP10&&<=CDP20, >CDP20&&<=CDP30,
>CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60, >CDP60&&<=CDP70,
>CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
}
]
}
fcst = ens;
obs = fcst;
ens_ssvar_bin_size = 1000000;
ens_phist_bin_size = 0.05;
climo_mean = fcst;
climo_mean = {
file_name = "${CLIM_MEAN}";
time_interp_method = DW_MEAN;
match_day = TRUE;
time_step = 21600;
}
climo_stdev = climo_mean;
climo_stdev = {
file_name = "${CLIM_STDV}";
}
climo_cdf = {
cdf_bins = 11;
center_bins = TRUE;
write_bins = TRUE;
}
I can not find the correspondent settings in its conf file from METplus
online doc.
Can you help me look at this?
Thanks!
Binbin
--
Binbin Zhou
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
College Park, MD 20740
Binbin.Zhou at noaa.gov
301-683-3683
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: CDP threshold setting in EnsembleStat conf
From: George McCabe
Time: Tue Jan 05 08:17:38 2021
Hi Binbin,
Happy New Year to you too!
I will comment on each configuration variable and how to set it in a
METplus config inline:
ens = {
ens_thresh = 1.0;
*This is controlled by the ENSEMBLE_STAT_ENS_THRESH variable. The
default
value is 1.0, so you don't need to include it in your config file, but
you
can if you may adjust this value at some point.*
vld_thresh = 1.0;
*This value is set to 1.0 by default so we don't need to worry about
it
right now.*
field = [
{
name = "HGT";
level = "P500";
obs_thresh = [ <=CDP10, >CDP10&&<=CDP20, >CDP20&&<=CDP30,
>CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60, >CDP60&&<=CDP70,
>CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
}
]
}
fcst = ens;
obs = fcst;
*1) The field info for ens is set in the
ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst and obs
field
info are set in the corresponding FCST_VAR<n>_* and OBS_VAR<n>_*
variables
respectively, or you can use BOTH_VAR<n>_* if the FCST and OBS values
are
the same.*
*If ENS_VAR<n>_* variables are not explicitly set, then it will use
the
values from FCST_VAR<n>_*.*
*Since the fcst, obs, and ens are all the same you could just use
BOTH_VAR<n>_* variables to control all 3, although keep in mind that
if you
need to change one of them for any reason, it will be more difficult
to do
this. If you know that they will always be the same values, then I
recommend using BOTH_, but if you know they may change or are unsure,
I
would recommend setting them by referencing the other variables, i.e.*
*FCST_VAR1_NAME = HGT*
*FCST_VAR1_LEVELS = P500 *
*OBS_VAR1_NAME = {FCST_VAR1_NAME}*
*OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
*2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the cat_thresh
values in
the field info. A variable specific to obs_thresh is not currently
supported, however you can set these values by using the
ENS_VAR1_OPTIONS
variable, i.e.*
*ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];*
*Remember to include the semicolon at the end! *
ens_ssvar_bin_size = 1000000;
*1) This variable is different from the default and not currently
supported
with a METplus config variable. I will add this to the list of
variables in
MET config files that we want to support. However, in the meantime you
can
copy the default wrapped MET config file and modify it to fit your
needs.
To do this, you will need to:*
* a) Copy METplus/parm/met_config/EnsembleStatConfig_wrapped to the
directory that contains your METplus config file for this use case.
Rename
it by replacing "wrapped" with a short description that pertains to
your
use case.*
* b) In your METplus config file, change the value of
ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new config
file.*
* c) If you know the value you want to use for this variable will
always
be 1000000, then simply set the variable to that value. If you think
you
may want to change the value, then you can utilize the [user_env_vars]
functionality. See:
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
<https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config>*
*In this case, you would add the following to your METplus config:*
*[user_env_vars]*
*ENS_SSVAR_BIN_SIZE = 1000000*
*Then change the line in your EnsembleStat config file that you copied
to:*
* ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
ens_phist_bin_size = 0.05;
*This variable uses the default value, so you don't need to do
anything
here. If you need to make it configurable or change the value, then
follow
the instructions for setting ens_ssvar_bin_size.*
climo_mean = fcst;
climo_mean = {
file_name = "${CLIM_MEAN}";
time_interp_method = DW_MEAN;
match_day = TRUE;
time_step = 21600;
}
*Instead of using CLIM_MEAN, you can set
ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus config.
You
can use filename template syntax in the _TEMPLATE value, i.e.
{valid?fmt=%m%d}. The other variables in the climo_mean dictionary are
actually old variables that have been replaced with day_interval and
hour_interval, but the values you use are the old defaults, so you
shouldn't need to set them.*
climo_stdev = climo_mean;
climo_stdev = {
file_name = "${CLIM_STDV}";
}
*Similarly to CLIM_MEAN, you can use
ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this file name.*
climo_cdf = {
cdf_bins = 11;
center_bins = TRUE;
write_bins = TRUE;
}
*The value for write_bins is the default, but the values for cdf_bins
and
center_bins do not. To set these, follow the above instructions for
ens_ssvar_bin_size to override them and/or make them configurable
through
METplus. I will also add these variables to the list of MET configs
that
users want to be able to easily configure through METplus configs.*
Please let me know if you run into any issues setting any of that up.
Also,
if there are any other MET config variables that you want to see
supported
in METplus, let me know and I will make sure they get included when we
have
a chance to refactor those wrappers. It is possible to add support for
MET
configs using the above instructions, but it is always easier and less
error-prone to have them configurable directly through a variable in
the
METplus config.
Thanks,
George
On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
> Transaction: Ticket created by Binbin.Zhou at noaa.gov
> Queue: met_help
> Subject: CDP threshold setting in EnsembleStat conf
> Owner: Nobody
> Requestors: Binbin.Zhou at noaa.gov
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
>
>
> George,
>
> Happy New Year!
>
> I am working on transition of our MET-based global ensemble
verification
> to METplus based package. In this package climatology bins (10 bins)
are
> used.
> In current ensemble stat config file, the relevant entries iare
defined
> like following
>
> ens = {
> ens_thresh = 1.0;
> vld_thresh = 1.0;
>
> field = [
>
> {
> name = "HGT";
> level = "P500";
> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20, >CDP20&&<=CDP30,
> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60, >CDP60&&<=CDP70,
> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> }
> ]
> }
> fcst = ens;
> obs = fcst;
> ens_ssvar_bin_size = 1000000;
> ens_phist_bin_size = 0.05;
> climo_mean = fcst;
> climo_mean = {
> file_name = "${CLIM_MEAN}";
> time_interp_method = DW_MEAN;
> match_day = TRUE;
> time_step = 21600;
> }
>
> climo_stdev = climo_mean;
> climo_stdev = {
> file_name = "${CLIM_STDV}";
> }
>
> climo_cdf = {
> cdf_bins = 11;
> center_bins = TRUE;
> write_bins = TRUE;
> }
>
> I can not find the correspondent settings in its conf file from
METplus
> online doc.
> Can you help me look at this?
>
> Thanks!
>
> Binbin
>
> --
>
> Binbin Zhou
>
> IMSG at NOAA/NWS/NCEP/EMC
>
> 5830 University Research Ct.
>
> College Park, MD 20740
>
> Binbin.Zhou at noaa.gov
>
> 301-683-3683
>
>
--
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: CDP threshold setting in EnsembleStat conf
From: Binbin.Zhou at noaa.gov
Time: Tue Jan 05 08:33:43 2021
George,
Thanks for your quick response! I'll test this settings and let you
know
the results.
Binbin
On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT
<met_help at ucar.edu>
wrote:
> Hi Binbin,
>
> Happy New Year to you too!
>
> I will comment on each configuration variable and how to set it in a
> METplus config inline:
>
> ens = {
> ens_thresh = 1.0;
>
>
> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH variable. The
default
> value is 1.0, so you don't need to include it in your config file,
but you
> can if you may adjust this value at some point.*
>
> vld_thresh = 1.0;
>
> *This value is set to 1.0 by default so we don't need to worry about
it
> right now.*
>
> field = [
>
> {
> name = "HGT";
> level = "P500";
> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20, >CDP20&&<=CDP30,
> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60, >CDP60&&<=CDP70,
> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> }
> ]
> }
> fcst = ens;
> obs = fcst;
>
> *1) The field info for ens is set in the
> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst and obs
field
> info are set in the corresponding FCST_VAR<n>_* and OBS_VAR<n>_*
variables
> respectively, or you can use BOTH_VAR<n>_* if the FCST and OBS
values are
> the same.*
>
> *If ENS_VAR<n>_* variables are not explicitly set, then it will use
the
> values from FCST_VAR<n>_*.*
> *Since the fcst, obs, and ens are all the same you could just use
> BOTH_VAR<n>_* variables to control all 3, although keep in mind that
if you
> need to change one of them for any reason, it will be more difficult
to do
> this. If you know that they will always be the same values, then I
> recommend using BOTH_, but if you know they may change or are
unsure, I
> would recommend setting them by referencing the other variables,
i.e.*
>
> *FCST_VAR1_NAME = HGT*
> *FCST_VAR1_LEVELS = P500 *
> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
>
> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the cat_thresh
values in
> the field info. A variable specific to obs_thresh is not currently
> supported, however you can set these values by using the
ENS_VAR1_OPTIONS
> variable, i.e.*
>
> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];*
>
>
> *Remember to include the semicolon at the end! *
>
> ens_ssvar_bin_size = 1000000;
> *1) This variable is different from the default and not currently
supported
> with a METplus config variable. I will add this to the list of
variables in
> MET config files that we want to support. However, in the meantime
you can
> copy the default wrapped MET config file and modify it to fit your
needs.
> To do this, you will need to:*
>
> * a) Copy METplus/parm/met_config/EnsembleStatConfig_wrapped to the
> directory that contains your METplus config file for this use case.
Rename
> it by replacing "wrapped" with a short description that pertains to
your
> use case.*
>
> * b) In your METplus config file, change the value of
> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new config
file.*
>
> * c) If you know the value you want to use for this variable will
always
> be 1000000, then simply set the variable to that value. If you think
you
> may want to change the value, then you can utilize the
[user_env_vars]
> functionality. See:
>
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> <
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> >*
> *In this case, you would add the following to your METplus config:*
>
> *[user_env_vars]*
> *ENS_SSVAR_BIN_SIZE = 1000000*
>
> *Then change the line in your EnsembleStat config file that you
copied to:*
>
> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
>
> ens_phist_bin_size = 0.05;
> *This variable uses the default value, so you don't need to do
anything
> here. If you need to make it configurable or change the value, then
follow
> the instructions for setting ens_ssvar_bin_size.*
>
> climo_mean = fcst;
> climo_mean = {
> file_name = "${CLIM_MEAN}";
> time_interp_method = DW_MEAN;
> match_day = TRUE;
> time_step = 21600;
> }
>
>
> *Instead of using CLIM_MEAN, you can set
> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus config.
You
> can use filename template syntax in the _TEMPLATE value, i.e.
> {valid?fmt=%m%d}. The other variables in the climo_mean dictionary
are
> actually old variables that have been replaced with day_interval and
> hour_interval, but the values you use are the old defaults, so you
> shouldn't need to set them.*
>
> climo_stdev = climo_mean;
> climo_stdev = {
> file_name = "${CLIM_STDV}";
> }
>
> *Similarly to CLIM_MEAN, you can use
> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this file
name.*
>
> climo_cdf = {
> cdf_bins = 11;
> center_bins = TRUE;
> write_bins = TRUE;
> }
> *The value for write_bins is the default, but the values for
cdf_bins and
> center_bins do not. To set these, follow the above instructions for
> ens_ssvar_bin_size to override them and/or make them configurable
through
> METplus. I will also add these variables to the list of MET configs
that
> users want to be able to easily configure through METplus configs.*
>
> Please let me know if you run into any issues setting any of that
up. Also,
> if there are any other MET config variables that you want to see
supported
> in METplus, let me know and I will make sure they get included when
we have
> a chance to refactor those wrappers. It is possible to add support
for MET
> configs using the above instructions, but it is always easier and
less
> error-prone to have them configurable directly through a variable in
the
> METplus config.
>
> Thanks,
> George
>
> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
> > Queue: met_help
> > Subject: CDP threshold setting in EnsembleStat conf
> > Owner: Nobody
> > Requestors: Binbin.Zhou at noaa.gov
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
> >
> >
> > George,
> >
> > Happy New Year!
> >
> > I am working on transition of our MET-based global ensemble
> verification
> > to METplus based package. In this package climatology bins (10
bins) are
> > used.
> > In current ensemble stat config file, the relevant entries iare
defined
> > like following
> >
> > ens = {
> > ens_thresh = 1.0;
> > vld_thresh = 1.0;
> >
> > field = [
> >
> > {
> > name = "HGT";
> > level = "P500";
> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20, >CDP20&&<=CDP30,
> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> > }
> > ]
> > }
> > fcst = ens;
> > obs = fcst;
> > ens_ssvar_bin_size = 1000000;
> > ens_phist_bin_size = 0.05;
> > climo_mean = fcst;
> > climo_mean = {
> > file_name = "${CLIM_MEAN}";
> > time_interp_method = DW_MEAN;
> > match_day = TRUE;
> > time_step = 21600;
> > }
> >
> > climo_stdev = climo_mean;
> > climo_stdev = {
> > file_name = "${CLIM_STDV}";
> > }
> >
> > climo_cdf = {
> > cdf_bins = 11;
> > center_bins = TRUE;
> > write_bins = TRUE;
> > }
> >
> > I can not find the correspondent settings in its conf file from
METplus
> > online doc.
> > Can you help me look at this?
> >
> > Thanks!
> >
> > Binbin
> >
> > --
> >
> > Binbin Zhou
> >
> > IMSG at NOAA/NWS/NCEP/EMC
> >
> > 5830 University Research Ct.
> >
> > College Park, MD 20740
> >
> > Binbin.Zhou at noaa.gov
> >
> > 301-683-3683
> >
> >
>
> --
> 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.
>
>
--
Binbin Zhou
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
College Park, MD 20740
Binbin.Zhou at noaa.gov
301-683-3683
------------------------------------------------
Subject: CDP threshold setting in EnsembleStat conf
From: Binbin.Zhou at noaa.gov
Time: Tue Jan 05 13:45:13 2021
George,
I got another issue for verification mask setting.
I am using $VERIF_MASK in EnsembleStat config f/ile
mask = {
grid = [];
poly = [${VERIF_MASK}];
sid = [];
}
And using GRID_STAT_VERIFICATION_MASK_TEMPLATE to define several
polygon
nc mask files
But it seems not working. But it works for Gridstat config in suich
setting.
I can not find ENSEMBLE_STAT_ VERIFICATION_MASK_TEMPLATE in the
METplus doc
So I define VERIF_MASK in [user_env_vars] part.
It values can not be passed to ploy = [${VERIF_MASK}] in the
EnsembleStat
conf if more than one nc files included.
For example
VERIF_MASK=" '/part/p1.cn', '/path/p2.nc' "
the error says poly = [/path/p1,]
It seems double quote or single quote can not be passed to VERIF_MASK
in
the EnsembleStat config.
I tried use back slash \ to before quote, but still not working
Binbin
On Tue, Jan 5, 2021 at 10:33 AM Binbin Zhou - NOAA Affiliate <
binbin.zhou at noaa.gov> wrote:
> George,
>
> Thanks for your quick response! I'll test this settings and let
> you know the results.
>
> Binbin
>
> On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT
<met_help at ucar.edu>
> wrote:
>
>> Hi Binbin,
>>
>> Happy New Year to you too!
>>
>> I will comment on each configuration variable and how to set it in
a
>> METplus config inline:
>>
>> ens = {
>> ens_thresh = 1.0;
>>
>>
>> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH variable. The
default
>> value is 1.0, so you don't need to include it in your config file,
but you
>> can if you may adjust this value at some point.*
>>
>> vld_thresh = 1.0;
>>
>> *This value is set to 1.0 by default so we don't need to worry
about it
>> right now.*
>>
>> field = [
>>
>> {
>> name = "HGT";
>> level = "P500";
>> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20, >CDP20&&<=CDP30,
>> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60, >CDP60&&<=CDP70,
>> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
>> }
>> ]
>> }
>> fcst = ens;
>> obs = fcst;
>>
>> *1) The field info for ens is set in the
>> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst and obs
field
>> info are set in the corresponding FCST_VAR<n>_* and OBS_VAR<n>_*
variables
>> respectively, or you can use BOTH_VAR<n>_* if the FCST and OBS
values are
>> the same.*
>>
>> *If ENS_VAR<n>_* variables are not explicitly set, then it will use
the
>> values from FCST_VAR<n>_*.*
>> *Since the fcst, obs, and ens are all the same you could just use
>> BOTH_VAR<n>_* variables to control all 3, although keep in mind
that if
>> you
>> need to change one of them for any reason, it will be more
difficult to do
>> this. If you know that they will always be the same values, then I
>> recommend using BOTH_, but if you know they may change or are
unsure, I
>> would recommend setting them by referencing the other variables,
i.e.*
>>
>> *FCST_VAR1_NAME = HGT*
>> *FCST_VAR1_LEVELS = P500 *
>> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
>> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
>>
>> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the cat_thresh
values
>> in
>> the field info. A variable specific to obs_thresh is not currently
>> supported, however you can set these values by using the
ENS_VAR1_OPTIONS
>> variable, i.e.*
>>
>> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];*
>>
>>
>> *Remember to include the semicolon at the end! *
>>
>> ens_ssvar_bin_size = 1000000;
>> *1) This variable is different from the default and not currently
>> supported
>> with a METplus config variable. I will add this to the list of
variables
>> in
>> MET config files that we want to support. However, in the meantime
you can
>> copy the default wrapped MET config file and modify it to fit your
needs.
>> To do this, you will need to:*
>>
>> * a) Copy METplus/parm/met_config/EnsembleStatConfig_wrapped to
the
>> directory that contains your METplus config file for this use case.
Rename
>> it by replacing "wrapped" with a short description that pertains to
your
>> use case.*
>>
>> * b) In your METplus config file, change the value of
>> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new config
file.*
>>
>> * c) If you know the value you want to use for this variable will
always
>> be 1000000, then simply set the variable to that value. If you
think you
>> may want to change the value, then you can utilize the
[user_env_vars]
>> functionality. See:
>>
>>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
>> <
>>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
>> >*
>> *In this case, you would add the following to your METplus config:*
>>
>> *[user_env_vars]*
>> *ENS_SSVAR_BIN_SIZE = 1000000*
>>
>> *Then change the line in your EnsembleStat config file that you
copied
>> to:*
>>
>> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
>>
>> ens_phist_bin_size = 0.05;
>> *This variable uses the default value, so you don't need to do
anything
>> here. If you need to make it configurable or change the value, then
follow
>> the instructions for setting ens_ssvar_bin_size.*
>>
>> climo_mean = fcst;
>> climo_mean = {
>> file_name = "${CLIM_MEAN}";
>> time_interp_method = DW_MEAN;
>> match_day = TRUE;
>> time_step = 21600;
>> }
>>
>>
>> *Instead of using CLIM_MEAN, you can set
>> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus
config. You
>> can use filename template syntax in the _TEMPLATE value, i.e.
>> {valid?fmt=%m%d}. The other variables in the climo_mean dictionary
are
>> actually old variables that have been replaced with day_interval
and
>> hour_interval, but the values you use are the old defaults, so you
>> shouldn't need to set them.*
>>
>> climo_stdev = climo_mean;
>> climo_stdev = {
>> file_name = "${CLIM_STDV}";
>> }
>>
>> *Similarly to CLIM_MEAN, you can use
>> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this file
name.*
>>
>> climo_cdf = {
>> cdf_bins = 11;
>> center_bins = TRUE;
>> write_bins = TRUE;
>> }
>> *The value for write_bins is the default, but the values for
cdf_bins and
>> center_bins do not. To set these, follow the above instructions for
>> ens_ssvar_bin_size to override them and/or make them configurable
through
>> METplus. I will also add these variables to the list of MET configs
that
>> users want to be able to easily configure through METplus configs.*
>>
>> Please let me know if you run into any issues setting any of that
up.
>> Also,
>> if there are any other MET config variables that you want to see
supported
>> in METplus, let me know and I will make sure they get included when
we
>> have
>> a chance to refactor those wrappers. It is possible to add support
for MET
>> configs using the above instructions, but it is always easier and
less
>> error-prone to have them configurable directly through a variable
in the
>> METplus config.
>>
>> Thanks,
>> George
>>
>> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
>> met_help at ucar.edu> wrote:
>>
>> >
>> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
>> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
>> > Queue: met_help
>> > Subject: CDP threshold setting in EnsembleStat conf
>> > Owner: Nobody
>> > Requestors: Binbin.Zhou at noaa.gov
>> > Status: new
>> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
>> >
>> >
>> > George,
>> >
>> > Happy New Year!
>> >
>> > I am working on transition of our MET-based global ensemble
>> verification
>> > to METplus based package. In this package climatology bins (10
bins) are
>> > used.
>> > In current ensemble stat config file, the relevant entries iare
defined
>> > like following
>> >
>> > ens = {
>> > ens_thresh = 1.0;
>> > vld_thresh = 1.0;
>> >
>> > field = [
>> >
>> > {
>> > name = "HGT";
>> > level = "P500";
>> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
>> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
>> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
>> > }
>> > ]
>> > }
>> > fcst = ens;
>> > obs = fcst;
>> > ens_ssvar_bin_size = 1000000;
>> > ens_phist_bin_size = 0.05;
>> > climo_mean = fcst;
>> > climo_mean = {
>> > file_name = "${CLIM_MEAN}";
>> > time_interp_method = DW_MEAN;
>> > match_day = TRUE;
>> > time_step = 21600;
>> > }
>> >
>> > climo_stdev = climo_mean;
>> > climo_stdev = {
>> > file_name = "${CLIM_STDV}";
>> > }
>> >
>> > climo_cdf = {
>> > cdf_bins = 11;
>> > center_bins = TRUE;
>> > write_bins = TRUE;
>> > }
>> >
>> > I can not find the correspondent settings in its conf file from
METplus
>> > online doc.
>> > Can you help me look at this?
>> >
>> > Thanks!
>> >
>> > Binbin
>> >
>> > --
>> >
>> > Binbin Zhou
>> >
>> > IMSG at NOAA/NWS/NCEP/EMC
>> >
>> > 5830 University Research Ct.
>> >
>> > College Park, MD 20740
>> >
>> > Binbin.Zhou at noaa.gov
>> >
>> > 301-683-3683
>> >
>> >
>>
>> --
>> 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.
>>
>>
>
> --
>
> Binbin Zhou
>
> IMSG at NOAA/NWS/NCEP/EMC
>
> 5830 University Research Ct.
>
> College Park, MD 20740
>
> Binbin.Zhou at noaa.gov
>
> 301-683-3683
>
--
Binbin Zhou
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
College Park, MD 20740
Binbin.Zhou at noaa.gov
301-683-3683
------------------------------------------------
Subject: CDP threshold setting in EnsembleStat conf
From: George McCabe
Time: Tue Jan 05 13:49:54 2021
Hi Binbin,
You should be able to set it in the METplus config the same way it is
done
for GridStat -- no quotes with commas between each item. The wrapper
should
format it properly.
Here is an example from an existing use case:
GRID_STAT_VERIFICATION_MASK_TEMPLATE =
{INPUT_BASE}/model_applications/precipitation/mask/CONUS_HRRRTLE.nc,
{INPUT_BASE}/model_applications/precipitation/mask/EAST_HRRRTLE.nc,
{INPUT_BASE}/model_applications/precipitation/mask/WEST_HRRRTLE.nc
You should be able to set them the same way using
ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE. Let me know if that doesn't
work.
- George
On Tue, Jan 5, 2021 at 1:45 PM Binbin.Zhou at noaa.gov via RT <
met_help at ucar.edu> wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
>
> George,
>
> I got another issue for verification mask setting.
>
> I am using $VERIF_MASK in EnsembleStat config f/ile
> mask = {
> grid = [];
> poly = [${VERIF_MASK}];
> sid = [];
> }
>
> And using GRID_STAT_VERIFICATION_MASK_TEMPLATE to define several
polygon
> nc mask files
> But it seems not working. But it works for Gridstat config in suich
> setting.
> I can not find ENSEMBLE_STAT_ VERIFICATION_MASK_TEMPLATE in the
METplus doc
>
> So I define VERIF_MASK in [user_env_vars] part.
> It values can not be passed to ploy = [${VERIF_MASK}] in the
EnsembleStat
> conf if more than one nc files included.
> For example
> VERIF_MASK=" '/part/p1.cn', '/path/p2.nc' "
> the error says poly = [/path/p1,]
> It seems double quote or single quote can not be passed to
VERIF_MASK in
> the EnsembleStat config.
> I tried use back slash \ to before quote, but still not working
>
> Binbin
>
>
> On Tue, Jan 5, 2021 at 10:33 AM Binbin Zhou - NOAA Affiliate <
> binbin.zhou at noaa.gov> wrote:
>
> > George,
> >
> > Thanks for your quick response! I'll test this settings and let
> > you know the results.
> >
> > Binbin
> >
> > On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT
<met_help at ucar.edu>
> > wrote:
> >
> >> Hi Binbin,
> >>
> >> Happy New Year to you too!
> >>
> >> I will comment on each configuration variable and how to set it
in a
> >> METplus config inline:
> >>
> >> ens = {
> >> ens_thresh = 1.0;
> >>
> >>
> >> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH variable. The
> default
> >> value is 1.0, so you don't need to include it in your config
file, but
> you
> >> can if you may adjust this value at some point.*
> >>
> >> vld_thresh = 1.0;
> >>
> >> *This value is set to 1.0 by default so we don't need to worry
about it
> >> right now.*
> >>
> >> field = [
> >>
> >> {
> >> name = "HGT";
> >> level = "P500";
> >> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
> >> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
> >> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> >> }
> >> ]
> >> }
> >> fcst = ens;
> >> obs = fcst;
> >>
> >> *1) The field info for ens is set in the
> >> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst and
obs field
> >> info are set in the corresponding FCST_VAR<n>_* and OBS_VAR<n>_*
> variables
> >> respectively, or you can use BOTH_VAR<n>_* if the FCST and OBS
values
> are
> >> the same.*
> >>
> >> *If ENS_VAR<n>_* variables are not explicitly set, then it will
use the
> >> values from FCST_VAR<n>_*.*
> >> *Since the fcst, obs, and ens are all the same you could just use
> >> BOTH_VAR<n>_* variables to control all 3, although keep in mind
that if
> >> you
> >> need to change one of them for any reason, it will be more
difficult to
> do
> >> this. If you know that they will always be the same values, then
I
> >> recommend using BOTH_, but if you know they may change or are
unsure, I
> >> would recommend setting them by referencing the other variables,
i.e.*
> >>
> >> *FCST_VAR1_NAME = HGT*
> >> *FCST_VAR1_LEVELS = P500 *
> >> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
> >> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
> >>
> >> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the cat_thresh
values
> >> in
> >> the field info. A variable specific to obs_thresh is not
currently
> >> supported, however you can set these values by using the
> ENS_VAR1_OPTIONS
> >> variable, i.e.*
> >>
> >> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
> >> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50,
>CDP50&&<=CDP60,
> >> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];*
> >>
> >>
> >> *Remember to include the semicolon at the end! *
> >>
> >> ens_ssvar_bin_size = 1000000;
> >> *1) This variable is different from the default and not currently
> >> supported
> >> with a METplus config variable. I will add this to the list of
variables
> >> in
> >> MET config files that we want to support. However, in the
meantime you
> can
> >> copy the default wrapped MET config file and modify it to fit
your
> needs.
> >> To do this, you will need to:*
> >>
> >> * a) Copy METplus/parm/met_config/EnsembleStatConfig_wrapped to
the
> >> directory that contains your METplus config file for this use
case.
> Rename
> >> it by replacing "wrapped" with a short description that pertains
to your
> >> use case.*
> >>
> >> * b) In your METplus config file, change the value of
> >> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new config
file.*
> >>
> >> * c) If you know the value you want to use for this variable
will
> always
> >> be 1000000, then simply set the variable to that value. If you
think you
> >> may want to change the value, then you can utilize the
[user_env_vars]
> >> functionality. See:
> >>
> >>
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> >> <
> >>
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> >> >*
> >> *In this case, you would add the following to your METplus
config:*
> >>
> >> *[user_env_vars]*
> >> *ENS_SSVAR_BIN_SIZE = 1000000*
> >>
> >> *Then change the line in your EnsembleStat config file that you
copied
> >> to:*
> >>
> >> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
> >>
> >> ens_phist_bin_size = 0.05;
> >> *This variable uses the default value, so you don't need to do
anything
> >> here. If you need to make it configurable or change the value,
then
> follow
> >> the instructions for setting ens_ssvar_bin_size.*
> >>
> >> climo_mean = fcst;
> >> climo_mean = {
> >> file_name = "${CLIM_MEAN}";
> >> time_interp_method = DW_MEAN;
> >> match_day = TRUE;
> >> time_step = 21600;
> >> }
> >>
> >>
> >> *Instead of using CLIM_MEAN, you can set
> >> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus
config. You
> >> can use filename template syntax in the _TEMPLATE value, i.e.
> >> {valid?fmt=%m%d}. The other variables in the climo_mean
dictionary are
> >> actually old variables that have been replaced with day_interval
and
> >> hour_interval, but the values you use are the old defaults, so
you
> >> shouldn't need to set them.*
> >>
> >> climo_stdev = climo_mean;
> >> climo_stdev = {
> >> file_name = "${CLIM_STDV}";
> >> }
> >>
> >> *Similarly to CLIM_MEAN, you can use
> >> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this file
name.*
> >>
> >> climo_cdf = {
> >> cdf_bins = 11;
> >> center_bins = TRUE;
> >> write_bins = TRUE;
> >> }
> >> *The value for write_bins is the default, but the values for
cdf_bins
> and
> >> center_bins do not. To set these, follow the above instructions
for
> >> ens_ssvar_bin_size to override them and/or make them configurable
> through
> >> METplus. I will also add these variables to the list of MET
configs that
> >> users want to be able to easily configure through METplus
configs.*
> >>
> >> Please let me know if you run into any issues setting any of that
up.
> >> Also,
> >> if there are any other MET config variables that you want to see
> supported
> >> in METplus, let me know and I will make sure they get included
when we
> >> have
> >> a chance to refactor those wrappers. It is possible to add
support for
> MET
> >> configs using the above instructions, but it is always easier and
less
> >> error-prone to have them configurable directly through a variable
in the
> >> METplus config.
> >>
> >> Thanks,
> >> George
> >>
> >> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >> >
> >> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
> >> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
> >> > Queue: met_help
> >> > Subject: CDP threshold setting in EnsembleStat conf
> >> > Owner: Nobody
> >> > Requestors: Binbin.Zhou at noaa.gov
> >> > Status: new
> >> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116
> >
> >> >
> >> >
> >> > George,
> >> >
> >> > Happy New Year!
> >> >
> >> > I am working on transition of our MET-based global ensemble
> >> verification
> >> > to METplus based package. In this package climatology bins (10
bins)
> are
> >> > used.
> >> > In current ensemble stat config file, the relevant entries iare
> defined
> >> > like following
> >> >
> >> > ens = {
> >> > ens_thresh = 1.0;
> >> > vld_thresh = 1.0;
> >> >
> >> > field = [
> >> >
> >> > {
> >> > name = "HGT";
> >> > level = "P500";
> >> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
> >> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
> >> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> >> > }
> >> > ]
> >> > }
> >> > fcst = ens;
> >> > obs = fcst;
> >> > ens_ssvar_bin_size = 1000000;
> >> > ens_phist_bin_size = 0.05;
> >> > climo_mean = fcst;
> >> > climo_mean = {
> >> > file_name = "${CLIM_MEAN}";
> >> > time_interp_method = DW_MEAN;
> >> > match_day = TRUE;
> >> > time_step = 21600;
> >> > }
> >> >
> >> > climo_stdev = climo_mean;
> >> > climo_stdev = {
> >> > file_name = "${CLIM_STDV}";
> >> > }
> >> >
> >> > climo_cdf = {
> >> > cdf_bins = 11;
> >> > center_bins = TRUE;
> >> > write_bins = TRUE;
> >> > }
> >> >
> >> > I can not find the correspondent settings in its conf file from
> METplus
> >> > online doc.
> >> > Can you help me look at this?
> >> >
> >> > Thanks!
> >> >
> >> > Binbin
> >> >
> >> > --
> >> >
> >> > Binbin Zhou
> >> >
> >> > IMSG at NOAA/NWS/NCEP/EMC
> >> >
> >> > 5830 University Research Ct.
> >> >
> >> > College Park, MD 20740
> >> >
> >> > Binbin.Zhou at noaa.gov
> >> >
> >> > 301-683-3683
> >> >
> >> >
> >>
> >> --
> >> 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.
> >>
> >>
> >
> > --
> >
> > Binbin Zhou
> >
> > IMSG at NOAA/NWS/NCEP/EMC
> >
> > 5830 University Research Ct.
> >
> > College Park, MD 20740
> >
> > Binbin.Zhou at noaa.gov
> >
> > 301-683-3683
> >
>
>
> --
>
> Binbin Zhou
>
> IMSG at NOAA/NWS/NCEP/EMC
>
> 5830 University Research Ct.
>
> College Park, MD 20740
>
> Binbin.Zhou at noaa.gov
>
> 301-683-3683
>
>
--
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: CDP threshold setting in EnsembleStat conf
From: George McCabe
Time: Tue Jan 05 13:51:39 2021
Also, you are right that ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE is
not in
the glossary. It should still be supported, but I will be sure to add
it to
the glossary to be complete. Thanks for pointing that out!
- George
On Tue, Jan 5, 2021 at 1:49 PM George McCabe <mccabe at ucar.edu> wrote:
> Hi Binbin,
>
> You should be able to set it in the METplus config the same way it
is done
> for GridStat -- no quotes with commas between each item. The wrapper
should
> format it properly.
>
> Here is an example from an existing use case:
>
> GRID_STAT_VERIFICATION_MASK_TEMPLATE =
> {INPUT_BASE}/model_applications/precipitation/mask/CONUS_HRRRTLE.nc,
> {INPUT_BASE}/model_applications/precipitation/mask/EAST_HRRRTLE.nc,
> {INPUT_BASE}/model_applications/precipitation/mask/WEST_HRRRTLE.nc
>
> You should be able to set them the same way using
> ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE. Let me know if that
doesn't work.
>
> - George
>
> On Tue, Jan 5, 2021 at 1:45 PM Binbin.Zhou at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
>>
>> George,
>>
>> I got another issue for verification mask setting.
>>
>> I am using $VERIF_MASK in EnsembleStat config f/ile
>> mask = {
>> grid = [];
>> poly = [${VERIF_MASK}];
>> sid = [];
>> }
>>
>> And using GRID_STAT_VERIFICATION_MASK_TEMPLATE to define several
polygon
>> nc mask files
>> But it seems not working. But it works for Gridstat config in suich
>> setting.
>> I can not find ENSEMBLE_STAT_ VERIFICATION_MASK_TEMPLATE in the
METplus
>> doc
>>
>> So I define VERIF_MASK in [user_env_vars] part.
>> It values can not be passed to ploy = [${VERIF_MASK}] in the
EnsembleStat
>> conf if more than one nc files included.
>> For example
>> VERIF_MASK=" '/part/p1.cn', '/path/p2.nc' "
>> the error says poly = [/path/p1,]
>> It seems double quote or single quote can not be passed to
VERIF_MASK in
>> the EnsembleStat config.
>> I tried use back slash \ to before quote, but still not working
>>
>> Binbin
>>
>>
>> On Tue, Jan 5, 2021 at 10:33 AM Binbin Zhou - NOAA Affiliate <
>> binbin.zhou at noaa.gov> wrote:
>>
>> > George,
>> >
>> > Thanks for your quick response! I'll test this settings and
let
>> > you know the results.
>> >
>> > Binbin
>> >
>> > On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT
<met_help at ucar.edu
>> >
>> > wrote:
>> >
>> >> Hi Binbin,
>> >>
>> >> Happy New Year to you too!
>> >>
>> >> I will comment on each configuration variable and how to set it
in a
>> >> METplus config inline:
>> >>
>> >> ens = {
>> >> ens_thresh = 1.0;
>> >>
>> >>
>> >> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH variable.
The
>> default
>> >> value is 1.0, so you don't need to include it in your config
file, but
>> you
>> >> can if you may adjust this value at some point.*
>> >>
>> >> vld_thresh = 1.0;
>> >>
>> >> *This value is set to 1.0 by default so we don't need to worry
about it
>> >> right now.*
>> >>
>> >> field = [
>> >>
>> >> {
>> >> name = "HGT";
>> >> level = "P500";
>> >> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
>> >> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
>> >> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
>> >> }
>> >> ]
>> >> }
>> >> fcst = ens;
>> >> obs = fcst;
>> >>
>> >> *1) The field info for ens is set in the
>> >> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst and
obs
>> field
>> >> info are set in the corresponding FCST_VAR<n>_* and OBS_VAR<n>_*
>> variables
>> >> respectively, or you can use BOTH_VAR<n>_* if the FCST and OBS
values
>> are
>> >> the same.*
>> >>
>> >> *If ENS_VAR<n>_* variables are not explicitly set, then it will
use the
>> >> values from FCST_VAR<n>_*.*
>> >> *Since the fcst, obs, and ens are all the same you could just
use
>> >> BOTH_VAR<n>_* variables to control all 3, although keep in mind
that if
>> >> you
>> >> need to change one of them for any reason, it will be more
difficult
>> to do
>> >> this. If you know that they will always be the same values, then
I
>> >> recommend using BOTH_, but if you know they may change or are
unsure, I
>> >> would recommend setting them by referencing the other variables,
i.e.*
>> >>
>> >> *FCST_VAR1_NAME = HGT*
>> >> *FCST_VAR1_LEVELS = P500 *
>> >> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
>> >> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
>> >>
>> >> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the
cat_thresh
>> values
>> >> in
>> >> the field info. A variable specific to obs_thresh is not
currently
>> >> supported, however you can set these values by using the
>> ENS_VAR1_OPTIONS
>> >> variable, i.e.*
>> >>
>> >> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>> >> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50,
>CDP50&&<=CDP60,
>> >> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];*
>> >>
>> >>
>> >> *Remember to include the semicolon at the end! *
>> >>
>> >> ens_ssvar_bin_size = 1000000;
>> >> *1) This variable is different from the default and not
currently
>> >> supported
>> >> with a METplus config variable. I will add this to the list of
>> variables
>> >> in
>> >> MET config files that we want to support. However, in the
meantime you
>> can
>> >> copy the default wrapped MET config file and modify it to fit
your
>> needs.
>> >> To do this, you will need to:*
>> >>
>> >> * a) Copy METplus/parm/met_config/EnsembleStatConfig_wrapped to
the
>> >> directory that contains your METplus config file for this use
case.
>> Rename
>> >> it by replacing "wrapped" with a short description that pertains
to
>> your
>> >> use case.*
>> >>
>> >> * b) In your METplus config file, change the value of
>> >> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new
config
>> file.*
>> >>
>> >> * c) If you know the value you want to use for this variable
will
>> always
>> >> be 1000000, then simply set the variable to that value. If you
think
>> you
>> >> may want to change the value, then you can utilize the
[user_env_vars]
>> >> functionality. See:
>> >>
>> >>
>>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
>> >> <
>> >>
>>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
>> >> >*
>> >> *In this case, you would add the following to your METplus
config:*
>> >>
>> >> *[user_env_vars]*
>> >> *ENS_SSVAR_BIN_SIZE = 1000000*
>> >>
>> >> *Then change the line in your EnsembleStat config file that you
copied
>> >> to:*
>> >>
>> >> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
>> >>
>> >> ens_phist_bin_size = 0.05;
>> >> *This variable uses the default value, so you don't need to do
anything
>> >> here. If you need to make it configurable or change the value,
then
>> follow
>> >> the instructions for setting ens_ssvar_bin_size.*
>> >>
>> >> climo_mean = fcst;
>> >> climo_mean = {
>> >> file_name = "${CLIM_MEAN}";
>> >> time_interp_method = DW_MEAN;
>> >> match_day = TRUE;
>> >> time_step = 21600;
>> >> }
>> >>
>> >>
>> >> *Instead of using CLIM_MEAN, you can set
>> >> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus
config.
>> You
>> >> can use filename template syntax in the _TEMPLATE value, i.e.
>> >> {valid?fmt=%m%d}. The other variables in the climo_mean
dictionary are
>> >> actually old variables that have been replaced with day_interval
and
>> >> hour_interval, but the values you use are the old defaults, so
you
>> >> shouldn't need to set them.*
>> >>
>> >> climo_stdev = climo_mean;
>> >> climo_stdev = {
>> >> file_name = "${CLIM_STDV}";
>> >> }
>> >>
>> >> *Similarly to CLIM_MEAN, you can use
>> >> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this file
name.*
>> >>
>> >> climo_cdf = {
>> >> cdf_bins = 11;
>> >> center_bins = TRUE;
>> >> write_bins = TRUE;
>> >> }
>> >> *The value for write_bins is the default, but the values for
cdf_bins
>> and
>> >> center_bins do not. To set these, follow the above instructions
for
>> >> ens_ssvar_bin_size to override them and/or make them
configurable
>> through
>> >> METplus. I will also add these variables to the list of MET
configs
>> that
>> >> users want to be able to easily configure through METplus
configs.*
>> >>
>> >> Please let me know if you run into any issues setting any of
that up.
>> >> Also,
>> >> if there are any other MET config variables that you want to see
>> supported
>> >> in METplus, let me know and I will make sure they get included
when we
>> >> have
>> >> a chance to refactor those wrappers. It is possible to add
support for
>> MET
>> >> configs using the above instructions, but it is always easier
and less
>> >> error-prone to have them configurable directly through a
variable in
>> the
>> >> METplus config.
>> >>
>> >> Thanks,
>> >> George
>> >>
>> >> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
>> >> met_help at ucar.edu> wrote:
>> >>
>> >> >
>> >> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
>> >> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
>> >> > Queue: met_help
>> >> > Subject: CDP threshold setting in EnsembleStat conf
>> >> > Owner: Nobody
>> >> > Requestors: Binbin.Zhou at noaa.gov
>> >> > Status: new
>> >> > Ticket <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
>> >> >
>> >> >
>> >> > George,
>> >> >
>> >> > Happy New Year!
>> >> >
>> >> > I am working on transition of our MET-based global ensemble
>> >> verification
>> >> > to METplus based package. In this package climatology bins (10
bins)
>> are
>> >> > used.
>> >> > In current ensemble stat config file, the relevant entries
iare
>> defined
>> >> > like following
>> >> >
>> >> > ens = {
>> >> > ens_thresh = 1.0;
>> >> > vld_thresh = 1.0;
>> >> >
>> >> > field = [
>> >> >
>> >> > {
>> >> > name = "HGT";
>> >> > level = "P500";
>> >> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
>> >> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
>> >> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
>> >> > }
>> >> > ]
>> >> > }
>> >> > fcst = ens;
>> >> > obs = fcst;
>> >> > ens_ssvar_bin_size = 1000000;
>> >> > ens_phist_bin_size = 0.05;
>> >> > climo_mean = fcst;
>> >> > climo_mean = {
>> >> > file_name = "${CLIM_MEAN}";
>> >> > time_interp_method = DW_MEAN;
>> >> > match_day = TRUE;
>> >> > time_step = 21600;
>> >> > }
>> >> >
>> >> > climo_stdev = climo_mean;
>> >> > climo_stdev = {
>> >> > file_name = "${CLIM_STDV}";
>> >> > }
>> >> >
>> >> > climo_cdf = {
>> >> > cdf_bins = 11;
>> >> > center_bins = TRUE;
>> >> > write_bins = TRUE;
>> >> > }
>> >> >
>> >> > I can not find the correspondent settings in its conf file
from
>> METplus
>> >> > online doc.
>> >> > Can you help me look at this?
>> >> >
>> >> > Thanks!
>> >> >
>> >> > Binbin
>> >> >
>> >> > --
>> >> >
>> >> > Binbin Zhou
>> >> >
>> >> > IMSG at NOAA/NWS/NCEP/EMC
>> >> >
>> >> > 5830 University Research Ct.
>> >> >
>> >> > College Park, MD 20740
>> >> >
>> >> > Binbin.Zhou at noaa.gov
>> >> >
>> >> > 301-683-3683
>> >> >
>> >> >
>> >>
>> >> --
>> >> 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.
>> >>
>> >>
>> >
>> > --
>> >
>> > Binbin Zhou
>> >
>> > IMSG at NOAA/NWS/NCEP/EMC
>> >
>> > 5830 University Research Ct.
>> >
>> > College Park, MD 20740
>> >
>> > Binbin.Zhou at noaa.gov
>> >
>> > 301-683-3683
>> >
>>
>>
>> --
>>
>> Binbin Zhou
>>
>> IMSG at NOAA/NWS/NCEP/EMC
>>
>> 5830 University Research Ct.
>>
>> College Park, MD 20740
>>
>> Binbin.Zhou at noaa.gov
>>
>> 301-683-3683
>>
>>
>
> --
> 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.
>
--
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: CDP threshold setting in EnsembleStat conf
From: Binbin.Zhou at noaa.gov
Time: Tue Jan 05 14:25:45 2021
George,
Still not working, error says
ERROR : replace_env() -> unable to get value for environment
variable
"VERIF_MASK"
Binbin
On Tue, Jan 5, 2021 at 3:50 PM George McCabe via RT
<met_help at ucar.edu>
wrote:
> Hi Binbin,
>
> You should be able to set it in the METplus config the same way it
is done
> for GridStat -- no quotes with commas between each item. The wrapper
should
> format it properly.
>
> Here is an example from an existing use case:
>
> GRID_STAT_VERIFICATION_MASK_TEMPLATE =
> {INPUT_BASE}/model_applications/precipitation/mask/CONUS_HRRRTLE.nc,
> {INPUT_BASE}/model_applications/precipitation/mask/EAST_HRRRTLE.nc,
> {INPUT_BASE}/model_applications/precipitation/mask/WEST_HRRRTLE.nc
>
> You should be able to set them the same way using
> ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE. Let me know if that
doesn't work.
>
> - George
>
> On Tue, Jan 5, 2021 at 1:45 PM Binbin.Zhou at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
> >
> > George,
> >
> > I got another issue for verification mask setting.
> >
> > I am using $VERIF_MASK in EnsembleStat config f/ile
> > mask = {
> > grid = [];
> > poly = [${VERIF_MASK}];
> > sid = [];
> > }
> >
> > And using GRID_STAT_VERIFICATION_MASK_TEMPLATE to define several
polygon
> > nc mask files
> > But it seems not working. But it works for Gridstat config in
suich
> > setting.
> > I can not find ENSEMBLE_STAT_ VERIFICATION_MASK_TEMPLATE in the
METplus
> doc
> >
> > So I define VERIF_MASK in [user_env_vars] part.
> > It values can not be passed to ploy = [${VERIF_MASK}] in the
EnsembleStat
> > conf if more than one nc files included.
> > For example
> > VERIF_MASK=" '/part/p1.cn', '/path/p2.nc' "
> > the error says poly = [/path/p1,]
> > It seems double quote or single quote can not be passed to
VERIF_MASK in
> > the EnsembleStat config.
> > I tried use back slash \ to before quote, but still not working
> >
> > Binbin
> >
> >
> > On Tue, Jan 5, 2021 at 10:33 AM Binbin Zhou - NOAA Affiliate <
> > binbin.zhou at noaa.gov> wrote:
> >
> > > George,
> > >
> > > Thanks for your quick response! I'll test this settings and
let
> > > you know the results.
> > >
> > > Binbin
> > >
> > > On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > >> Hi Binbin,
> > >>
> > >> Happy New Year to you too!
> > >>
> > >> I will comment on each configuration variable and how to set it
in a
> > >> METplus config inline:
> > >>
> > >> ens = {
> > >> ens_thresh = 1.0;
> > >>
> > >>
> > >> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH variable.
The
> > default
> > >> value is 1.0, so you don't need to include it in your config
file, but
> > you
> > >> can if you may adjust this value at some point.*
> > >>
> > >> vld_thresh = 1.0;
> > >>
> > >> *This value is set to 1.0 by default so we don't need to worry
about
> it
> > >> right now.*
> > >>
> > >> field = [
> > >>
> > >> {
> > >> name = "HGT";
> > >> level = "P500";
> > >> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
> > >> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
> > >> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> > >> }
> > >> ]
> > >> }
> > >> fcst = ens;
> > >> obs = fcst;
> > >>
> > >> *1) The field info for ens is set in the
> > >> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst and
obs
> field
> > >> info are set in the corresponding FCST_VAR<n>_* and
OBS_VAR<n>_*
> > variables
> > >> respectively, or you can use BOTH_VAR<n>_* if the FCST and OBS
values
> > are
> > >> the same.*
> > >>
> > >> *If ENS_VAR<n>_* variables are not explicitly set, then it will
use
> the
> > >> values from FCST_VAR<n>_*.*
> > >> *Since the fcst, obs, and ens are all the same you could just
use
> > >> BOTH_VAR<n>_* variables to control all 3, although keep in mind
that
> if
> > >> you
> > >> need to change one of them for any reason, it will be more
difficult
> to
> > do
> > >> this. If you know that they will always be the same values,
then I
> > >> recommend using BOTH_, but if you know they may change or are
unsure,
> I
> > >> would recommend setting them by referencing the other
variables, i.e.*
> > >>
> > >> *FCST_VAR1_NAME = HGT*
> > >> *FCST_VAR1_LEVELS = P500 *
> > >> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
> > >> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
> > >>
> > >> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the
cat_thresh
> values
> > >> in
> > >> the field info. A variable specific to obs_thresh is not
currently
> > >> supported, however you can set these values by using the
> > ENS_VAR1_OPTIONS
> > >> variable, i.e.*
> > >>
> > >> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
> > >> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50,
>CDP50&&<=CDP60,
> > >> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];*
> > >>
> > >>
> > >> *Remember to include the semicolon at the end! *
> > >>
> > >> ens_ssvar_bin_size = 1000000;
> > >> *1) This variable is different from the default and not
currently
> > >> supported
> > >> with a METplus config variable. I will add this to the list of
> variables
> > >> in
> > >> MET config files that we want to support. However, in the
meantime you
> > can
> > >> copy the default wrapped MET config file and modify it to fit
your
> > needs.
> > >> To do this, you will need to:*
> > >>
> > >> * a) Copy METplus/parm/met_config/EnsembleStatConfig_wrapped
to the
> > >> directory that contains your METplus config file for this use
case.
> > Rename
> > >> it by replacing "wrapped" with a short description that
pertains to
> your
> > >> use case.*
> > >>
> > >> * b) In your METplus config file, change the value of
> > >> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new
config
> file.*
> > >>
> > >> * c) If you know the value you want to use for this variable
will
> > always
> > >> be 1000000, then simply set the variable to that value. If you
think
> you
> > >> may want to change the value, then you can utilize the
[user_env_vars]
> > >> functionality. See:
> > >>
> > >>
> >
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> > >> <
> > >>
> >
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> > >> >*
> > >> *In this case, you would add the following to your METplus
config:*
> > >>
> > >> *[user_env_vars]*
> > >> *ENS_SSVAR_BIN_SIZE = 1000000*
> > >>
> > >> *Then change the line in your EnsembleStat config file that you
copied
> > >> to:*
> > >>
> > >> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
> > >>
> > >> ens_phist_bin_size = 0.05;
> > >> *This variable uses the default value, so you don't need to do
> anything
> > >> here. If you need to make it configurable or change the value,
then
> > follow
> > >> the instructions for setting ens_ssvar_bin_size.*
> > >>
> > >> climo_mean = fcst;
> > >> climo_mean = {
> > >> file_name = "${CLIM_MEAN}";
> > >> time_interp_method = DW_MEAN;
> > >> match_day = TRUE;
> > >> time_step = 21600;
> > >> }
> > >>
> > >>
> > >> *Instead of using CLIM_MEAN, you can set
> > >> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus
config.
> You
> > >> can use filename template syntax in the _TEMPLATE value, i.e.
> > >> {valid?fmt=%m%d}. The other variables in the climo_mean
dictionary are
> > >> actually old variables that have been replaced with
day_interval and
> > >> hour_interval, but the values you use are the old defaults, so
you
> > >> shouldn't need to set them.*
> > >>
> > >> climo_stdev = climo_mean;
> > >> climo_stdev = {
> > >> file_name = "${CLIM_STDV}";
> > >> }
> > >>
> > >> *Similarly to CLIM_MEAN, you can use
> > >> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this file
name.*
> > >>
> > >> climo_cdf = {
> > >> cdf_bins = 11;
> > >> center_bins = TRUE;
> > >> write_bins = TRUE;
> > >> }
> > >> *The value for write_bins is the default, but the values for
cdf_bins
> > and
> > >> center_bins do not. To set these, follow the above instructions
for
> > >> ens_ssvar_bin_size to override them and/or make them
configurable
> > through
> > >> METplus. I will also add these variables to the list of MET
configs
> that
> > >> users want to be able to easily configure through METplus
configs.*
> > >>
> > >> Please let me know if you run into any issues setting any of
that up.
> > >> Also,
> > >> if there are any other MET config variables that you want to
see
> > supported
> > >> in METplus, let me know and I will make sure they get included
when we
> > >> have
> > >> a chance to refactor those wrappers. It is possible to add
support for
> > MET
> > >> configs using the above instructions, but it is always easier
and less
> > >> error-prone to have them configurable directly through a
variable in
> the
> > >> METplus config.
> > >>
> > >> Thanks,
> > >> George
> > >>
> > >> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >> >
> > >> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
> > >> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
> > >> > Queue: met_help
> > >> > Subject: CDP threshold setting in EnsembleStat conf
> > >> > Owner: Nobody
> > >> > Requestors: Binbin.Zhou at noaa.gov
> > >> > Status: new
> > >> > Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116
> > >
> > >> >
> > >> >
> > >> > George,
> > >> >
> > >> > Happy New Year!
> > >> >
> > >> > I am working on transition of our MET-based global
ensemble
> > >> verification
> > >> > to METplus based package. In this package climatology bins
(10 bins)
> > are
> > >> > used.
> > >> > In current ensemble stat config file, the relevant entries
iare
> > defined
> > >> > like following
> > >> >
> > >> > ens = {
> > >> > ens_thresh = 1.0;
> > >> > vld_thresh = 1.0;
> > >> >
> > >> > field = [
> > >> >
> > >> > {
> > >> > name = "HGT";
> > >> > level = "P500";
> > >> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
> > >> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
> > >> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> > >> > }
> > >> > ]
> > >> > }
> > >> > fcst = ens;
> > >> > obs = fcst;
> > >> > ens_ssvar_bin_size = 1000000;
> > >> > ens_phist_bin_size = 0.05;
> > >> > climo_mean = fcst;
> > >> > climo_mean = {
> > >> > file_name = "${CLIM_MEAN}";
> > >> > time_interp_method = DW_MEAN;
> > >> > match_day = TRUE;
> > >> > time_step = 21600;
> > >> > }
> > >> >
> > >> > climo_stdev = climo_mean;
> > >> > climo_stdev = {
> > >> > file_name = "${CLIM_STDV}";
> > >> > }
> > >> >
> > >> > climo_cdf = {
> > >> > cdf_bins = 11;
> > >> > center_bins = TRUE;
> > >> > write_bins = TRUE;
> > >> > }
> > >> >
> > >> > I can not find the correspondent settings in its conf file
from
> > METplus
> > >> > online doc.
> > >> > Can you help me look at this?
> > >> >
> > >> > Thanks!
> > >> >
> > >> > Binbin
> > >> >
> > >> > --
> > >> >
> > >> > Binbin Zhou
> > >> >
> > >> > IMSG at NOAA/NWS/NCEP/EMC
> > >> >
> > >> > 5830 University Research Ct.
> > >> >
> > >> > College Park, MD 20740
> > >> >
> > >> > Binbin.Zhou at noaa.gov
> > >> >
> > >> > 301-683-3683
> > >> >
> > >> >
> > >>
> > >> --
> > >> 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.
> > >>
> > >>
> > >
> > > --
> > >
> > > Binbin Zhou
> > >
> > > IMSG at NOAA/NWS/NCEP/EMC
> > >
> > > 5830 University Research Ct.
> > >
> > > College Park, MD 20740
> > >
> > > Binbin.Zhou at noaa.gov
> > >
> > > 301-683-3683
> > >
> >
> >
> > --
> >
> > Binbin Zhou
> >
> > IMSG at NOAA/NWS/NCEP/EMC
> >
> > 5830 University Research Ct.
> >
> > College Park, MD 20740
> >
> > Binbin.Zhou at noaa.gov
> >
> > 301-683-3683
> >
> >
>
> --
> 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.
>
>
--
Binbin Zhou
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
College Park, MD 20740
Binbin.Zhou at noaa.gov
301-683-3683
------------------------------------------------
Subject: CDP threshold setting in EnsembleStat conf
From: Binbin.Zhou at noaa.gov
Time: Tue Jan 05 14:52:46 2021
George,
I have a temporal solution:
set ploy in EnembleStat config as
poly = [ "${MASKPATH}/lat_NHM.nc",
"${MASKPATH}/lat_NHM.nc",
"${MASKPATH}/lat_TRP.nc" ];
then set MASKPATH in user_env_vars part in the conf file
This MASKPAH then can be passed to EnsembleStat's poly [ ] entry
Binbin
On Tue, Jan 5, 2021 at 4:25 PM Binbin Zhou - NOAA Affiliate <
binbin.zhou at noaa.gov> wrote:
> George,
>
> Still not working, error says
> ERROR : replace_env() -> unable to get value for environment
variable
> "VERIF_MASK"
>
> Binbin
>
>
>
> On Tue, Jan 5, 2021 at 3:50 PM George McCabe via RT
<met_help at ucar.edu>
> wrote:
>
>> Hi Binbin,
>>
>> You should be able to set it in the METplus config the same way it
is done
>> for GridStat -- no quotes with commas between each item. The
wrapper
>> should
>> format it properly.
>>
>> Here is an example from an existing use case:
>>
>> GRID_STAT_VERIFICATION_MASK_TEMPLATE =
>>
{INPUT_BASE}/model_applications/precipitation/mask/CONUS_HRRRTLE.nc,
>> {INPUT_BASE}/model_applications/precipitation/mask/EAST_HRRRTLE.nc,
>> {INPUT_BASE}/model_applications/precipitation/mask/WEST_HRRRTLE.nc
>>
>> You should be able to set them the same way using
>> ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE. Let me know if that
doesn't
>> work.
>>
>> - George
>>
>> On Tue, Jan 5, 2021 at 1:45 PM Binbin.Zhou at noaa.gov via RT <
>> met_help at ucar.edu> wrote:
>>
>> >
>> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
>> >
>> > George,
>> >
>> > I got another issue for verification mask setting.
>> >
>> > I am using $VERIF_MASK in EnsembleStat config f/ile
>> > mask = {
>> > grid = [];
>> > poly = [${VERIF_MASK}];
>> > sid = [];
>> > }
>> >
>> > And using GRID_STAT_VERIFICATION_MASK_TEMPLATE to define several
>> polygon
>> > nc mask files
>> > But it seems not working. But it works for Gridstat config in
suich
>> > setting.
>> > I can not find ENSEMBLE_STAT_ VERIFICATION_MASK_TEMPLATE in the
METplus
>> doc
>> >
>> > So I define VERIF_MASK in [user_env_vars] part.
>> > It values can not be passed to ploy = [${VERIF_MASK}] in the
>> EnsembleStat
>> > conf if more than one nc files included.
>> > For example
>> > VERIF_MASK=" '/part/p1.cn', '/path/p2.nc' "
>> > the error says poly = [/path/p1,]
>> > It seems double quote or single quote can not be passed to
VERIF_MASK in
>> > the EnsembleStat config.
>> > I tried use back slash \ to before quote, but still not working
>> >
>> > Binbin
>> >
>> >
>> > On Tue, Jan 5, 2021 at 10:33 AM Binbin Zhou - NOAA Affiliate <
>> > binbin.zhou at noaa.gov> wrote:
>> >
>> > > George,
>> > >
>> > > Thanks for your quick response! I'll test this settings and
let
>> > > you know the results.
>> > >
>> > > Binbin
>> > >
>> > > On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT <
>> met_help at ucar.edu>
>> > > wrote:
>> > >
>> > >> Hi Binbin,
>> > >>
>> > >> Happy New Year to you too!
>> > >>
>> > >> I will comment on each configuration variable and how to set
it in a
>> > >> METplus config inline:
>> > >>
>> > >> ens = {
>> > >> ens_thresh = 1.0;
>> > >>
>> > >>
>> > >> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH variable.
The
>> > default
>> > >> value is 1.0, so you don't need to include it in your config
file,
>> but
>> > you
>> > >> can if you may adjust this value at some point.*
>> > >>
>> > >> vld_thresh = 1.0;
>> > >>
>> > >> *This value is set to 1.0 by default so we don't need to worry
about
>> it
>> > >> right now.*
>> > >>
>> > >> field = [
>> > >>
>> > >> {
>> > >> name = "HGT";
>> > >> level = "P500";
>> > >> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
>> > >> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
>> > >> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
>> > >> }
>> > >> ]
>> > >> }
>> > >> fcst = ens;
>> > >> obs = fcst;
>> > >>
>> > >> *1) The field info for ens is set in the
>> > >> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst and
obs
>> field
>> > >> info are set in the corresponding FCST_VAR<n>_* and
OBS_VAR<n>_*
>> > variables
>> > >> respectively, or you can use BOTH_VAR<n>_* if the FCST and OBS
values
>> > are
>> > >> the same.*
>> > >>
>> > >> *If ENS_VAR<n>_* variables are not explicitly set, then it
will use
>> the
>> > >> values from FCST_VAR<n>_*.*
>> > >> *Since the fcst, obs, and ens are all the same you could just
use
>> > >> BOTH_VAR<n>_* variables to control all 3, although keep in
mind that
>> if
>> > >> you
>> > >> need to change one of them for any reason, it will be more
difficult
>> to
>> > do
>> > >> this. If you know that they will always be the same values,
then I
>> > >> recommend using BOTH_, but if you know they may change or are
>> unsure, I
>> > >> would recommend setting them by referencing the other
variables,
>> i.e.*
>> > >>
>> > >> *FCST_VAR1_NAME = HGT*
>> > >> *FCST_VAR1_LEVELS = P500 *
>> > >> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
>> > >> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
>> > >>
>> > >> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the
cat_thresh
>> values
>> > >> in
>> > >> the field info. A variable specific to obs_thresh is not
currently
>> > >> supported, however you can set these values by using the
>> > ENS_VAR1_OPTIONS
>> > >> variable, i.e.*
>> > >>
>> > >> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>> > >> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50,
>CDP50&&<=CDP60,
>> > >> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];*
>> > >>
>> > >>
>> > >> *Remember to include the semicolon at the end! *
>> > >>
>> > >> ens_ssvar_bin_size = 1000000;
>> > >> *1) This variable is different from the default and not
currently
>> > >> supported
>> > >> with a METplus config variable. I will add this to the list of
>> variables
>> > >> in
>> > >> MET config files that we want to support. However, in the
meantime
>> you
>> > can
>> > >> copy the default wrapped MET config file and modify it to fit
your
>> > needs.
>> > >> To do this, you will need to:*
>> > >>
>> > >> * a) Copy METplus/parm/met_config/EnsembleStatConfig_wrapped
to the
>> > >> directory that contains your METplus config file for this use
case.
>> > Rename
>> > >> it by replacing "wrapped" with a short description that
pertains to
>> your
>> > >> use case.*
>> > >>
>> > >> * b) In your METplus config file, change the value of
>> > >> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new
config
>> file.*
>> > >>
>> > >> * c) If you know the value you want to use for this variable
will
>> > always
>> > >> be 1000000, then simply set the variable to that value. If you
think
>> you
>> > >> may want to change the value, then you can utilize the
>> [user_env_vars]
>> > >> functionality. See:
>> > >>
>> > >>
>> >
>>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
>> > >> <
>> > >>
>> >
>>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
>> > >> >*
>> > >> *In this case, you would add the following to your METplus
config:*
>> > >>
>> > >> *[user_env_vars]*
>> > >> *ENS_SSVAR_BIN_SIZE = 1000000*
>> > >>
>> > >> *Then change the line in your EnsembleStat config file that
you
>> copied
>> > >> to:*
>> > >>
>> > >> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
>> > >>
>> > >> ens_phist_bin_size = 0.05;
>> > >> *This variable uses the default value, so you don't need to do
>> anything
>> > >> here. If you need to make it configurable or change the value,
then
>> > follow
>> > >> the instructions for setting ens_ssvar_bin_size.*
>> > >>
>> > >> climo_mean = fcst;
>> > >> climo_mean = {
>> > >> file_name = "${CLIM_MEAN}";
>> > >> time_interp_method = DW_MEAN;
>> > >> match_day = TRUE;
>> > >> time_step = 21600;
>> > >> }
>> > >>
>> > >>
>> > >> *Instead of using CLIM_MEAN, you can set
>> > >> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus
config.
>> You
>> > >> can use filename template syntax in the _TEMPLATE value, i.e.
>> > >> {valid?fmt=%m%d}. The other variables in the climo_mean
dictionary
>> are
>> > >> actually old variables that have been replaced with
day_interval and
>> > >> hour_interval, but the values you use are the old defaults, so
you
>> > >> shouldn't need to set them.*
>> > >>
>> > >> climo_stdev = climo_mean;
>> > >> climo_stdev = {
>> > >> file_name = "${CLIM_STDV}";
>> > >> }
>> > >>
>> > >> *Similarly to CLIM_MEAN, you can use
>> > >> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this
file
>> name.*
>> > >>
>> > >> climo_cdf = {
>> > >> cdf_bins = 11;
>> > >> center_bins = TRUE;
>> > >> write_bins = TRUE;
>> > >> }
>> > >> *The value for write_bins is the default, but the values for
cdf_bins
>> > and
>> > >> center_bins do not. To set these, follow the above
instructions for
>> > >> ens_ssvar_bin_size to override them and/or make them
configurable
>> > through
>> > >> METplus. I will also add these variables to the list of MET
configs
>> that
>> > >> users want to be able to easily configure through METplus
configs.*
>> > >>
>> > >> Please let me know if you run into any issues setting any of
that up.
>> > >> Also,
>> > >> if there are any other MET config variables that you want to
see
>> > supported
>> > >> in METplus, let me know and I will make sure they get included
when
>> we
>> > >> have
>> > >> a chance to refactor those wrappers. It is possible to add
support
>> for
>> > MET
>> > >> configs using the above instructions, but it is always easier
and
>> less
>> > >> error-prone to have them configurable directly through a
variable in
>> the
>> > >> METplus config.
>> > >>
>> > >> Thanks,
>> > >> George
>> > >>
>> > >> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
>> > >> met_help at ucar.edu> wrote:
>> > >>
>> > >> >
>> > >> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
>> > >> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
>> > >> > Queue: met_help
>> > >> > Subject: CDP threshold setting in EnsembleStat conf
>> > >> > Owner: Nobody
>> > >> > Requestors: Binbin.Zhou at noaa.gov
>> > >> > Status: new
>> > >> > Ticket <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116
>> > >
>> > >> >
>> > >> >
>> > >> > George,
>> > >> >
>> > >> > Happy New Year!
>> > >> >
>> > >> > I am working on transition of our MET-based global
ensemble
>> > >> verification
>> > >> > to METplus based package. In this package climatology bins
(10
>> bins)
>> > are
>> > >> > used.
>> > >> > In current ensemble stat config file, the relevant entries
iare
>> > defined
>> > >> > like following
>> > >> >
>> > >> > ens = {
>> > >> > ens_thresh = 1.0;
>> > >> > vld_thresh = 1.0;
>> > >> >
>> > >> > field = [
>> > >> >
>> > >> > {
>> > >> > name = "HGT";
>> > >> > level = "P500";
>> > >> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
>> > >> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
>> > >> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
>> > >> > }
>> > >> > ]
>> > >> > }
>> > >> > fcst = ens;
>> > >> > obs = fcst;
>> > >> > ens_ssvar_bin_size = 1000000;
>> > >> > ens_phist_bin_size = 0.05;
>> > >> > climo_mean = fcst;
>> > >> > climo_mean = {
>> > >> > file_name = "${CLIM_MEAN}";
>> > >> > time_interp_method = DW_MEAN;
>> > >> > match_day = TRUE;
>> > >> > time_step = 21600;
>> > >> > }
>> > >> >
>> > >> > climo_stdev = climo_mean;
>> > >> > climo_stdev = {
>> > >> > file_name = "${CLIM_STDV}";
>> > >> > }
>> > >> >
>> > >> > climo_cdf = {
>> > >> > cdf_bins = 11;
>> > >> > center_bins = TRUE;
>> > >> > write_bins = TRUE;
>> > >> > }
>> > >> >
>> > >> > I can not find the correspondent settings in its conf file
from
>> > METplus
>> > >> > online doc.
>> > >> > Can you help me look at this?
>> > >> >
>> > >> > Thanks!
>> > >> >
>> > >> > Binbin
>> > >> >
>> > >> > --
>> > >> >
>> > >> > Binbin Zhou
>> > >> >
>> > >> > IMSG at NOAA/NWS/NCEP/EMC
>> > >> >
>> > >> > 5830 University Research Ct.
>> > >> >
>> > >> > College Park, MD 20740
>> > >> >
>> > >> > Binbin.Zhou at noaa.gov
>> > >> >
>> > >> > 301-683-3683
>> > >> >
>> > >> >
>> > >>
>> > >> --
>> > >> 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.
>> > >>
>> > >>
>> > >
>> > > --
>> > >
>> > > Binbin Zhou
>> > >
>> > > IMSG at NOAA/NWS/NCEP/EMC
>> > >
>> > > 5830 University Research Ct.
>> > >
>> > > College Park, MD 20740
>> > >
>> > > Binbin.Zhou at noaa.gov
>> > >
>> > > 301-683-3683
>> > >
>> >
>> >
>> > --
>> >
>> > Binbin Zhou
>> >
>> > IMSG at NOAA/NWS/NCEP/EMC
>> >
>> > 5830 University Research Ct.
>> >
>> > College Park, MD 20740
>> >
>> > Binbin.Zhou at noaa.gov
>> >
>> > 301-683-3683
>> >
>> >
>>
>> --
>> 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.
>>
>>
>
> --
>
> Binbin Zhou
>
> IMSG at NOAA/NWS/NCEP/EMC
>
> 5830 University Research Ct.
>
> College Park, MD 20740
>
> Binbin.Zhou at noaa.gov
>
> 301-683-3683
>
--
Binbin Zhou
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
College Park, MD 20740
Binbin.Zhou at noaa.gov
301-683-3683
------------------------------------------------
Subject: CDP threshold setting in EnsembleStat conf
From: George McCabe
Time: Tue Jan 05 15:19:21 2021
Hi Binbin,
Your solution should work for now. It looks like although the METplus
variable does get read properly, the environment variable is not
actually
set by the EnsembleStat wrapper. I can make a note to add that for
4.0.0,
as it is an easy fix.
- George
On Tue, Jan 5, 2021 at 2:53 PM Binbin.Zhou at noaa.gov via RT <
met_help at ucar.edu> wrote:
> George,
>
> I have a temporal solution:
> set ploy in EnembleStat config as
> poly = [ "${MASKPATH}/lat_NHM.nc",
> "${MASKPATH}/lat_NHM.nc",
> "${MASKPATH}/lat_TRP.nc" ];
>
> then set MASKPATH in user_env_vars part in the conf file
> This MASKPAH then can be passed to EnsembleStat's poly [ ] entry
>
> Binbin
>
> On Tue, Jan 5, 2021 at 4:25 PM Binbin Zhou - NOAA Affiliate <
> binbin.zhou at noaa.gov> wrote:
>
> > George,
> >
> > Still not working, error says
> > ERROR : replace_env() -> unable to get value for environment
variable
> > "VERIF_MASK"
> >
> > Binbin
> >
> >
> >
> > On Tue, Jan 5, 2021 at 3:50 PM George McCabe via RT
<met_help at ucar.edu>
> > wrote:
> >
> >> Hi Binbin,
> >>
> >> You should be able to set it in the METplus config the same way
it is
> done
> >> for GridStat -- no quotes with commas between each item. The
wrapper
> >> should
> >> format it properly.
> >>
> >> Here is an example from an existing use case:
> >>
> >> GRID_STAT_VERIFICATION_MASK_TEMPLATE =
> >>
{INPUT_BASE}/model_applications/precipitation/mask/CONUS_HRRRTLE.nc,
> >>
{INPUT_BASE}/model_applications/precipitation/mask/EAST_HRRRTLE.nc,
> >>
{INPUT_BASE}/model_applications/precipitation/mask/WEST_HRRRTLE.nc
> >>
> >> You should be able to set them the same way using
> >> ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE. Let me know if that
doesn't
> >> work.
> >>
> >> - George
> >>
> >> On Tue, Jan 5, 2021 at 1:45 PM Binbin.Zhou at noaa.gov via RT <
> >> met_help at ucar.edu> wrote:
> >>
> >> >
> >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116 >
> >> >
> >> > George,
> >> >
> >> > I got another issue for verification mask setting.
> >> >
> >> > I am using $VERIF_MASK in EnsembleStat config f/ile
> >> > mask = {
> >> > grid = [];
> >> > poly = [${VERIF_MASK}];
> >> > sid = [];
> >> > }
> >> >
> >> > And using GRID_STAT_VERIFICATION_MASK_TEMPLATE to define
several
> >> polygon
> >> > nc mask files
> >> > But it seems not working. But it works for Gridstat config in
suich
> >> > setting.
> >> > I can not find ENSEMBLE_STAT_ VERIFICATION_MASK_TEMPLATE in the
> METplus
> >> doc
> >> >
> >> > So I define VERIF_MASK in [user_env_vars] part.
> >> > It values can not be passed to ploy = [${VERIF_MASK}] in the
> >> EnsembleStat
> >> > conf if more than one nc files included.
> >> > For example
> >> > VERIF_MASK=" '/part/p1.cn', '/path/p2.nc' "
> >> > the error says poly = [/path/p1,]
> >> > It seems double quote or single quote can not be passed to
VERIF_MASK
> in
> >> > the EnsembleStat config.
> >> > I tried use back slash \ to before quote, but still not working
> >> >
> >> > Binbin
> >> >
> >> >
> >> > On Tue, Jan 5, 2021 at 10:33 AM Binbin Zhou - NOAA Affiliate <
> >> > binbin.zhou at noaa.gov> wrote:
> >> >
> >> > > George,
> >> > >
> >> > > Thanks for your quick response! I'll test this settings
and let
> >> > > you know the results.
> >> > >
> >> > > Binbin
> >> > >
> >> > > On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT <
> >> met_help at ucar.edu>
> >> > > wrote:
> >> > >
> >> > >> Hi Binbin,
> >> > >>
> >> > >> Happy New Year to you too!
> >> > >>
> >> > >> I will comment on each configuration variable and how to set
it in
> a
> >> > >> METplus config inline:
> >> > >>
> >> > >> ens = {
> >> > >> ens_thresh = 1.0;
> >> > >>
> >> > >>
> >> > >> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH
variable. The
> >> > default
> >> > >> value is 1.0, so you don't need to include it in your config
file,
> >> but
> >> > you
> >> > >> can if you may adjust this value at some point.*
> >> > >>
> >> > >> vld_thresh = 1.0;
> >> > >>
> >> > >> *This value is set to 1.0 by default so we don't need to
worry
> about
> >> it
> >> > >> right now.*
> >> > >>
> >> > >> field = [
> >> > >>
> >> > >> {
> >> > >> name = "HGT";
> >> > >> level = "P500";
> >> > >> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
>CDP20&&<=CDP30,
> >> > >> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
>CDP60&&<=CDP70,
> >> > >> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> >> > >> }
> >> > >> ]
> >> > >> }
> >> > >> fcst = ens;
> >> > >> obs = fcst;
> >> > >>
> >> > >> *1) The field info for ens is set in the
> >> > >> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst
and obs
> >> field
> >> > >> info are set in the corresponding FCST_VAR<n>_* and
OBS_VAR<n>_*
> >> > variables
> >> > >> respectively, or you can use BOTH_VAR<n>_* if the FCST and
OBS
> values
> >> > are
> >> > >> the same.*
> >> > >>
> >> > >> *If ENS_VAR<n>_* variables are not explicitly set, then it
will use
> >> the
> >> > >> values from FCST_VAR<n>_*.*
> >> > >> *Since the fcst, obs, and ens are all the same you could
just use
> >> > >> BOTH_VAR<n>_* variables to control all 3, although keep in
mind
> that
> >> if
> >> > >> you
> >> > >> need to change one of them for any reason, it will be more
> difficult
> >> to
> >> > do
> >> > >> this. If you know that they will always be the same values,
then I
> >> > >> recommend using BOTH_, but if you know they may change or
are
> >> unsure, I
> >> > >> would recommend setting them by referencing the other
variables,
> >> i.e.*
> >> > >>
> >> > >> *FCST_VAR1_NAME = HGT*
> >> > >> *FCST_VAR1_LEVELS = P500 *
> >> > >> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
> >> > >> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
> >> > >>
> >> > >> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the
cat_thresh
> >> values
> >> > >> in
> >> > >> the field info. A variable specific to obs_thresh is not
currently
> >> > >> supported, however you can set these values by using the
> >> > ENS_VAR1_OPTIONS
> >> > >> variable, i.e.*
> >> > >>
> >> > >> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
> >> > >> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50,
>CDP50&&<=CDP60,
> >> > >> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90
];*
> >> > >>
> >> > >>
> >> > >> *Remember to include the semicolon at the end! *
> >> > >>
> >> > >> ens_ssvar_bin_size = 1000000;
> >> > >> *1) This variable is different from the default and not
currently
> >> > >> supported
> >> > >> with a METplus config variable. I will add this to the list
of
> >> variables
> >> > >> in
> >> > >> MET config files that we want to support. However, in the
meantime
> >> you
> >> > can
> >> > >> copy the default wrapped MET config file and modify it to
fit your
> >> > needs.
> >> > >> To do this, you will need to:*
> >> > >>
> >> > >> * a) Copy
METplus/parm/met_config/EnsembleStatConfig_wrapped to
> the
> >> > >> directory that contains your METplus config file for this
use case.
> >> > Rename
> >> > >> it by replacing "wrapped" with a short description that
pertains to
> >> your
> >> > >> use case.*
> >> > >>
> >> > >> * b) In your METplus config file, change the value of
> >> > >> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new
config
> >> file.*
> >> > >>
> >> > >> * c) If you know the value you want to use for this
variable will
> >> > always
> >> > >> be 1000000, then simply set the variable to that value. If
you
> think
> >> you
> >> > >> may want to change the value, then you can utilize the
> >> [user_env_vars]
> >> > >> functionality. See:
> >> > >>
> >> > >>
> >> >
> >>
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> >> > >> <
> >> > >>
> >> >
> >>
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> >> > >> >*
> >> > >> *In this case, you would add the following to your METplus
config:*
> >> > >>
> >> > >> *[user_env_vars]*
> >> > >> *ENS_SSVAR_BIN_SIZE = 1000000*
> >> > >>
> >> > >> *Then change the line in your EnsembleStat config file that
you
> >> copied
> >> > >> to:*
> >> > >>
> >> > >> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
> >> > >>
> >> > >> ens_phist_bin_size = 0.05;
> >> > >> *This variable uses the default value, so you don't need to
do
> >> anything
> >> > >> here. If you need to make it configurable or change the
value, then
> >> > follow
> >> > >> the instructions for setting ens_ssvar_bin_size.*
> >> > >>
> >> > >> climo_mean = fcst;
> >> > >> climo_mean = {
> >> > >> file_name = "${CLIM_MEAN}";
> >> > >> time_interp_method = DW_MEAN;
> >> > >> match_day = TRUE;
> >> > >> time_step = 21600;
> >> > >> }
> >> > >>
> >> > >>
> >> > >> *Instead of using CLIM_MEAN, you can set
> >> > >> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the METplus
> config.
> >> You
> >> > >> can use filename template syntax in the _TEMPLATE value,
i.e.
> >> > >> {valid?fmt=%m%d}. The other variables in the climo_mean
dictionary
> >> are
> >> > >> actually old variables that have been replaced with
day_interval
> and
> >> > >> hour_interval, but the values you use are the old defaults,
so you
> >> > >> shouldn't need to set them.*
> >> > >>
> >> > >> climo_stdev = climo_mean;
> >> > >> climo_stdev = {
> >> > >> file_name = "${CLIM_STDV}";
> >> > >> }
> >> > >>
> >> > >> *Similarly to CLIM_MEAN, you can use
> >> > >> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this
file
> >> name.*
> >> > >>
> >> > >> climo_cdf = {
> >> > >> cdf_bins = 11;
> >> > >> center_bins = TRUE;
> >> > >> write_bins = TRUE;
> >> > >> }
> >> > >> *The value for write_bins is the default, but the values for
> cdf_bins
> >> > and
> >> > >> center_bins do not. To set these, follow the above
instructions for
> >> > >> ens_ssvar_bin_size to override them and/or make them
configurable
> >> > through
> >> > >> METplus. I will also add these variables to the list of MET
configs
> >> that
> >> > >> users want to be able to easily configure through METplus
configs.*
> >> > >>
> >> > >> Please let me know if you run into any issues setting any of
that
> up.
> >> > >> Also,
> >> > >> if there are any other MET config variables that you want to
see
> >> > supported
> >> > >> in METplus, let me know and I will make sure they get
included when
> >> we
> >> > >> have
> >> > >> a chance to refactor those wrappers. It is possible to add
support
> >> for
> >> > MET
> >> > >> configs using the above instructions, but it is always
easier and
> >> less
> >> > >> error-prone to have them configurable directly through a
variable
> in
> >> the
> >> > >> METplus config.
> >> > >>
> >> > >> Thanks,
> >> > >> George
> >> > >>
> >> > >> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT <
> >> > >> met_help at ucar.edu> wrote:
> >> > >>
> >> > >> >
> >> > >> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
> >> > >> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
> >> > >> > Queue: met_help
> >> > >> > Subject: CDP threshold setting in EnsembleStat conf
> >> > >> > Owner: Nobody
> >> > >> > Requestors: Binbin.Zhou at noaa.gov
> >> > >> > Status: new
> >> > >> > Ticket <URL:
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116
> >> > >
> >> > >> >
> >> > >> >
> >> > >> > George,
> >> > >> >
> >> > >> > Happy New Year!
> >> > >> >
> >> > >> > I am working on transition of our MET-based global
ensemble
> >> > >> verification
> >> > >> > to METplus based package. In this package climatology bins
(10
> >> bins)
> >> > are
> >> > >> > used.
> >> > >> > In current ensemble stat config file, the relevant entries
iare
> >> > defined
> >> > >> > like following
> >> > >> >
> >> > >> > ens = {
> >> > >> > ens_thresh = 1.0;
> >> > >> > vld_thresh = 1.0;
> >> > >> >
> >> > >> > field = [
> >> > >> >
> >> > >> > {
> >> > >> > name = "HGT";
> >> > >> > level = "P500";
> >> > >> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
> >CDP20&&<=CDP30,
> >> > >> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
> >CDP60&&<=CDP70,
> >> > >> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> >> > >> > }
> >> > >> > ]
> >> > >> > }
> >> > >> > fcst = ens;
> >> > >> > obs = fcst;
> >> > >> > ens_ssvar_bin_size = 1000000;
> >> > >> > ens_phist_bin_size = 0.05;
> >> > >> > climo_mean = fcst;
> >> > >> > climo_mean = {
> >> > >> > file_name = "${CLIM_MEAN}";
> >> > >> > time_interp_method = DW_MEAN;
> >> > >> > match_day = TRUE;
> >> > >> > time_step = 21600;
> >> > >> > }
> >> > >> >
> >> > >> > climo_stdev = climo_mean;
> >> > >> > climo_stdev = {
> >> > >> > file_name = "${CLIM_STDV}";
> >> > >> > }
> >> > >> >
> >> > >> > climo_cdf = {
> >> > >> > cdf_bins = 11;
> >> > >> > center_bins = TRUE;
> >> > >> > write_bins = TRUE;
> >> > >> > }
> >> > >> >
> >> > >> > I can not find the correspondent settings in its conf file
from
> >> > METplus
> >> > >> > online doc.
> >> > >> > Can you help me look at this?
> >> > >> >
> >> > >> > Thanks!
> >> > >> >
> >> > >> > Binbin
> >> > >> >
> >> > >> > --
> >> > >> >
> >> > >> > Binbin Zhou
> >> > >> >
> >> > >> > IMSG at NOAA/NWS/NCEP/EMC
> >> > >> >
> >> > >> > 5830 University Research Ct.
> >> > >> >
> >> > >> > College Park, MD 20740
> >> > >> >
> >> > >> > Binbin.Zhou at noaa.gov
> >> > >> >
> >> > >> > 301-683-3683
> >> > >> >
> >> > >> >
> >> > >>
> >> > >> --
> >> > >> 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.
> >> > >>
> >> > >>
> >> > >
> >> > > --
> >> > >
> >> > > Binbin Zhou
> >> > >
> >> > > IMSG at NOAA/NWS/NCEP/EMC
> >> > >
> >> > > 5830 University Research Ct.
> >> > >
> >> > > College Park, MD 20740
> >> > >
> >> > > Binbin.Zhou at noaa.gov
> >> > >
> >> > > 301-683-3683
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Binbin Zhou
> >> >
> >> > IMSG at NOAA/NWS/NCEP/EMC
> >> >
> >> > 5830 University Research Ct.
> >> >
> >> > College Park, MD 20740
> >> >
> >> > Binbin.Zhou at noaa.gov
> >> >
> >> > 301-683-3683
> >> >
> >> >
> >>
> >> --
> >> 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.
> >>
> >>
> >
> > --
> >
> > Binbin Zhou
> >
> > IMSG at NOAA/NWS/NCEP/EMC
> >
> > 5830 University Research Ct.
> >
> > College Park, MD 20740
> >
> > Binbin.Zhou at noaa.gov
> >
> > 301-683-3683
> >
>
>
> --
>
> Binbin Zhou
>
> IMSG at NOAA/NWS/NCEP/EMC
>
> 5830 University Research Ct.
>
> College Park, MD 20740
>
> Binbin.Zhou at noaa.gov
>
> 301-683-3683
>
>
--
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: CDP threshold setting in EnsembleStat conf
From: Binbin.Zhou at noaa.gov
Time: Tue Jan 05 15:59:40 2021
George,
Thanks!
Binbin
On Tue, Jan 5, 2021 at 5:19 PM George McCabe via RT
<met_help at ucar.edu>
wrote:
> Hi Binbin,
>
> Your solution should work for now. It looks like although the
METplus
> variable does get read properly, the environment variable is not
actually
> set by the EnsembleStat wrapper. I can make a note to add that for
4.0.0,
> as it is an easy fix.
>
> - George
>
> On Tue, Jan 5, 2021 at 2:53 PM Binbin.Zhou at noaa.gov via RT <
> met_help at ucar.edu> wrote:
>
> > George,
> >
> > I have a temporal solution:
> > set ploy in EnembleStat config as
> > poly = [ "${MASKPATH}/lat_NHM.nc",
> > "${MASKPATH}/lat_NHM.nc",
> > "${MASKPATH}/lat_TRP.nc" ];
> >
> > then set MASKPATH in user_env_vars part in the conf file
> > This MASKPAH then can be passed to EnsembleStat's poly [ ] entry
> >
> > Binbin
> >
> > On Tue, Jan 5, 2021 at 4:25 PM Binbin Zhou - NOAA Affiliate <
> > binbin.zhou at noaa.gov> wrote:
> >
> > > George,
> > >
> > > Still not working, error says
> > > ERROR : replace_env() -> unable to get value for environment
variable
> > > "VERIF_MASK"
> > >
> > > Binbin
> > >
> > >
> > >
> > > On Tue, Jan 5, 2021 at 3:50 PM George McCabe via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > >> Hi Binbin,
> > >>
> > >> You should be able to set it in the METplus config the same way
it is
> > done
> > >> for GridStat -- no quotes with commas between each item. The
wrapper
> > >> should
> > >> format it properly.
> > >>
> > >> Here is an example from an existing use case:
> > >>
> > >> GRID_STAT_VERIFICATION_MASK_TEMPLATE =
> > >>
{INPUT_BASE}/model_applications/precipitation/mask/CONUS_HRRRTLE.nc,
> > >>
{INPUT_BASE}/model_applications/precipitation/mask/EAST_HRRRTLE.nc,
> > >>
{INPUT_BASE}/model_applications/precipitation/mask/WEST_HRRRTLE.nc
> > >>
> > >> You should be able to set them the same way using
> > >> ENSEMBLE_STAT_VERIFICATION_MASK_TEMPLATE. Let me know if that
doesn't
> > >> work.
> > >>
> > >> - George
> > >>
> > >> On Tue, Jan 5, 2021 at 1:45 PM Binbin.Zhou at noaa.gov via RT <
> > >> met_help at ucar.edu> wrote:
> > >>
> > >> >
> > >> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116
>
> > >> >
> > >> > George,
> > >> >
> > >> > I got another issue for verification mask setting.
> > >> >
> > >> > I am using $VERIF_MASK in EnsembleStat config f/ile
> > >> > mask = {
> > >> > grid = [];
> > >> > poly = [${VERIF_MASK}];
> > >> > sid = [];
> > >> > }
> > >> >
> > >> > And using GRID_STAT_VERIFICATION_MASK_TEMPLATE to define
several
> > >> polygon
> > >> > nc mask files
> > >> > But it seems not working. But it works for Gridstat config in
suich
> > >> > setting.
> > >> > I can not find ENSEMBLE_STAT_ VERIFICATION_MASK_TEMPLATE in
the
> > METplus
> > >> doc
> > >> >
> > >> > So I define VERIF_MASK in [user_env_vars] part.
> > >> > It values can not be passed to ploy = [${VERIF_MASK}] in the
> > >> EnsembleStat
> > >> > conf if more than one nc files included.
> > >> > For example
> > >> > VERIF_MASK=" '/part/p1.cn', '/path/p2.nc' "
> > >> > the error says poly = [/path/p1,]
> > >> > It seems double quote or single quote can not be passed to
> VERIF_MASK
> > in
> > >> > the EnsembleStat config.
> > >> > I tried use back slash \ to before quote, but still not
working
> > >> >
> > >> > Binbin
> > >> >
> > >> >
> > >> > On Tue, Jan 5, 2021 at 10:33 AM Binbin Zhou - NOAA Affiliate
<
> > >> > binbin.zhou at noaa.gov> wrote:
> > >> >
> > >> > > George,
> > >> > >
> > >> > > Thanks for your quick response! I'll test this settings
and let
> > >> > > you know the results.
> > >> > >
> > >> > > Binbin
> > >> > >
> > >> > > On Tue, Jan 5, 2021 at 10:17 AM George McCabe via RT <
> > >> met_help at ucar.edu>
> > >> > > wrote:
> > >> > >
> > >> > >> Hi Binbin,
> > >> > >>
> > >> > >> Happy New Year to you too!
> > >> > >>
> > >> > >> I will comment on each configuration variable and how to
set it
> in
> > a
> > >> > >> METplus config inline:
> > >> > >>
> > >> > >> ens = {
> > >> > >> ens_thresh = 1.0;
> > >> > >>
> > >> > >>
> > >> > >> *This is controlled by the ENSEMBLE_STAT_ENS_THRESH
variable. The
> > >> > default
> > >> > >> value is 1.0, so you don't need to include it in your
config
> file,
> > >> but
> > >> > you
> > >> > >> can if you may adjust this value at some point.*
> > >> > >>
> > >> > >> vld_thresh = 1.0;
> > >> > >>
> > >> > >> *This value is set to 1.0 by default so we don't need to
worry
> > about
> > >> it
> > >> > >> right now.*
> > >> > >>
> > >> > >> field = [
> > >> > >>
> > >> > >> {
> > >> > >> name = "HGT";
> > >> > >> level = "P500";
> > >> > >> obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
> >CDP20&&<=CDP30,
> > >> > >> >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
> >CDP60&&<=CDP70,
> > >> > >> >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> > >> > >> }
> > >> > >> ]
> > >> > >> }
> > >> > >> fcst = ens;
> > >> > >> obs = fcst;
> > >> > >>
> > >> > >> *1) The field info for ens is set in the
> > >> > >> ENS_VAR<n>_[NAME/LEVEL/THRESH/OPTIONS] variables. The fcst
and
> obs
> > >> field
> > >> > >> info are set in the corresponding FCST_VAR<n>_* and
OBS_VAR<n>_*
> > >> > variables
> > >> > >> respectively, or you can use BOTH_VAR<n>_* if the FCST and
OBS
> > values
> > >> > are
> > >> > >> the same.*
> > >> > >>
> > >> > >> *If ENS_VAR<n>_* variables are not explicitly set, then it
will
> use
> > >> the
> > >> > >> values from FCST_VAR<n>_*.*
> > >> > >> *Since the fcst, obs, and ens are all the same you could
just use
> > >> > >> BOTH_VAR<n>_* variables to control all 3, although keep in
mind
> > that
> > >> if
> > >> > >> you
> > >> > >> need to change one of them for any reason, it will be more
> > difficult
> > >> to
> > >> > do
> > >> > >> this. If you know that they will always be the same
values, then
> I
> > >> > >> recommend using BOTH_, but if you know they may change or
are
> > >> unsure, I
> > >> > >> would recommend setting them by referencing the other
variables,
> > >> i.e.*
> > >> > >>
> > >> > >> *FCST_VAR1_NAME = HGT*
> > >> > >> *FCST_VAR1_LEVELS = P500 *
> > >> > >> *OBS_VAR1_NAME = {FCST_VAR1_NAME}*
> > >> > >> *OBS_VAR1_LEVELS = {FCST_VAR1_LEVELS}*
> > >> > >>
> > >> > >> *2) The [FCST/OBS/ENS]_VAR<n>_THRESH variables set the
cat_thresh
> > >> values
> > >> > >> in
> > >> > >> the field info. A variable specific to obs_thresh is not
> currently
> > >> > >> supported, however you can set these values by using the
> > >> > ENS_VAR1_OPTIONS
> > >> > >> variable, i.e.*
> > >> > >>
> > >> > >> *ENS_VAR1_OPTIONS = obs_thresh = [ <=CDP10,
>CDP10&&<=CDP20,
> > >> > >> >CDP20&&<=CDP30, >CDP30&&<=CDP40, >CDP40&&<=CDP50,
> >CDP50&&<=CDP60,
> > >> > >> >CDP60&&<=CDP70, >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90
];*
> > >> > >>
> > >> > >>
> > >> > >> *Remember to include the semicolon at the end! *
> > >> > >>
> > >> > >> ens_ssvar_bin_size = 1000000;
> > >> > >> *1) This variable is different from the default and not
currently
> > >> > >> supported
> > >> > >> with a METplus config variable. I will add this to the
list of
> > >> variables
> > >> > >> in
> > >> > >> MET config files that we want to support. However, in the
> meantime
> > >> you
> > >> > can
> > >> > >> copy the default wrapped MET config file and modify it to
fit
> your
> > >> > needs.
> > >> > >> To do this, you will need to:*
> > >> > >>
> > >> > >> * a) Copy
METplus/parm/met_config/EnsembleStatConfig_wrapped to
> > the
> > >> > >> directory that contains your METplus config file for this
use
> case.
> > >> > Rename
> > >> > >> it by replacing "wrapped" with a short description that
pertains
> to
> > >> your
> > >> > >> use case.*
> > >> > >>
> > >> > >> * b) In your METplus config file, change the value of
> > >> > >> ENSEMBLE_STAT_CONFIG_FILE to point to the path of this new
config
> > >> file.*
> > >> > >>
> > >> > >> * c) If you know the value you want to use for this
variable
> will
> > >> > always
> > >> > >> be 1000000, then simply set the variable to that value. If
you
> > think
> > >> you
> > >> > >> may want to change the value, then you can utilize the
> > >> [user_env_vars]
> > >> > >> functionality. See:
> > >> > >>
> > >> > >>
> > >> >
> > >>
> >
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> > >> > >> <
> > >> > >>
> > >> >
> > >>
> >
>
https://dtcenter.github.io/METplus/latest/Users_Guide/systemconfiguration.html#user-
defined-config
> > >> > >> >*
> > >> > >> *In this case, you would add the following to your METplus
> config:*
> > >> > >>
> > >> > >> *[user_env_vars]*
> > >> > >> *ENS_SSVAR_BIN_SIZE = 1000000*
> > >> > >>
> > >> > >> *Then change the line in your EnsembleStat config file
that you
> > >> copied
> > >> > >> to:*
> > >> > >>
> > >> > >> * ens_ssvar_bin_size = ${ENS_SSVAR_BIN_SIZE}; *
> > >> > >>
> > >> > >> ens_phist_bin_size = 0.05;
> > >> > >> *This variable uses the default value, so you don't need
to do
> > >> anything
> > >> > >> here. If you need to make it configurable or change the
value,
> then
> > >> > follow
> > >> > >> the instructions for setting ens_ssvar_bin_size.*
> > >> > >>
> > >> > >> climo_mean = fcst;
> > >> > >> climo_mean = {
> > >> > >> file_name = "${CLIM_MEAN}";
> > >> > >> time_interp_method = DW_MEAN;
> > >> > >> match_day = TRUE;
> > >> > >> time_step = 21600;
> > >> > >> }
> > >> > >>
> > >> > >>
> > >> > >> *Instead of using CLIM_MEAN, you can set
> > >> > >> ENSEMBLE_STAT_CLIMO_MEAN_INPUT_[DIR/TEMPLATE] in the
METplus
> > config.
> > >> You
> > >> > >> can use filename template syntax in the _TEMPLATE value,
i.e.
> > >> > >> {valid?fmt=%m%d}. The other variables in the climo_mean
> dictionary
> > >> are
> > >> > >> actually old variables that have been replaced with
day_interval
> > and
> > >> > >> hour_interval, but the values you use are the old
defaults, so
> you
> > >> > >> shouldn't need to set them.*
> > >> > >>
> > >> > >> climo_stdev = climo_mean;
> > >> > >> climo_stdev = {
> > >> > >> file_name = "${CLIM_STDV}";
> > >> > >> }
> > >> > >>
> > >> > >> *Similarly to CLIM_MEAN, you can use
> > >> > >> ENSEMBLE_STAT_CLIMO_STDEV_INPUT_[DIR/TEMPLATE] to set this
file
> > >> name.*
> > >> > >>
> > >> > >> climo_cdf = {
> > >> > >> cdf_bins = 11;
> > >> > >> center_bins = TRUE;
> > >> > >> write_bins = TRUE;
> > >> > >> }
> > >> > >> *The value for write_bins is the default, but the values
for
> > cdf_bins
> > >> > and
> > >> > >> center_bins do not. To set these, follow the above
instructions
> for
> > >> > >> ens_ssvar_bin_size to override them and/or make them
configurable
> > >> > through
> > >> > >> METplus. I will also add these variables to the list of
MET
> configs
> > >> that
> > >> > >> users want to be able to easily configure through METplus
> configs.*
> > >> > >>
> > >> > >> Please let me know if you run into any issues setting any
of that
> > up.
> > >> > >> Also,
> > >> > >> if there are any other MET config variables that you want
to see
> > >> > supported
> > >> > >> in METplus, let me know and I will make sure they get
included
> when
> > >> we
> > >> > >> have
> > >> > >> a chance to refactor those wrappers. It is possible to add
> support
> > >> for
> > >> > MET
> > >> > >> configs using the above instructions, but it is always
easier and
> > >> less
> > >> > >> error-prone to have them configurable directly through a
variable
> > in
> > >> the
> > >> > >> METplus config.
> > >> > >>
> > >> > >> Thanks,
> > >> > >> George
> > >> > >>
> > >> > >> On Tue, Jan 5, 2021 at 7:14 AM Binbin.Zhou at noaa.gov via RT
<
> > >> > >> met_help at ucar.edu> wrote:
> > >> > >>
> > >> > >> >
> > >> > >> > Tue Jan 05 07:14:54 2021: Request 98116 was acted upon.
> > >> > >> > Transaction: Ticket created by Binbin.Zhou at noaa.gov
> > >> > >> > Queue: met_help
> > >> > >> > Subject: CDP threshold setting in EnsembleStat conf
> > >> > >> > Owner: Nobody
> > >> > >> > Requestors: Binbin.Zhou at noaa.gov
> > >> > >> > Status: new
> > >> > >> > Ticket <URL:
> > >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=98116
> > >> > >
> > >> > >> >
> > >> > >> >
> > >> > >> > George,
> > >> > >> >
> > >> > >> > Happy New Year!
> > >> > >> >
> > >> > >> > I am working on transition of our MET-based global
ensemble
> > >> > >> verification
> > >> > >> > to METplus based package. In this package climatology
bins (10
> > >> bins)
> > >> > are
> > >> > >> > used.
> > >> > >> > In current ensemble stat config file, the relevant
entries iare
> > >> > defined
> > >> > >> > like following
> > >> > >> >
> > >> > >> > ens = {
> > >> > >> > ens_thresh = 1.0;
> > >> > >> > vld_thresh = 1.0;
> > >> > >> >
> > >> > >> > field = [
> > >> > >> >
> > >> > >> > {
> > >> > >> > name = "HGT";
> > >> > >> > level = "P500";
> > >> > >> > obs_thresh = [ <=CDP10, >CDP10&&<=CDP20,
> > >CDP20&&<=CDP30,
> > >> > >> > >CDP30&&<=CDP40, >CDP40&&<=CDP50, >CDP50&&<=CDP60,
> > >CDP60&&<=CDP70,
> > >> > >> > >CDP70&&<=CDP80, >CDP80&&<=CDP90, >CDP90 ];
> > >> > >> > }
> > >> > >> > ]
> > >> > >> > }
> > >> > >> > fcst = ens;
> > >> > >> > obs = fcst;
> > >> > >> > ens_ssvar_bin_size = 1000000;
> > >> > >> > ens_phist_bin_size = 0.05;
> > >> > >> > climo_mean = fcst;
> > >> > >> > climo_mean = {
> > >> > >> > file_name = "${CLIM_MEAN}";
> > >> > >> > time_interp_method = DW_MEAN;
> > >> > >> > match_day = TRUE;
> > >> > >> > time_step = 21600;
> > >> > >> > }
> > >> > >> >
> > >> > >> > climo_stdev = climo_mean;
> > >> > >> > climo_stdev = {
> > >> > >> > file_name = "${CLIM_STDV}";
> > >> > >> > }
> > >> > >> >
> > >> > >> > climo_cdf = {
> > >> > >> > cdf_bins = 11;
> > >> > >> > center_bins = TRUE;
> > >> > >> > write_bins = TRUE;
> > >> > >> > }
> > >> > >> >
> > >> > >> > I can not find the correspondent settings in its conf
file from
> > >> > METplus
> > >> > >> > online doc.
> > >> > >> > Can you help me look at this?
> > >> > >> >
> > >> > >> > Thanks!
> > >> > >> >
> > >> > >> > Binbin
> > >> > >> >
> > >> > >> > --
> > >> > >> >
> > >> > >> > Binbin Zhou
> > >> > >> >
> > >> > >> > IMSG at NOAA/NWS/NCEP/EMC
> > >> > >> >
> > >> > >> > 5830 University Research Ct.
> > >> > >> >
> > >> > >> > College Park, MD 20740
> > >> > >> >
> > >> > >> > Binbin.Zhou at noaa.gov
> > >> > >> >
> > >> > >> > 301-683-3683
> > >> > >> >
> > >> > >> >
> > >> > >>
> > >> > >> --
> > >> > >> 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.
> > >> > >>
> > >> > >>
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Binbin Zhou
> > >> > >
> > >> > > IMSG at NOAA/NWS/NCEP/EMC
> > >> > >
> > >> > > 5830 University Research Ct.
> > >> > >
> > >> > > College Park, MD 20740
> > >> > >
> > >> > > Binbin.Zhou at noaa.gov
> > >> > >
> > >> > > 301-683-3683
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> >
> > >> > Binbin Zhou
> > >> >
> > >> > IMSG at NOAA/NWS/NCEP/EMC
> > >> >
> > >> > 5830 University Research Ct.
> > >> >
> > >> > College Park, MD 20740
> > >> >
> > >> > Binbin.Zhou at noaa.gov
> > >> >
> > >> > 301-683-3683
> > >> >
> > >> >
> > >>
> > >> --
> > >> 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.
> > >>
> > >>
> > >
> > > --
> > >
> > > Binbin Zhou
> > >
> > > IMSG at NOAA/NWS/NCEP/EMC
> > >
> > > 5830 University Research Ct.
> > >
> > > College Park, MD 20740
> > >
> > > Binbin.Zhou at noaa.gov
> > >
> > > 301-683-3683
> > >
> >
> >
> > --
> >
> > Binbin Zhou
> >
> > IMSG at NOAA/NWS/NCEP/EMC
> >
> > 5830 University Research Ct.
> >
> > College Park, MD 20740
> >
> > Binbin.Zhou at noaa.gov
> >
> > 301-683-3683
> >
> >
>
> --
> 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.
>
>
--
Binbin Zhou
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct.
College Park, MD 20740
Binbin.Zhou at noaa.gov
301-683-3683
------------------------------------------------
More information about the Met_help
mailing list