[Met_help] [rt.rap.ucar.edu #44419] History for Unsure of stat_analysis syntax for WDIR statistics

RAL HelpDesk {for Paul Oldenburg} met_help at ucar.edu
Wed Feb 23 13:45:37 MST 2011


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

Hello MET support,

I would like to use MET (v2.0) to perform statistics on WDIR
(MET_Users_Guide: section 8.2.6). However, I am struggling with the correct
syntax to use in stat_analysis. I've already run point_stat dumping ALL
available output types (cnt, cts, val1l2, val1l2, mpr, etc). I created a
STATAnalysisConfig file (with little filtering) containing the following
line:

"-job stat_job_aggr_wdir -alpha 0.1 -fcst_lev P1013-100 -dump_row
./test.stat"

Unfortunately, I recieve this error:

$> stat_analysis -lookin .. -config STATAnalysisConfig
ERROR: parse_job_command() -> unrecognized job type specified "-job" in job
command line: -job stat_job_aggr_wdir -alpha 0.1 -fcst_lev P1013-100
-dump_row ./test1.stat
ERROR: main() -> encountered an error value of 1.  Calling clean_up() and
usage() before exiting.

It seems not to recognize "stat_job_aggr_wdir" which is mentioned in section
8.2.6 of the user's guide. Looking at the example configuration file, I
decided to try a different approach using:

"-job aggregate_stat -line_type VL1L2 -out_line_type WDIR -alpha 0.1
-dump_row ./OP-NARR_BV-SNDS_CI.10_LSFIT-009_P1013-100_VL1L2-WDIR.stat"

Even though I double checked for valid filter criteria and the search
directory contains *_val1l2.txt and *_vl1l2.txt file types, I receive the
following error...

$> stat_analysis -lookin .. -config STATAnalysisConfig
Creating STAT output file "./test2.stat"
WARNING: do_job_aggr_stat() -> no matching STAT lines found for job: -job
aggregate_stat -model WRF_OP-NARR -fcst_valid_beg 20060802_180000
-fcst_valid_end 20060805_000000 -obs_valid_beg 20060802_180000
-obs_valid_end 20060805_000000 -interp_mthd LS_FIT -interp_pnts 9 -alpha
0.100000 -line_type VL1L2 -dump_row ./test2.stat -out_line_type WDIR

Would you please help me understand the correct syntax. The documentation is
somewhat confusing and I have not seen any configuration file examples of
this.

Thanks,
Scott


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

Subject: Re: [rt.rap.ucar.edu #44419] Unsure of stat_analysis syntax for WDIR statistics
From: Paul Oldenburg
Time: Tue Feb 15 09:22:58 2011

Scott,

There is an error in the METv2.0 User's Guide.  As you correctly
surmised, the stat_job_aggr_wdir is no longer
supported.  Your second approach using aggregate stat with the
-out_line_type WDIR is correct.  The reason that you did
not get any matching rows may have to do with your filter criteria
being too stringent.  A good way to debug situations
like this is to remove all criteria and make sure you get output.
Then, start adding criteria one-by-one until you find
the problem.

You may find it helpful to look at an example wind direction
stat_analysis job in the METv2.0 online tutorial, near the
bottom of this page:

http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/stat_analysis/run.php

Looking over your list of filter criteria, we suspect that the alpha
may be the culprit, but without your data, it is
hard to tell.  Please let us know if you have any questions.

Thanks,

Paul


On 02/14/2011 12:15 PM, RAL HelpDesk {for Scott Rabenhorst} wrote:
>
> Mon Feb 14 12:15:26 2011: Request 44419 was acted upon.
> Transaction: Ticket created by scott.rabenhorst at gmail.com
>        Queue: met_help
>      Subject: Unsure of stat_analysis syntax for WDIR statistics
>        Owner: Nobody
>   Requestors: scott.rabenhorst at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44419 >
>
>
> Hello MET support,
>
> I would like to use MET (v2.0) to perform statistics on WDIR
> (MET_Users_Guide: section 8.2.6). However, I am struggling with the
correct
> syntax to use in stat_analysis. I've already run point_stat dumping
ALL
> available output types (cnt, cts, val1l2, val1l2, mpr, etc). I
created a
> STATAnalysisConfig file (with little filtering) containing the
following
> line:
>
> "-job stat_job_aggr_wdir -alpha 0.1 -fcst_lev P1013-100 -dump_row
> ./test.stat"
>
> Unfortunately, I recieve this error:
>
> $> stat_analysis -lookin .. -config STATAnalysisConfig
> ERROR: parse_job_command() -> unrecognized job type specified "-job"
in job
> command line: -job stat_job_aggr_wdir -alpha 0.1 -fcst_lev P1013-100
> -dump_row ./test1.stat
> ERROR: main() -> encountered an error value of 1.  Calling
clean_up() and
> usage() before exiting.
>
> It seems not to recognize "stat_job_aggr_wdir" which is mentioned in
section
> 8.2.6 of the user's guide. Looking at the example configuration
file, I
> decided to try a different approach using:
>
> "-job aggregate_stat -line_type VL1L2 -out_line_type WDIR -alpha 0.1
> -dump_row ./OP-NARR_BV-SNDS_CI.10_LSFIT-009_P1013-100_VL1L2-
WDIR.stat"
>
> Even though I double checked for valid filter criteria and the
search
> directory contains *_val1l2.txt and *_vl1l2.txt file types, I
receive the
> following error...
>
> $> stat_analysis -lookin .. -config STATAnalysisConfig
> Creating STAT output file "./test2.stat"
> WARNING: do_job_aggr_stat() -> no matching STAT lines found for job:
-job
> aggregate_stat -model WRF_OP-NARR -fcst_valid_beg 20060802_180000
> -fcst_valid_end 20060805_000000 -obs_valid_beg 20060802_180000
> -obs_valid_end 20060805_000000 -interp_mthd LS_FIT -interp_pnts 9
-alpha
> 0.100000 -line_type VL1L2 -dump_row ./test2.stat -out_line_type WDIR
>
> Would you please help me understand the correct syntax. The
documentation is
> somewhat confusing and I have not seen any configuration file
examples of
> this.
>
> Thanks,
> Scott
>


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


More information about the Met_help mailing list