Skip to content

Conversation

JohnHalleyGotway
Copy link
Collaborator

@JohnHalleyGotway JohnHalleyGotway commented Sep 30, 2021

Pull Request Testing

  • Describe testing already performed for these changes:

    Ran a full regression test comparing feature_1914_dump_row to develop on kiowa:
    /d1/projects/MET/MET_pull_requests/met-10.1.0/met-10.1.0_beta3/feature_1914

And confirmed that:

  • The MET-develop/filter_job.stat file exists, but MET-feature_1914_dump_row/filter_job.stat does not, as intended.
  • There are no differences in the output.
cd /d1/projects/MET/MET_pull_requests/met-10.1.0/met-10.1.0_beta3/feature_1914
egrep -i ERROR: test_regression.log | wc -l
0
  • Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:

    No additional testing needed. Just review the changes to the STAT-Analysis config files the top-level control logic of STAT-Analysis.

  • Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes]
    No documentation changes needed. Writing the SSIDX output line type is a new feature in version 10.1.0.

  • Do these changes include sufficient testing updates? [Yes]
    No additional testing needed.

  • Will this PR result in changes to the test suite? [No]

    If yes, describe the new output and/or changes to the existing output:

  • Please complete this pull request review by [Friday 10/1/21].

Pull Request Checklist

See the METplus Workflow for details.

  • Complete the PR definition above.
  • Ensure the PR title matches the feature or bugfix branch name.
  • Define the PR metadata, as permissions allow.
    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
  • After submitting the PR, select Linked issues with the original issue number.
  • After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
  • Close the linked issue and delete your feature or bugfix branch from GitHub.

…TAnalysisConfig_default contains a job array with one entry, a filter job that writes a file named filter_job.stat. Since the skill score index config files did NOT contains a jobs array, that default setting was getting passed along. By adding an empty jobs array to these config files, the hope is the default job can be overridden.
…ig file. Having an entry there that never actually gets exercised only causes confusion.
…AT-Analysis. Previously, if a config file was specified, it processed only those jobs. Now, if -job is used on that command line, it'll run that job. If not, it'll get jobs from the -config file, and if none of that, then it'll error out telling the user to specify at least one job. This is a good change, in all the MET tools, we want the command line options to override any config file options.
Copy link

@michelleharrold michelleharrold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JohnHalleyGotway - I visually inspected the changes, and looks good to me. I approve.

@JohnHalleyGotway
Copy link
Collaborator Author

Sorry for the confusion @michelleharrold. I'd created a DRAFT PR and listed your name on it. But I'm not actually ready for your review yet. The regression test actually failed and some code changes really are required. When I'm done testing those code changes and confirm that they don't break anything else, I'll ask for you to review again.

@JohnHalleyGotway JohnHalleyGotway marked this pull request as ready for review October 1, 2021 15:24
Copy link

@michelleharrold michelleharrold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JohnHalleyGotway - thanks for chatting about this on video chat. Based on changes, I apprive.

@JohnHalleyGotway JohnHalleyGotway merged commit 3409971 into develop Oct 1, 2021
@JohnHalleyGotway JohnHalleyGotway deleted the feature_1914_dump_row branch October 1, 2021 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Stat-Analysis skill score index job which always writes a dump row output file.
2 participants