Enhance the config file parser logic to allow for empty dictionaries #2293
Labels
alert: NEED ACCOUNT KEY
Need to assign an account key to this issue
alert: NEED CYCLE ASSIGNMENT
Need to assign to a release development cycle
MET: Configuration
priority: medium
Medium Priority
requestor: METplus Team
METplus Development Team
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
dtcenter/METplus#1853 issue is to enhance enable the METplus PointStat wrapper to run without error when no mask is provided. The default Point-Stat configuration file includes:
However, when no masks are actually defined via METplus, the mask dictionary defined by METplus is empty:
However this results in a parsing error from MET. This behavior can be replicated by running:
This issue is to update the logic of the config file parser to allow for the use of empty dictionaries.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
No sub-issues 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 direct impacts, but be sure to keep the METplus developers in the loop.
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: