WARNING messages from stat_analysis about multiple ALPHA values #2583
-
I’m running StatAnalysis using the summary job.
I looked in the stat file and for the CNT line type the ALPHA value is 0.05, and for the GRAD line type the ALPHA value is NA (not -9999). I guess MET is doing something filling NA values with -9999. I guess I’m not sure exactly how to get rid of the WARNING messages if the value in the stat file is NA but the NA value gets mapped to -9999. I have put the related files on the FTP. I made the directory /incoming/irap/met_help/row_data but didn't cd into before I put the files on there. SIGH! I don't think I can move the files into row_data, but here is a list of the files:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Mallory, let me apologize for the length of this up front! Here's the short answer... add
Here's the gory details... Thanks for passing along this data. I pulled it down, ran it through the latest development version of Stat-Analysis, and am able to replicate the behavior you describe... that warning messages are printed about multiple alpha values. Looking at the job you're running, I see that it uses input from multiple line types (VCNT, CNT, GRAD):
And those multiple input line types are definitely involved here. I'm used to running each job for a single input line type, but this syntax is certainly supported. I started by inventorying the input data. The Checking your config file, I see that those are the 6,480 .stat lines for I tried splitting up your 1 big job into 3 separate jobs, one for each input line type. That produced the following runtime error:
This bug issue is easily fixed, which I did in my local copy and will include in beta5. But for now, I just reran WITHOUT the
With these jobs:
And I'm using the We could consider making the output from Here's the resulting wmo_stats.txt output file I get. I confirmed that the log file contains no warnings. I'll note that it takes about 1.5 - 2.0 minutes to run this on my Mac laptop. I'm curious how long this takes on WCOSS2 since reading/writing from your temp directory ( I checked the log messages for...
And I did confirm that both approaches produce the same 18,180 Here's some interesting counts:
That made me realize we can just add
So that's an easy change I'd recommend without needing to modify the logic of Stat-Analysis at all. |
Beta Was this translation helpful? Give feedback.
-
Thanks for that answer John! I'm glad that this all uncovered a bug fix and that was easy. I'm not sure how exactly long it took maybe a minute or two more than it took you (I was testing in the stmp space and it was filling up yesterday so I had to clean things up after I sent everything to the FTP). |
Beta Was this translation helpful? Give feedback.
Hi Mallory, let me apologize for the length of this up front! Here's the short answer... add
-by LINE_TYPE
to the job and the warnings go away. Although on my laptop, the runtime increases from 1:30 to 1:42:Here's the gory details...
Thanks for passing along this data. I pulled it down, ran it through the latest development version of Stat-Analysis, and am able to replicate the behavior you describe... that warning messages are printed about multiple alpha values.
Looking at the job you're running, I see that it uses input from multiple line types (VCNT, CNT, GRAD):