[Met_help] [rt.rap.ucar.edu #99773] History for grid_stat output flags

George McCabe via RT met_help at ucar.edu
Wed May 12 07:38:02 MDT 2021


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

Hi,

I'm trying to run grid_stat on some ocean data.  I'm using 
metplus/4.0.0-beta3 and met/10.0.0-beta3 on Hera.  My question is that 
the default grid_stat wrapped config file specifies a few output_flags, 
and I'd like to change them without having to copy the default 
/contrib/METplus/METplus-4.0.0-beta3/parm/met_config/GridStatConfig_wrapped 
and making changes in my local copy.

My understanding is that I need to use a config_override command.  I 

tried this one:

GRID_STAT_MET_CONFIG_OVERRIDES = output_flag = {ctc = NONE; cts = 
NONE; 
cnt = BOTH; grad = NONE;}

It was places at the end of the [config] section, just before [dir].  

But when I ran it I still got the default output stat and txt files, not 
the files I've asked for.

On Hera, my metplus config is here:

/scratch2/NCEPDEV/marine/Todd.Spindler/save/MET/RTOFS_GRID/Test1/GridStat.conf

My command to run this is like this:

environment initialized with

 > source TutorialSetup.linux-csh.sh

 > master_metplus.py -c ${METPLUS_TUTORIAL_DIR}/tutorial.conf -c 
./GridStat.conf

and the output from the latest run is (I've redirected the stats/text 
files to output/stats/GridStat):

/scratch2/NCEPDEV/marine/Todd.Spindler/save/MET/RTOFS_GRID/Test1/output

There aren't any errors in the run, but I'm not getting the stats I 
want.  Can you tell me what I'm doing wrong?

-- 
Dr. Todd Spindler
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct., #2118
College Park, MD 20740
Todd.Spindler at noaa.gov
301-683-3757





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

Subject: grid_stat output flags
From: John Halley Gotway
Time: Mon May 03 16:33:39 2021

Hi Todd,

I see you have a question about overriding the output_flag settings
for
Grid-Stat. I do know that George McCabe recently made some change to
support this, but I don't know exactly what functionality is in which
beta
version. So I'm going to assign this ticket to George and ask him to
help
you with this.

Thanks,
John

On Mon, May 3, 2021 at 10:48 AM Todd Spindler via RT
<met_help at ucar.edu>
wrote:

>
> Mon May 03 10:38:54 2021: Request 99773 was acted upon.
> Transaction: Ticket created by todd.spindler at noaa.gov
>        Queue: met_help
>      Subject: grid_stat output flags
>        Owner: Nobody
>   Requestors: todd.spindler at noaa.gov
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99773 >
>
>
> Hi,
>
> I'm trying to run grid_stat on some ocean data.  I'm using
> metplus/4.0.0-beta3 and met/10.0.0-beta3 on Hera.  My question is
that
> the default grid_stat wrapped config file specifies a few
output_flags,
> and I'd like to change them without having to copy the default
> /contrib/METplus/METplus-4.0.0-
beta3/parm/met_config/GridStatConfig_wrapped
>
> and making changes in my local copy.
>
> My understanding is that I need to use a config_override command.  I
>
> tried this one:
>
> GRID_STAT_MET_CONFIG_OVERRIDES = output_flag = {ctc = NONE; cts =
> NONE;
> cnt = BOTH; grad = NONE;}
>
> It was places at the end of the [config] section, just before [dir].
>
> But when I ran it I still got the default output stat and txt files,
not
> the files I've asked for.
>
> On Hera, my metplus config is here:
>
>
>
/scratch2/NCEPDEV/marine/Todd.Spindler/save/MET/RTOFS_GRID/Test1/GridStat.conf
>
> My command to run this is like this:
>
> environment initialized with
>
>  > source TutorialSetup.linux-csh.sh
>
>  > master_metplus.py -c ${METPLUS_TUTORIAL_DIR}/tutorial.conf -c
> ./GridStat.conf
>
> and the output from the latest run is (I've redirected the
stats/text
> files to output/stats/GridStat):
>
>
/scratch2/NCEPDEV/marine/Todd.Spindler/save/MET/RTOFS_GRID/Test1/output
>
> There aren't any errors in the run, but I'm not getting the stats I
> want.  Can you tell me what I'm doing wrong?
>
> --
> Dr. Todd Spindler
> IMSG at NOAA/NWS/NCEP/EMC
> 5830 University Research Ct., #2118
> College Park, MD 20740
> Todd.Spindler at noaa.gov
> 301-683-3757
>
>
>
>
>

------------------------------------------------
Subject: grid_stat output flags
From: George McCabe
Time: Mon May 03 16:56:32 2021

Hi Todd,

You are setting the GRID_STAT_MET_CONFIG_OVERRIDES variable in the
correct
way. Unfortunately 4.0.0-beta3 does not include this functionality. It
was
added in beta4. METplus 4.0.0-beta5 was just released today and
supports
new METplus config variables to set all of the GridStat output_flag
values,
so you will not need to use the MET_CONFIG_OVERRIDES functionality to
set
them. While implementing these changes, I discovered that a few of the
default values in the wrapped GridStatConfig file were different from
the
MET defaults (in share/met/config). The default for every output_flag
is
NONE, so you will only need to set the variables in the METplus config
if
you need to set them to something other than NONE.

For your case you will need to set:

GRID_STAT_OUTPUT_FLAG_CNT = BOTH


ctc, cts, and grad now default to NONE. eclv was previously set to
BOTH in
the wrapped config, so if you need that output_flag set as well, you
will
need to add:


GRID_STAT_OUTPUT_FLAG_ECLV = BOTH


A full list of the METplus config variables that can be set to
override
values in the GridStat config file can be found at the bottom of this
section:

https://metplus.readthedocs.io/en/v4.0.0-
beta5/Users_Guide/wrappers.html#grid-stat-met-conf

I believe METplus 4.0.0-beta5 will be installed on Hera, but I am
waiting
to hear back for confirmation. I will let you know if it will be
available
so you can test your use case using the new version.

Thanks,
George

On Mon, May 3, 2021 at 4:34 PM John Halley Gotway via RT
<met_help at ucar.edu>
wrote:

>
> Mon May 03 16:34:08 2021: Request 99773 was acted upon.
> Transaction: Given to mccabe (George McCabe) by johnhg
>        Queue: met_help
>      Subject: grid_stat output flags
>        Owner: mccabe
>   Requestors: todd.spindler at noaa.gov
>       Status: open
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99773 >
>
>
> This transaction appears to have no content
>


--
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: grid_stat output flags
From: George McCabe
Time: Mon May 03 18:15:52 2021

Hi Todd,

METplus 4.0.0 beta5 and MET 10.0.0 beta5 are now installed on Hera.
The
following web page has been updated with setup instructions:

https://dtcenter.org/community-code/metplus/metplus-4-0-existing-
builds
(Under NOAA machines > HERA)

Please let me know if you have any issues using the new version.

Thanks,
George

On Mon, May 3, 2021 at 4:56 PM George McCabe <mccabe at ucar.edu> wrote:

> Hi Todd,
>
> You are setting the GRID_STAT_MET_CONFIG_OVERRIDES variable in the
correct
> way. Unfortunately 4.0.0-beta3 does not include this functionality.
It was
> added in beta4. METplus 4.0.0-beta5 was just released today and
supports
> new METplus config variables to set all of the GridStat output_flag
values,
> so you will not need to use the MET_CONFIG_OVERRIDES functionality
to set
> them. While implementing these changes, I discovered that a few of
the
> default values in the wrapped GridStatConfig file were different
from the
> MET defaults (in share/met/config). The default for every
output_flag is
> NONE, so you will only need to set the variables in the METplus
config if
> you need to set them to something other than NONE.
>
> For your case you will need to set:
>
> GRID_STAT_OUTPUT_FLAG_CNT = BOTH
>
>
> ctc, cts, and grad now default to NONE. eclv was previously set to
BOTH in
> the wrapped config, so if you need that output_flag set as well, you
will
> need to add:
>
>
> GRID_STAT_OUTPUT_FLAG_ECLV = BOTH
>
>
> A full list of the METplus config variables that can be set to
override
> values in the GridStat config file can be found at the bottom of
this
> section:
>
>
> https://metplus.readthedocs.io/en/v4.0.0-
beta5/Users_Guide/wrappers.html#grid-stat-met-conf
>
> I believe METplus 4.0.0-beta5 will be installed on Hera, but I am
waiting
> to hear back for confirmation. I will let you know if it will be
available
> so you can test your use case using the new version.
>
> Thanks,
> George
>
> On Mon, May 3, 2021 at 4:34 PM John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
>>
>> Mon May 03 16:34:08 2021: Request 99773 was acted upon.
>> Transaction: Given to mccabe (George McCabe) by johnhg
>>        Queue: met_help
>>      Subject: grid_stat output flags
>>        Owner: mccabe
>>   Requestors: todd.spindler at noaa.gov
>>       Status: open
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99773 >
>>
>>
>> This transaction appears to have no content
>>
>
>
> --
> 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: grid_stat output flags
From: George McCabe
Time: Wed May 12 07:27:49 2021

Hi Todd,

I'm just following up to let you know that METplus 4.0.0 and MET
10.0.0 are now available on Hera.

- George

On Mon May 03 18:15:52 2021, mccabe wrote:
> Hi Todd,
>
> METplus 4.0.0 beta5 and MET 10.0.0 beta5 are now installed on Hera.
> The
> following web page has been updated with setup instructions:
>
> https://dtcenter.org/community-code/metplus/metplus-4-0-existing-
> builds
> (Under NOAA machines > HERA)
>
> Please let me know if you have any issues using the new version.
>
> Thanks,
> George
>
> On Mon, May 3, 2021 at 4:56 PM George McCabe <mccabe at ucar.edu>
wrote:
>
> > Hi Todd,
> >
> > You are setting the GRID_STAT_MET_CONFIG_OVERRIDES variable in the
> > correct
> > way. Unfortunately 4.0.0-beta3 does not include this
functionality.
> > It was
> > added in beta4. METplus 4.0.0-beta5 was just released today and
> > supports
> > new METplus config variables to set all of the GridStat
output_flag
> > values,
> > so you will not need to use the MET_CONFIG_OVERRIDES functionality
to
> > set
> > them. While implementing these changes, I discovered that a few of
> > the
> > default values in the wrapped GridStatConfig file were different
from
> > the
> > MET defaults (in share/met/config). The default for every
output_flag
> > is
> > NONE, so you will only need to set the variables in the METplus
> > config if
> > you need to set them to something other than NONE.
> >
> > For your case you will need to set:
> >
> > GRID_STAT_OUTPUT_FLAG_CNT = BOTH
> >
> >
> > ctc, cts, and grad now default to NONE. eclv was previously set to
> > BOTH in
> > the wrapped config, so if you need that output_flag set as well,
you
> > will
> > need to add:
> >
> >
> > GRID_STAT_OUTPUT_FLAG_ECLV = BOTH
> >
> >
> > A full list of the METplus config variables that can be set to
> > override
> > values in the GridStat config file can be found at the bottom of
this
> > section:
> >
> >
> > https://metplus.readthedocs.io/en/v4.0.0-
> > beta5/Users_Guide/wrappers.html#grid-stat-met-conf
> >
> > I believe METplus 4.0.0-beta5 will be installed on Hera, but I am
> > waiting
> > to hear back for confirmation. I will let you know if it will be
> > available
> > so you can test your use case using the new version.
> >
> > Thanks,
> > George
> >
> > On Mon, May 3, 2021 at 4:34 PM John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> >>
> >> Mon May 03 16:34:08 2021: Request 99773 was acted upon.
> >> Transaction: Given to mccabe (George McCabe) by johnhg
> >>        Queue: met_help
> >>      Subject: grid_stat output flags
> >>        Owner: mccabe
> >>   Requestors: todd.spindler at noaa.gov
> >>       Status: open
> >>  Ticket <URL:
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99773 >
> >>
> >>
> >> This transaction appears to have no content
> >>
> >
> >
> > --
> > 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: Re: [rt.rap.ucar.edu #99773] grid_stat output flags
From: Todd Spindler
Time: Wed May 12 07:30:03 2021

Thanks, George.  Good to know.

--
Dr. Todd Spindler
IMSG at NOAA/NWS/NCEP/EMC
5830 University Research Ct., #2118
College Park, MD 20740
Todd.Spindler at noaa.gov
301-683-3757

On 5/12/21 9:27 AM, George McCabe via RT wrote:
> Hi Todd,
>
> I'm just following up to let you know that METplus 4.0.0 and MET
10.0.0 are now available on Hera.
>
> - George
>
> On Mon May 03 18:15:52 2021, mccabe wrote:
>> Hi Todd,
>>
>> METplus 4.0.0 beta5 and MET 10.0.0 beta5 are now installed on Hera.
>> The
>> following web page has been updated with setup instructions:
>>
>> https://dtcenter.org/community-code/metplus/metplus-4-0-existing-
>> builds
>> (Under NOAA machines > HERA)
>>
>> Please let me know if you have any issues using the new version.
>>
>> Thanks,
>> George
>>
>> On Mon, May 3, 2021 at 4:56 PM George McCabe <mccabe at ucar.edu>
wrote:
>>
>>> Hi Todd,
>>>
>>> You are setting the GRID_STAT_MET_CONFIG_OVERRIDES variable in the
>>> correct
>>> way. Unfortunately 4.0.0-beta3 does not include this
functionality.
>>> It was
>>> added in beta4. METplus 4.0.0-beta5 was just released today and
>>> supports
>>> new METplus config variables to set all of the GridStat
output_flag
>>> values,
>>> so you will not need to use the MET_CONFIG_OVERRIDES functionality
to
>>> set
>>> them. While implementing these changes, I discovered that a few of
>>> the
>>> default values in the wrapped GridStatConfig file were different
from
>>> the
>>> MET defaults (in share/met/config). The default for every
output_flag
>>> is
>>> NONE, so you will only need to set the variables in the METplus
>>> config if
>>> you need to set them to something other than NONE.
>>>
>>> For your case you will need to set:
>>>
>>> GRID_STAT_OUTPUT_FLAG_CNT = BOTH
>>>
>>>
>>> ctc, cts, and grad now default to NONE. eclv was previously set to
>>> BOTH in
>>> the wrapped config, so if you need that output_flag set as well,
you
>>> will
>>> need to add:
>>>
>>>
>>> GRID_STAT_OUTPUT_FLAG_ECLV = BOTH
>>>
>>>
>>> A full list of the METplus config variables that can be set to
>>> override
>>> values in the GridStat config file can be found at the bottom of
this
>>> section:
>>>
>>>
>>> https://metplus.readthedocs.io/en/v4.0.0-
>>> beta5/Users_Guide/wrappers.html#grid-stat-met-conf
>>>
>>> I believe METplus 4.0.0-beta5 will be installed on Hera, but I am
>>> waiting
>>> to hear back for confirmation. I will let you know if it will be
>>> available
>>> so you can test your use case using the new version.
>>>
>>> Thanks,
>>> George
>>>
>>> On Mon, May 3, 2021 at 4:34 PM John Halley Gotway via RT <
>>> met_help at ucar.edu> wrote:
>>>
>>>> Mon May 03 16:34:08 2021: Request 99773 was acted upon.
>>>> Transaction: Given to mccabe (George McCabe) by johnhg
>>>>         Queue: met_help
>>>>       Subject: grid_stat output flags
>>>>         Owner: mccabe
>>>>    Requestors: todd.spindler at noaa.gov
>>>>        Status: open
>>>>   Ticket <URL:
>>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=99773 >
>>>>
>>>>
>>>> This transaction appears to have no content
>>>>
>>>
>>> --
>>> 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.
>>>
>
>




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


More information about the Met_help mailing list