Add sanity check to error out when both is_u_wind and is_v_wind are set to true #2357
Closed
6 of 20 tasks
Labels
MET: Configuration
priority: medium
Medium Priority
reporting: DTC NCAR Base
NCAR Base DTC Project
reporting: DTC NOAA R2O
NOAA Research to Operations DTC Project
requestor: Community
General Community
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
This issue arose in the dtcenter/METplus#1970 discussion. The user defined both
is_u_wind = TRUE;
andis_v_wind = TRUE;
inside thefcst
andobs
dictionaries rather than specifying them separately for each field. This certainly is an easy thing to do and warrants that more error checking be added to MET.In
VarInfo::set_dict(...)
, add a check so that if bothis_u_wind
andis_v_wind
are set, we error out and write a useful error message.Time Estimate
2 hours.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
None needed.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
No impacts.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: