[ 
https://issues.apache.org/jira/browse/CLIMATE-177?focusedWorklogId=14635&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-14635
 ]

Cameron Goodale logged work on CLIMATE-177:
-------------------------------------------

                Author: Cameron Goodale
            Created on: 09/Jul/13 15:48
            Start Date: 09/Jul/13 15:47
    Worklog Time Spent: 2h 
      Work Description: Coded up the guards, and then ran through many tests to 
make sure the guards work and that if the user selects a bad metric multiple 
times, the code behaves properly when a good metric option is finally selected.

Issue Time Tracking
-------------------

            Worklog Id:     (was: 14635)
            Time Spent: 2h
    Remaining Estimate: 0h  (was: 2h)

> 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
>
>   Original Estimate: 2h
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> 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

Reply via email to