climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1521543 - /incubator/climate/trunk/ocw/metrics.py
Date Tue, 10 Sep 2013 16:39:49 GMT
Author: joyce
Date: Tue Sep 10 16:39:49 2013
New Revision: 1521543

URL: http://svn.apache.org/r1521543
Log:
CLIMATE-290 - Fix invalid dataset reference in TemporalStdDev

Modified:
    incubator/climate/trunk/ocw/metrics.py

Modified: incubator/climate/trunk/ocw/metrics.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/ocw/metrics.py?rev=1521543&r1=1521542&r2=1521543&view=diff
==============================================================================
--- incubator/climate/trunk/ocw/metrics.py (original)
+++ incubator/climate/trunk/ocw/metrics.py Tue Sep 10 16:39:49 2013
@@ -93,4 +93,4 @@ class TemporalStdDev(UnaryMetric):
         :returns: The temporal standard deviation of the target dataset
         :rtype: Numpy Array
         '''
-        return datasets[0].values.std(axi=0, ddof=1)
+        return target_dataset.values.std(axi=0, ddof=1)



Mime
View raw message