Switch MET's R-based differencing logic over to using the Python-based METplus implementation #2718
Open
8 of 21 tasks
Labels
component: testing
Software testing issue
priority: medium
Medium Priority
requestor: METplus Team
METplus Development Team
type: enhancement
Improve something that it is currently doing
Milestone
Describe the Enhancement
The existing testing infrastructure for MET uses Perl to run the unit tests defined in each XML file. #2717 switches the Perl control logic over to Python. This task is to reimplement the R-based differencing logic in MET to using Python-based implementation in METplus.
The
comp_*.sh
scripts in the bin directory are just wrappers to the R functions defined in the R_test directory.This line of
test_regression.sh
callscomp_dir.sh
to compare the output generated by 2 different runs of the unit tests. That script should be updated to run the Python-based METplus differencing logic instead. The current METplus differencing logic can be found in diff_util.py.Note that additional work may be required to enhance the METplus differencing logic. For example, if the unit tests are enhanced in #2717 to store runtime and resource (i.e. memory) consumption information, the differencing logic should be enhanced to compare those outputs between 2 runs.
Time Estimate
2 weeks? But please update as needed.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
None needed at this time.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
@natalieb-noaa is funded through the DTC to work on METplus tasks.
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Development issue
Select: Milestone as the next official version
Select: MET-X.Y.Z Development project for development toward the next official release
The text was updated successfully, but these errors were encountered: