[Met_help] [rt.rap.ucar.edu #69394] History for Grid_stat with multiple inputs by setting environment variable

John Halley Gotway via RT met_help at ucar.edu
Mon Oct 20 13:22:44 MDT 2014


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

Dear John,

To run Grid_stat with multiple inputs, I created a bash code,
gridstatmulti.bash at /glade/scratch/jyoo/domain/mean/analysis.

But, it seems that I haven't set the environment variable "CUR_LVL"
correctly and I got error message as below:
ERROR  :
ERROR  : patch_env() -> environment variable "CUR_LVL" not found!
ERROR  :

In my bash code, I calculate a number for the CUR_LVL and I set the
variable as "set CUR_LVL $CUR_LVL". I also set  [ "(${CUR_LVL},*,*)" ]; in
my Grid-Stat config file  which can be found at
/glade/scratch/jyoo/domain/mean/analysis/GridStatConfig_ccsm_multi
Then, I called grid_stat.

Could you please give me a hint?
Thank you in advance.

Regards,

Jinwoong Yoo
UNM




















Jinwoong,

If you're running Grid-Stat multiple times via a script, I suggest using an
environment variable in your Grid-Stat configuration file.  For example...

setenv CUR_LVL 0

And in your Grid-Stat config file, use:
   = [ "(${CUR_LVL},*,*)" ];

Just set that variable in your script that calls Grid-Stat and the MET code
will substitute in the value.  Supporting environment variables in the
config files makes scripting up calls to the MET tools much easier.

Thanks,
John

On Wed, Oct 15, 2014 at 10:59 AM, Jinwoong Yoo via RT <met_help at ucar.edu>
wrote:


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

Subject: Grid_stat with multiple inputs by setting environment variable
From: Jinwoong Yoo
Time: Wed Oct 15 17:43:04 2014

Dear John,

When I changed the setenv to export for my bash code,
it worked.


#set CUR_LVL=$CUR_LVL1
export CUR_LVL=$CUR_LVL1

Thank you.

Regards,

Jinwoong Yoo
UNM


On Wed, Oct 15, 2014 at 5:00 PM, met_help at ucar.edu via RT
<met_help at ucar.edu
> wrote:

> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
>         "Grid_stat with multiple inputs by setting environment
variable",
> a summary of which appears below.
>
> There is no need to reply to this message right now.  Your ticket
has been
> assigned an ID of [rt.rap.ucar.edu #69394].
>
> Please include the string:
>
>          [rt.rap.ucar.edu #69394]
>
> in the subject line of all future correspondence about this issue.
To do
> so,
> you may reply to this message.
>
>                         Thank you,
>                         met_help at ucar.edu
>
>
-------------------------------------------------------------------------
> Dear John,
>
> To run Grid_stat with multiple inputs, I created a bash code,
> gridstatmulti.bash at /glade/scratch/jyoo/domain/mean/analysis.
>
> But, it seems that I haven't set the environment variable "CUR_LVL"
> correctly and I got error message as below:
> ERROR  :
> ERROR  : patch_env() -> environment variable "CUR_LVL" not found!
> ERROR  :
>
> In my bash code, I calculate a number for the CUR_LVL and I set the
> variable as "set CUR_LVL $CUR_LVL". I also set  [ "(${CUR_LVL},*,*)"
]; in
> my Grid-Stat config file  which can be found at
> /glade/scratch/jyoo/domain/mean/analysis/GridStatConfig_ccsm_multi
> Then, I called grid_stat.
>
> Could you please give me a hint?
> Thank you in advance.
>
> Regards,
>
> Jinwoong Yoo
> UNM
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Jinwoong,
>
> If you're running Grid-Stat multiple times via a script, I suggest
using an
> environment variable in your Grid-Stat configuration file.  For
example...
>
> setenv CUR_LVL 0
>
> And in your Grid-Stat config file, use:
>    = [ "(${CUR_LVL},*,*)" ];
>
> Just set that variable in your script that calls Grid-Stat and the
MET code
> will substitute in the value.  Supporting environment variables in
the
> config files makes scripting up calls to the MET tools much easier.
>
> Thanks,
> John
>
> On Wed, Oct 15, 2014 at 10:59 AM, Jinwoong Yoo via RT
<met_help at ucar.edu>
> wrote:
>
>

------------------------------------------------
Subject: Grid_stat with multiple inputs by setting environment variable
From: John Halley Gotway
Time: Thu Oct 16 10:27:52 2014

Great, glad you were able to figure it out.

John

On Wed, Oct 15, 2014 at 5:43 PM, Jinwoong Yoo via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69394 >
>
> Dear John,
>
> When I changed the setenv to export for my bash code,
> it worked.
>
>
> #set CUR_LVL=$CUR_LVL1
> export CUR_LVL=$CUR_LVL1
>
> Thank you.
>
> Regards,
>
> Jinwoong Yoo
> UNM
>
>
> On Wed, Oct 15, 2014 at 5:00 PM, met_help at ucar.edu via RT <
> met_help at ucar.edu
> > wrote:
>
> > Greetings,
> >
> > This message has been automatically generated in response to the
> > creation of a trouble ticket regarding:
> >         "Grid_stat with multiple inputs by setting environment
variable",
> > a summary of which appears below.
> >
> > There is no need to reply to this message right now.  Your ticket
has
> been
> > assigned an ID of [rt.rap.ucar.edu #69394].
> >
> > Please include the string:
> >
> >          [rt.rap.ucar.edu #69394]
> >
> > in the subject line of all future correspondence about this issue.
To do
> > so,
> > you may reply to this message.
> >
> >                         Thank you,
> >                         met_help at ucar.edu
> >
> >
-------------------------------------------------------------------------
> > Dear John,
> >
> > To run Grid_stat with multiple inputs, I created a bash code,
> > gridstatmulti.bash at /glade/scratch/jyoo/domain/mean/analysis.
> >
> > But, it seems that I haven't set the environment variable
"CUR_LVL"
> > correctly and I got error message as below:
> > ERROR  :
> > ERROR  : patch_env() -> environment variable "CUR_LVL" not found!
> > ERROR  :
> >
> > In my bash code, I calculate a number for the CUR_LVL and I set
the
> > variable as "set CUR_LVL $CUR_LVL". I also set  [
"(${CUR_LVL},*,*)" ];
> in
> > my Grid-Stat config file  which can be found at
> > /glade/scratch/jyoo/domain/mean/analysis/GridStatConfig_ccsm_multi
> > Then, I called grid_stat.
> >
> > Could you please give me a hint?
> > Thank you in advance.
> >
> > Regards,
> >
> > Jinwoong Yoo
> > UNM
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Jinwoong,
> >
> > If you're running Grid-Stat multiple times via a script, I suggest
using
> an
> > environment variable in your Grid-Stat configuration file.  For
> example...
> >
> > setenv CUR_LVL 0
> >
> > And in your Grid-Stat config file, use:
> >    = [ "(${CUR_LVL},*,*)" ];
> >
> > Just set that variable in your script that calls Grid-Stat and the
MET
> code
> > will substitute in the value.  Supporting environment variables in
the
> > config files makes scripting up calls to the MET tools much
easier.
> >
> > Thanks,
> > John
> >
> > On Wed, Oct 15, 2014 at 10:59 AM, Jinwoong Yoo via RT
<met_help at ucar.edu
> >
> > wrote:
> >
> >
>
>

------------------------------------------------
Subject: Grid_stat with multiple inputs by setting environment variable
From: Jinwoong Yoo
Time: Thu Oct 16 10:33:34 2014

Thank you, John.

Can any tool in MET be used to summarize the .stat files for the
multiple
input data, producing time series of the variables computed as well as
plots?

Thank you.

Jinwoong Yoo
UNM

On Thu, Oct 16, 2014 at 10:27 AM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Great, glad you were able to figure it out.
>
> John
>
> On Wed, Oct 15, 2014 at 5:43 PM, Jinwoong Yoo via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69394 >
> >
> > Dear John,
> >
> > When I changed the setenv to export for my bash code,
> > it worked.
> >
> >
> > #set CUR_LVL=$CUR_LVL1
> > export CUR_LVL=$CUR_LVL1
> >
> > Thank you.
> >
> > Regards,
> >
> > Jinwoong Yoo
> > UNM
> >
> >
> > On Wed, Oct 15, 2014 at 5:00 PM, met_help at ucar.edu via RT <
> > met_help at ucar.edu
> > > wrote:
> >
> > > Greetings,
> > >
> > > This message has been automatically generated in response to the
> > > creation of a trouble ticket regarding:
> > >         "Grid_stat with multiple inputs by setting environment
> variable",
> > > a summary of which appears below.
> > >
> > > There is no need to reply to this message right now.  Your
ticket has
> > been
> > > assigned an ID of [rt.rap.ucar.edu #69394].
> > >
> > > Please include the string:
> > >
> > >          [rt.rap.ucar.edu #69394]
> > >
> > > in the subject line of all future correspondence about this
issue. To
> do
> > > so,
> > > you may reply to this message.
> > >
> > >                         Thank you,
> > >                         met_help at ucar.edu
> > >
> > >
>
-------------------------------------------------------------------------
> > > Dear John,
> > >
> > > To run Grid_stat with multiple inputs, I created a bash code,
> > > gridstatmulti.bash at /glade/scratch/jyoo/domain/mean/analysis.
> > >
> > > But, it seems that I haven't set the environment variable
"CUR_LVL"
> > > correctly and I got error message as below:
> > > ERROR  :
> > > ERROR  : patch_env() -> environment variable "CUR_LVL" not
found!
> > > ERROR  :
> > >
> > > In my bash code, I calculate a number for the CUR_LVL and I set
the
> > > variable as "set CUR_LVL $CUR_LVL". I also set  [
"(${CUR_LVL},*,*)" ];
> > in
> > > my Grid-Stat config file  which can be found at
> > >
/glade/scratch/jyoo/domain/mean/analysis/GridStatConfig_ccsm_multi
> > > Then, I called grid_stat.
> > >
> > > Could you please give me a hint?
> > > Thank you in advance.
> > >
> > > Regards,
> > >
> > > Jinwoong Yoo
> > > UNM
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Jinwoong,
> > >
> > > If you're running Grid-Stat multiple times via a script, I
suggest
> using
> > an
> > > environment variable in your Grid-Stat configuration file.  For
> > example...
> > >
> > > setenv CUR_LVL 0
> > >
> > > And in your Grid-Stat config file, use:
> > >    = [ "(${CUR_LVL},*,*)" ];
> > >
> > > Just set that variable in your script that calls Grid-Stat and
the MET
> > code
> > > will substitute in the value.  Supporting environment variables
in the
> > > config files makes scripting up calls to the MET tools much
easier.
> > >
> > > Thanks,
> > > John
> > >
> > > On Wed, Oct 15, 2014 at 10:59 AM, Jinwoong Yoo via RT <
> met_help at ucar.edu
> > >
> > > wrote:
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Grid_stat with multiple inputs by setting environment variable
From: John Halley Gotway
Time: Thu Oct 16 10:49:40 2014

Jinwoong,

The MET tools do not produce many graphics.  But you're welcome to
plot
their statistical output using whatever tools you prefer.  We often
use R,
and the MET release does include some sample R scripts that you could
modify for your needs.  For example, this one picks out a column of
data
from the continuous statistics lines (CNT) and creates some plots:
   met-5.0/scripts/Rscripts/plot_cnt.R

For post-processing the .stat files from Grid-Stat and Point-Stat, you
can
use the STAT-Analysis tool.  Please take a look at the online tutorial
for
this tool:

http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/stat_analysis/index.php

To get a time series, you may find it convenient to use the "-by
FCST_LEAD"
option.  That'll run the same job for each unique value found in the
FCST_LEAD column of the input .stat files.

Please read through the tutorial and let me know if you have further
questions.

Thanks,
John



On Thu, Oct 16, 2014 at 10:33 AM, Jinwoong Yoo via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69394 >
>
> Thank you, John.
>
> Can any tool in MET be used to summarize the .stat files for the
multiple
> input data, producing time series of the variables computed as well
as
> plots?
>
> Thank you.
>
> Jinwoong Yoo
> UNM
>
> On Thu, Oct 16, 2014 at 10:27 AM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Great, glad you were able to figure it out.
> >
> > John
> >
> > On Wed, Oct 15, 2014 at 5:43 PM, Jinwoong Yoo via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69394 >
> > >
> > > Dear John,
> > >
> > > When I changed the setenv to export for my bash code,
> > > it worked.
> > >
> > >
> > > #set CUR_LVL=$CUR_LVL1
> > > export CUR_LVL=$CUR_LVL1
> > >
> > > Thank you.
> > >
> > > Regards,
> > >
> > > Jinwoong Yoo
> > > UNM
> > >
> > >
> > > On Wed, Oct 15, 2014 at 5:00 PM, met_help at ucar.edu via RT <
> > > met_help at ucar.edu
> > > > wrote:
> > >
> > > > Greetings,
> > > >
> > > > This message has been automatically generated in response to
the
> > > > creation of a trouble ticket regarding:
> > > >         "Grid_stat with multiple inputs by setting environment
> > variable",
> > > > a summary of which appears below.
> > > >
> > > > There is no need to reply to this message right now.  Your
ticket has
> > > been
> > > > assigned an ID of [rt.rap.ucar.edu #69394].
> > > >
> > > > Please include the string:
> > > >
> > > >          [rt.rap.ucar.edu #69394]
> > > >
> > > > in the subject line of all future correspondence about this
issue. To
> > do
> > > > so,
> > > > you may reply to this message.
> > > >
> > > >                         Thank you,
> > > >                         met_help at ucar.edu
> > > >
> > > >
> >
-------------------------------------------------------------------------
> > > > Dear John,
> > > >
> > > > To run Grid_stat with multiple inputs, I created a bash code,
> > > > gridstatmulti.bash at
/glade/scratch/jyoo/domain/mean/analysis.
> > > >
> > > > But, it seems that I haven't set the environment variable
"CUR_LVL"
> > > > correctly and I got error message as below:
> > > > ERROR  :
> > > > ERROR  : patch_env() -> environment variable "CUR_LVL" not
found!
> > > > ERROR  :
> > > >
> > > > In my bash code, I calculate a number for the CUR_LVL and I
set the
> > > > variable as "set CUR_LVL $CUR_LVL". I also set  [
"(${CUR_LVL},*,*)"
> ];
> > > in
> > > > my Grid-Stat config file  which can be found at
> > > >
/glade/scratch/jyoo/domain/mean/analysis/GridStatConfig_ccsm_multi
> > > > Then, I called grid_stat.
> > > >
> > > > Could you please give me a hint?
> > > > Thank you in advance.
> > > >
> > > > Regards,
> > > >
> > > > Jinwoong Yoo
> > > > UNM
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Jinwoong,
> > > >
> > > > If you're running Grid-Stat multiple times via a script, I
suggest
> > using
> > > an
> > > > environment variable in your Grid-Stat configuration file.
For
> > > example...
> > > >
> > > > setenv CUR_LVL 0
> > > >
> > > > And in your Grid-Stat config file, use:
> > > >    = [ "(${CUR_LVL},*,*)" ];
> > > >
> > > > Just set that variable in your script that calls Grid-Stat and
the
> MET
> > > code
> > > > will substitute in the value.  Supporting environment
variables in
> the
> > > > config files makes scripting up calls to the MET tools much
easier.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Wed, Oct 15, 2014 at 10:59 AM, Jinwoong Yoo via RT <
> > met_help at ucar.edu
> > > >
> > > > wrote:
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Grid_stat with multiple inputs by setting environment variable
From: Jinwoong Yoo
Time: Thu Oct 16 10:53:22 2014

Thank you very much, John, for the tips.
Let me take a look at these options.

Thank you.

Jinwoong Yoo
UNM

On Thu, Oct 16, 2014 at 10:49 AM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Jinwoong,
>
> The MET tools do not produce many graphics.  But you're welcome to
plot
> their statistical output using whatever tools you prefer.  We often
use R,
> and the MET release does include some sample R scripts that you
could
> modify for your needs.  For example, this one picks out a column of
data
> from the continuous statistics lines (CNT) and creates some plots:
>    met-5.0/scripts/Rscripts/plot_cnt.R
>
> For post-processing the .stat files from Grid-Stat and Point-Stat,
you can
> use the STAT-Analysis tool.  Please take a look at the online
tutorial for
> this tool:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/stat_analysis/index.php
>
> To get a time series, you may find it convenient to use the "-by
FCST_LEAD"
> option.  That'll run the same job for each unique value found in the
> FCST_LEAD column of the input .stat files.
>
> Please read through the tutorial and let me know if you have further
> questions.
>
> Thanks,
> John
>
>
>
> On Thu, Oct 16, 2014 at 10:33 AM, Jinwoong Yoo via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69394 >
> >
> > Thank you, John.
> >
> > Can any tool in MET be used to summarize the .stat files for the
multiple
> > input data, producing time series of the variables computed as
well as
> > plots?
> >
> > Thank you.
> >
> > Jinwoong Yoo
> > UNM
> >
> > On Thu, Oct 16, 2014 at 10:27 AM, John Halley Gotway via RT <
> > met_help at ucar.edu> wrote:
> >
> > > Great, glad you were able to figure it out.
> > >
> > > John
> > >
> > > On Wed, Oct 15, 2014 at 5:43 PM, Jinwoong Yoo via RT <
> met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69394
>
> > > >
> > > > Dear John,
> > > >
> > > > When I changed the setenv to export for my bash code,
> > > > it worked.
> > > >
> > > >
> > > > #set CUR_LVL=$CUR_LVL1
> > > > export CUR_LVL=$CUR_LVL1
> > > >
> > > > Thank you.
> > > >
> > > > Regards,
> > > >
> > > > Jinwoong Yoo
> > > > UNM
> > > >
> > > >
> > > > On Wed, Oct 15, 2014 at 5:00 PM, met_help at ucar.edu via RT <
> > > > met_help at ucar.edu
> > > > > wrote:
> > > >
> > > > > Greetings,
> > > > >
> > > > > This message has been automatically generated in response to
the
> > > > > creation of a trouble ticket regarding:
> > > > >         "Grid_stat with multiple inputs by setting
environment
> > > variable",
> > > > > a summary of which appears below.
> > > > >
> > > > > There is no need to reply to this message right now.  Your
ticket
> has
> > > > been
> > > > > assigned an ID of [rt.rap.ucar.edu #69394].
> > > > >
> > > > > Please include the string:
> > > > >
> > > > >          [rt.rap.ucar.edu #69394]
> > > > >
> > > > > in the subject line of all future correspondence about this
issue.
> To
> > > do
> > > > > so,
> > > > > you may reply to this message.
> > > > >
> > > > >                         Thank you,
> > > > >                         met_help at ucar.edu
> > > > >
> > > > >
> > >
>
-------------------------------------------------------------------------
> > > > > Dear John,
> > > > >
> > > > > To run Grid_stat with multiple inputs, I created a bash
code,
> > > > > gridstatmulti.bash at
/glade/scratch/jyoo/domain/mean/analysis.
> > > > >
> > > > > But, it seems that I haven't set the environment variable
"CUR_LVL"
> > > > > correctly and I got error message as below:
> > > > > ERROR  :
> > > > > ERROR  : patch_env() -> environment variable "CUR_LVL" not
found!
> > > > > ERROR  :
> > > > >
> > > > > In my bash code, I calculate a number for the CUR_LVL and I
set the
> > > > > variable as "set CUR_LVL $CUR_LVL". I also set  [
> "(${CUR_LVL},*,*)"
> > ];
> > > > in
> > > > > my Grid-Stat config file  which can be found at
> > > > >
/glade/scratch/jyoo/domain/mean/analysis/GridStatConfig_ccsm_multi
> > > > > Then, I called grid_stat.
> > > > >
> > > > > Could you please give me a hint?
> > > > > Thank you in advance.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Jinwoong Yoo
> > > > > UNM
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Jinwoong,
> > > > >
> > > > > If you're running Grid-Stat multiple times via a script, I
suggest
> > > using
> > > > an
> > > > > environment variable in your Grid-Stat configuration file.
For
> > > > example...
> > > > >
> > > > > setenv CUR_LVL 0
> > > > >
> > > > > And in your Grid-Stat config file, use:
> > > > >    = [ "(${CUR_LVL},*,*)" ];
> > > > >
> > > > > Just set that variable in your script that calls Grid-Stat
and the
> > MET
> > > > code
> > > > > will substitute in the value.  Supporting environment
variables in
> > the
> > > > > config files makes scripting up calls to the MET tools much
easier.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Wed, Oct 15, 2014 at 10:59 AM, Jinwoong Yoo via RT <
> > > met_help at ucar.edu
> > > > >
> > > > > wrote:
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

------------------------------------------------
Subject: Grid_stat with multiple inputs by setting environment variable
From: John Halley Gotway
Time: Thu Oct 16 13:59:22 2014

Balazs,

met-5.0 does not include support for the ECMWF usage of GRIB.  In
previous
versions of MET, the GRIB tables were harded-coded, but the code is
now
reading them from a flat-file at runtime.  That flat file can be found
here:
   METv4.1/data/table_files/nceptab_flat.txt

And in met-5.0, it's reading it from the installed met-5.0 directory
"share/met/table_files/nceptab_flat.txt".

The difference really is just in the GRIB code abbreviations and
units.  I
would expect that MET can read ECMWF GRIB1 files, but that it just
uses the
wrong names for the variables.  Is that the behavior you're seeing?

If you'd like to change MET's behavior, you could edit that flat file
to
use whichever abbreviations and units you'd like.  The next time you
run
the MET tools, it'll just read in the updated strings and use them.

I agree that it would be preferable to more full support ECMWF GRIB
data
without putting this onus on the user, but we don't currently get any
ECMWF
data.  So it's difficult to support.

Hope that helps.

John


On Thu, Oct 16, 2014 at 2:49 AM, Balazs Szintai via RT
<met_help at ucar.edu>
wrote:

>
> Thu Oct 16 02:49:42 2014: Request 69397 was acted upon.
> Transaction: Ticket created by balazs.szintai at gmail.com
>        Queue: met_help
>      Subject: MET with ECMWF GRIB files
>        Owner: Nobody
>   Requestors: balazs.szintai at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69397 >
>
>
> Hello,
>
> I would like to verify ECMWF GRIB-1 files, but the problem is that
the
> GRIB-table of ECMWF is different from NCEP. I have found this one-
year-old
> ticket on the web:
>
> http://mailman.ucar.edu/pipermail/met_help/2013-October/002024.html
>
> I just wanted to ask whether there is a solution since then to use
ECMWF
> GRIB files with MET. I am currently using METv4.1 , but I am ready
to
> install a newer version is this is necessary to solve my problem.
>
> Thanks a lot in advance,
> Balazs Szintai
>
>

------------------------------------------------
Subject: Grid_stat with multiple inputs by setting environment variable
From: Jinwoong Yoo
Time: Thu Oct 16 14:09:16 2014

Hi John,

I think an email for Balazs was sent to me by accident for some
reason.
You might want to send the email to Balazs again.
Thank you.

Jinwoong Yoo
UNM

On Thu, Oct 16, 2014 at 1:59 PM, John Halley Gotway via RT <
met_help at ucar.edu> wrote:

> Balazs,
>
> met-5.0 does not include support for the ECMWF usage of GRIB.  In
previous
> versions of MET, the GRIB tables were harded-coded, but the code is
now
> reading them from a flat-file at runtime.  That flat file can be
found
> here:
>    METv4.1/data/table_files/nceptab_flat.txt
>
> And in met-5.0, it's reading it from the installed met-5.0 directory
> "share/met/table_files/nceptab_flat.txt".
>
> The difference really is just in the GRIB code abbreviations and
units.  I
> would expect that MET can read ECMWF GRIB1 files, but that it just
uses the
> wrong names for the variables.  Is that the behavior you're seeing?
>
> If you'd like to change MET's behavior, you could edit that flat
file to
> use whichever abbreviations and units you'd like.  The next time you
run
> the MET tools, it'll just read in the updated strings and use them.
>
> I agree that it would be preferable to more full support ECMWF GRIB
data
> without putting this onus on the user, but we don't currently get
any ECMWF
> data.  So it's difficult to support.
>
> Hope that helps.
>
> John
>
>
> On Thu, Oct 16, 2014 at 2:49 AM, Balazs Szintai via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Thu Oct 16 02:49:42 2014: Request 69397 was acted upon.
> > Transaction: Ticket created by balazs.szintai at gmail.com
> >        Queue: met_help
> >      Subject: MET with ECMWF GRIB files
> >        Owner: Nobody
> >   Requestors: balazs.szintai at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69397 >
> >
> >
> > Hello,
> >
> > I would like to verify ECMWF GRIB-1 files, but the problem is that
the
> > GRIB-table of ECMWF is different from NCEP. I have found this
> one-year-old
> > ticket on the web:
> >
> > http://mailman.ucar.edu/pipermail/met_help/2013-
October/002024.html
> >
> > I just wanted to ask whether there is a solution since then to use
ECMWF
> > GRIB files with MET. I am currently using METv4.1 , but I am ready
to
> > install a newer version is this is necessary to solve my problem.
> >
> > Thanks a lot in advance,
> > Balazs Szintai
> >
> >
>
>

------------------------------------------------
Subject: Grid_stat with multiple inputs by setting environment variable
From: John Halley Gotway
Time: Thu Oct 16 14:18:59 2014

Jinwoong,

Thanks for the heads up!  I messed things up in the ticketing system.
Should be all set now.

Thanks,
John

On Thu, Oct 16, 2014 at 2:09 PM, Jinwoong Yoo via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69394 >
>
> Hi John,
>
> I think an email for Balazs was sent to me by accident for some
reason.
> You might want to send the email to Balazs again.
> Thank you.
>
> Jinwoong Yoo
> UNM
>
> On Thu, Oct 16, 2014 at 1:59 PM, John Halley Gotway via RT <
> met_help at ucar.edu> wrote:
>
> > Balazs,
> >
> > met-5.0 does not include support for the ECMWF usage of GRIB.  In
> previous
> > versions of MET, the GRIB tables were harded-coded, but the code
is now
> > reading them from a flat-file at runtime.  That flat file can be
found
> > here:
> >    METv4.1/data/table_files/nceptab_flat.txt
> >
> > And in met-5.0, it's reading it from the installed met-5.0
directory
> > "share/met/table_files/nceptab_flat.txt".
> >
> > The difference really is just in the GRIB code abbreviations and
units.
> I
> > would expect that MET can read ECMWF GRIB1 files, but that it just
uses
> the
> > wrong names for the variables.  Is that the behavior you're
seeing?
> >
> > If you'd like to change MET's behavior, you could edit that flat
file to
> > use whichever abbreviations and units you'd like.  The next time
you run
> > the MET tools, it'll just read in the updated strings and use
them.
> >
> > I agree that it would be preferable to more full support ECMWF
GRIB data
> > without putting this onus on the user, but we don't currently get
any
> ECMWF
> > data.  So it's difficult to support.
> >
> > Hope that helps.
> >
> > John
> >
> >
> > On Thu, Oct 16, 2014 at 2:49 AM, Balazs Szintai via RT <
> met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Thu Oct 16 02:49:42 2014: Request 69397 was acted upon.
> > > Transaction: Ticket created by balazs.szintai at gmail.com
> > >        Queue: met_help
> > >      Subject: MET with ECMWF GRIB files
> > >        Owner: Nobody
> > >   Requestors: balazs.szintai at gmail.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=69397
> >
> > >
> > >
> > > Hello,
> > >
> > > I would like to verify ECMWF GRIB-1 files, but the problem is
that the
> > > GRIB-table of ECMWF is different from NCEP. I have found this
> > one-year-old
> > > ticket on the web:
> > >
> > > http://mailman.ucar.edu/pipermail/met_help/2013-
October/002024.html
> > >
> > > I just wanted to ask whether there is a solution since then to
use
> ECMWF
> > > GRIB files with MET. I am currently using METv4.1 , but I am
ready to
> > > install a newer version is this is necessary to solve my
problem.
> > >
> > > Thanks a lot in advance,
> > > Balazs Szintai
> > >
> > >
> >
> >
>
>

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


More information about the Met_help mailing list