You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Huikyo Lee (JIRA)" <ji...@apache.org> on 2015/10/05 23:23:27 UTC
[jira] [Created] (CLIMATE-685) Update the examples using Evaluation
Objects
Huikyo Lee created CLIMATE-685:
----------------------------------
Summary: 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)