-
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
Enhance Multivariate MODE to change the default merge_flag
setting to NONE
#2708
Comments
Looks like mode always reads the MODEConfig_default, not the MODEMultivarConfig_default. These default files are similar but not quite the same. The latter does already have default merge_flag=NONE. mode needs to read an actual config to be able to detect whether it's multivar or not, so on startup it does not know which of these is the default file to read. |
I did change the code so that it uses I also added debug printing (level 2) for the case where a field does not have merge_flag/merge_thresh set, and it is defaulting to the parent values, to show what the merge_flag/merge_thresh values that field is using. Just to make sure the user is getting what they want. I also added some code to disallow certain combinations and error exit:
Possible tests to try:
|
The use of the MODEMultivarConfig_default file caused a value to change when Metplus tests were run, it was multivar_name = "ALPHA_BETA_GAMMA". Previously this name was not set so reverted to the default name "Super". Changed the MODEMultivarConfig_default to have multivar_name = "Super". Another bugfix was put into this branch, found by @hertneky, in which the default output directory was never set for multivar mode, causing the output directory to be the empty string, which caused an error exit. The fix was to set the default output directory to ".", consistent with single var mode. |
merge_flag
default in Multivariate MODE to NONE
merge_flag
default in Multivariate MODE to NONEmerge_flag
setting to NONE
Describe the Enhancement
Change the
merge_flag default
toNONE
, and allow it to not be set for MvMode fields. If not set right now the code uses a defaultmerge_flag=THRESH
andmerge_thresh = ">=1.25"
. MvMode is now implemented so that the user MUST set all the merge_flag (and merge_thresh) values explicitly.Time Estimate
1 day
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Relevant Deadlines
November 7 2023 (beta 2)
Funding Source
2702691
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: