-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix 1932 develop event_equal #1933
Conversation
…ls specified using -amodel in the list.
…dling of the LEAD column. We were missing a couple of necessary parentheses.
…ent equalization returns no results when one of the requested AMODEL names does not actually appear in the input dataset.
…removed for some reason in development since version 10.0.0.
Confirming that the only diffs are in the one file with an expected change.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed the code changes and the 2 new tc_stat unit test jobs. I compared the additional output in the feature_1932_event_equal tc_stat/PROBRIRW_stat.out output file with the output from develop. It looks like the code is now working as the documentation describes. I approve this pull request.
Co-authored-by: Seth Linden <[email protected]> Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: Howard Soh <[email protected]> Co-authored-by: johnhg <[email protected]> Co-authored-by: Julie.Prestopnik <[email protected]> Co-authored-by: ericgilleland <[email protected]> Co-authored-by: George McCabe <[email protected]> Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: jprestop <[email protected]> Co-authored-by: Julie Prestopnik <[email protected]> Co-authored-by: hsoh-u <[email protected]> Co-authored-by: Keith Searight <[email protected]> Co-authored-by: Seth Linden <[email protected]> Co-authored-by: MET Tools Test Account <[email protected]> Co-authored-by: lisagoodrich <[email protected]> Co-authored-by: MET Tools Test Account <[email protected]> Co-authored-by: j-opatz <[email protected]>
Pull Request Testing
Describe testing already performed for these changes:
Ran a full regression test on kiowa in /d1/projects/MET/MET_pull_requests/met-10.1.0/met-10.1.0_beta3/feature_1932 to confirm that the new tests I added work as expected and don't produce any unexpected differences.
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Review the code changes.
Review the 2 new tc_stat unit test jobs.
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [No]
I made no changes to the documentation. Listed below is the description of event_equal from the docs. Note that the description is correct but the code was not behaving as described:
"The event_equal flag specifies whether only those track points common to all models in the dataset should be retained. The event equalization is performed only using cases common to all listed amodel entries. A case is defined by comparing the following columns in the TCST files: BMODEL, BASIN, CYCLONE, INIT, LEAD, VALID. This option may be modified using the -event_equal option within the job command lines."
I added 2 new jobs to an existing TC-Stat config file:
One job computes TK_ERR summary output for 2 -amodel entries and produces good output -by AMODEL,LEAD.
The next job adds a 3rd -amodel name that doesn't actually exist and no output is created, as expected.
Will this PR result in changes to the test suite? [Yes]
If yes, describe the new output and/or changes to the existing output:
Additional output in the tc_stat/PROBRIRW_stat.out output file. On kiowa, see:
/d1/projects/MET/MET_pull_requests/met-10.1.0/met-10.1.0_beta3/feature_1932/MET-feature_1932_event_equal/test_output/tc_stat/PROBRIRW_stat.out
Please complete this pull request review by [Tuesday 10/5/2021].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes