[ 
https://issues.apache.org/jira/browse/CLIMATE-685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944320#comment-14944320
 ] 

ASF GitHub Bot commented on CLIMATE-685:
----------------------------------------

GitHub user huikyole opened a pull request:

    https://github.com/apache/climate/pull/241

    CLIMATE-685 - Update the examples using Evaluation Objects

    - most of the examples have been updated and all examples are tested except 
the esgf_integration_example.py
    - CLIMATE-686 should be addressed for running some examples

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/huikyole/climate CLIMATE-685

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/climate/pull/241.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #241
    
----
commit d5a43a35252859113517e43b6e88f16d6517a0b5
Author: huikyole <[email protected]>
Date:   2015-10-06T00:29:52Z

    CLIMATE-685 - Update the examples using Evaluation Objects
    
    - most of the examples have been updated and all examples are tested except 
the esgf_integration_example.py
    - CLIMATE-686 should be addressed for running some examples

----


> Update the examples using Evaluation Objects
> --------------------------------------------
>
>                 Key: CLIMATE-685
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-685
>             Project: Apache Open Climate Workbench
>          Issue Type: Bug
>            Reporter: Huikyo Lee
>            Assignee: Huikyo Lee
>            Priority: Critical
>
> Currently, users get some errors while running examples due to the 
> restructured evaluation objects.
> Ex) 
> (ocw)[nakoulma@nakoulma examples]$python taylor_diagram_example.py 
> Traceback (most recent call last):
>   File "taylor_diagram_example.py", line 102, in <module>
>     test_evaluation.run()
>   File "/home/nakoulma/climate-master/ocw/evaluation.py", line 236, in run
>     self.results = self._run_no_subregion_evaluation()
>   File "/home/nakoulma/climate-master/ocw/evaluation.py", line 299, in 
> _run_no_subregion_evaluation
>     return convert_evaluation_result(results)
>   File "/home/nakoulma/climate-master/ocw/evaluation.py", line 364, in 
> convert_evaluation_result
>     result[imodel,:] = evaluation_result[imodel][imetric]
>   File 
> "/home/nakoulma/anaconda/lib/python2.7/site-packages/numpy/ma/core.py", line 
> 3072, in __setitem__
>     ndarray.__setitem__(_data, indx, dval)
> IndexError: too many indices



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to