You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2013/07/25 04:24:43 UTC
svn commit: r1506796 -
/incubator/climate/branches/RefactorInput/ocw/metrics.py
Author: joyce
Date: Thu Jul 25 02:24:42 2013
New Revision: 1506796
URL: http://svn.apache.org/r1506796
Log:
CLIMATE-217 - Fix Bias' treatment of Dataset objects
Modified:
incubator/climate/branches/RefactorInput/ocw/metrics.py
Modified: incubator/climate/branches/RefactorInput/ocw/metrics.py
URL: http://svn.apache.org/viewvc/incubator/climate/branches/RefactorInput/ocw/metrics.py?rev=1506796&r1=1506795&r2=1506796&view=diff
==============================================================================
--- incubator/climate/branches/RefactorInput/ocw/metrics.py (original)
+++ incubator/climate/branches/RefactorInput/ocw/metrics.py Thu Jul 25 02:24:42 2013
@@ -67,4 +67,4 @@ class Bias(Metric):
dataset and the target dataset.
:rtype: List
'''
- return [datasets[0] - datasets[1]]
+ return [datasets[0].values - datasets[1].values]