Cameron Goodale created CLIMATE-177:
---------------------------------------
Summary: Update misc.select_metrics function to prevent user
selection of incomplete metrics
Key: CLIMATE-177
URL: https://issues.apache.org/jira/browse/CLIMATE-177
Project: Apache Open Climate Workbench
Issue Type: Bug
Components: rcmet
Affects Versions: 0.1-incubating
Environment: *nix
Reporter: Cameron Goodale
Assignee: Cameron Goodale
Priority: Blocker
Fix For: 0.1-incubating
During testing I found 2 metrics that are listed by the select_metrics function
that need to be deactivated. Specifically I will be deactivating:
[2] Spatial Pattern Correlation: results in a time series of spatial
correlation coeff
[4] Spatial Pattern Correlation between averaged fields: results in a single
correlation coeff
Dev discussion thread can be found here [1].
My plan is to prepend the Text with TODO: and then disable options 2 and 4 from
being selectable. If an invalid option is selected the user will be given a
warning message and asked to select another option instead. This way the
command line interface will not crash if someone makes an inactive selection.
[1] - http://s.apache.org/sO
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira