[
https://issues.apache.org/jira/browse/CLIMATE-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690763#comment-13690763
]
Alex Goodman commented on CLIMATE-138:
--------------------------------------
Hi Mike,
I looked at do_rcmes_processing_sub.py, and noticed there were a lot of the
problems were due to the changes that I made to plots and metrics, so I took
the liberty of updating do_rcmes_subprocessing.py. Please see this reviewboard
thread for the patch:
https://reviews.apache.org/r/12037/
> calc_bias is undefined in metrics
> ---------------------------------
>
> Key: CLIMATE-138
> URL: https://issues.apache.org/jira/browse/CLIMATE-138
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Components: rcmet, rcmet ui
> Affects Versions: 0.1-incubating
> Reporter: Michael Joyce
> Assignee: Huikyo Lee
> Priority: Blocker
> Fix For: 0.1-incubating
>
>
> I'm guessing this is related to the metrics refactoring? Seems like
> calc_metric doesn't exist anymore.
> ----
> Traceback (most recent call last):
> File
> "/Users/mjjoyce/.virtualenvs/rcmes/lib/python2.7/site-packages/bottle.py",
> line 764, in _handle
> return route.call(**args)
> File
> "/Users/mjjoyce/.virtualenvs/rcmes/lib/python2.7/site-packages/bottle.py",
> line 1625, in wrapper
> rv = callback(*a, **ka)
> File
> "/Users/mjjoyce/.virtualenvs/rcmes/lib/python2.7/site-packages/bottle.py",
> line 1575, in wrapper
> rv = callback(*a, **ka)
> File
> "/Users/mjjoyce/Desktop/OC-dub-0.1-incu/rcmet/src/main/python/rcmes/services/run_rcmes_processing.py",
> line 117, in rcmes_go
> awesome.do_rcmes(settings, params, model, mask, options)
> File
> "/Users/mjjoyce/Desktop/OC-dub-0.1-incu/rcmet/src/main/python/rcmes/cli/do_rcmes_processing_sub.py",
> line 401, in do_rcmes
> metricData = metrics.calc_bias(modelData['data'], rcmedData['data'])
> AttributeError: 'module' object has no attribute 'calc_bias'
--
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