WARNING: Set the "wind_thresh" and "wind_logic" configuration options to exclude zero vectors #2590
-
When running EVS global_ens with the Met and MetPlus 6.0 Beta4, I encountered a new type of WARNING in all of the atmos g2o stats jobs. WARNING: VL1L2Info::compute_stats() -> Skipping 1018 of 9243 vector pairs for which the direction difference is undefined. This seems to be tied to the VGRD_Z10_ENS_MEAN(,) versus VGRD/Z10 variables in today's global_ens g2o stats log files. For what it's worth, this should not have an effect on the existing plotted global_ens stats, since we do not currently plot anything concerning wind direction. I put the applicable log files in ftp://[email protected]:21/incoming/irap/met_help/simon_data/20240514_logs for your review. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 4 replies
-
Hi @StevenSimon-NOAA. Thanks for speaking up about this warning message. We actually did notice this same behavior on another project last week and will plan to address it before the next development release of MET (MET-12.0.0-beta5). Let me clarify what's happening. The VL1L2 line type in MET contains vector partial sums computed from input U and V vector components. The VCNT line type contains statistics derived from those U and V vector components. As requested by NOAA/EMC, dtcenter/MET#2395 added new statistics to the VCNT line type for wind direction errors. It added 3 VL1L2 columns ( Here's the problem. When U and V are both 0, wind direction is not defined. All of these line types include a Fortunately, MET already provides a way to filter out 0-vectors using the But I realize this is not a very tenable situation. It certainly seems reasonable to look at all the partial sums and wind speed statistics without needing to discard the 0-vectors (which trigger that warning message) to do so. So how would you like to proceed? Of course, without any code changes, you could use those config options to side-step the problems that 0-vectors introduce. And the easiest option would be to simply replace that warning message with a debug log message instead, so that MET still reports this issue without it setting off alarm bells for NCO. A more involved, yet more mathematically correct, solution would be adding a new Any recommendation on how NOAA/EMC would like us to address this issue? |
Beta Was this translation helpful? Give feedback.
-
@JohnHalleyGotway @StevenSimon-NOAA I agree that the most mathematically correct way to address this issue would be to add a new I think that the best solution for EMC for right now would be to set |
Beta Was this translation helpful? Give feedback.
-
Thanks, John! I understand wanting to get it right the first time! I've
CCed Yali, Mallory, and Deanna to see if they see any issues with your plan
to update wind direction in the beta5 releases. I know that Mallory has
already done some developing using the wind direction functionality using
the beta4s, so she may have some thoughts on this. And Yali was the
original wind direction requester, so she may have some thoughts on this as
well. Deanna is out of town until next week, so we may not hear back from
her before you decide to move forward on this. Thanks!
|
Beta Was this translation helpful? Give feedback.
-
@JohnHalleyGotway @StevenSimon-NOAA @AliciaBentley-NOAA I agree with Alicia that a new column should be added. |
Beta Was this translation helpful? Give feedback.
-
In the case where we would need to update our config files with wind_thresh and wind_logic, what would that look like in terms of syntax? It appears that the PointStat config files would be the applicable ones. Would we simply be adding wind_thresh=>=0 and wind_logic=INTERSECTION to each PointStat config file? Or would this need to be thrown into an OVERRIDE option? |
Beta Was this translation helpful? Give feedback.
-
I think the TOTAL_WDIR is a good option. It preserves the meaning of TOTAL for the rest of the stats in the line, but it provides a clear picture for the wind direction. Thanks for thinking up a solution @JohnHalleyGotway! Sorry for not thinking of this in the first development go around; the WMO stats requires thresholds and I hadn't considered the wider impact to the other EVS components that don't for wind. If you need anyone to test anything, let me know! |
Beta Was this translation helpful? Give feedback.
I think the TOTAL_WDIR is a good option. It preserves the meaning of TOTAL for the rest of the stats in the line, but it provides a clear picture for the wind direction.
Thanks for thinking up a solution @JohnHalleyGotway! Sorry for not thinking of this in the first development go around; the WMO stats requires thresholds and I hadn't considered the wider impact to the other EVS components that don't for wind. If you need anyone to test anything, let me know!