You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by go...@apache.org on 2013/06/25 23:39:04 UTC

svn commit: r1496643 - /incubator/climate/trunk/rcmet/src/main/python/rcmes/cli/do_rcmes_processing_sub.py

Author: goodman
Date: Tue Jun 25 21:39:03 2013
New Revision: 1496643

URL: http://svn.apache.org/r1496643
Log:
CLIMATE 159: Fixed improper usage of numpy array indexing

Modified:
    incubator/climate/trunk/rcmet/src/main/python/rcmes/cli/do_rcmes_processing_sub.py

Modified: incubator/climate/trunk/rcmet/src/main/python/rcmes/cli/do_rcmes_processing_sub.py
URL: http://svn.apache.org/viewvc/incubator/climate/trunk/rcmet/src/main/python/rcmes/cli/do_rcmes_processing_sub.py?rev=1496643&r1=1496642&r2=1496643&view=diff
==============================================================================
--- incubator/climate/trunk/rcmet/src/main/python/rcmes/cli/do_rcmes_processing_sub.py (original)
+++ incubator/climate/trunk/rcmet/src/main/python/rcmes/cli/do_rcmes_processing_sub.py Tue Jun 25 21:39:03 2013
@@ -641,7 +641,7 @@ def do_rcmes(settings, params, model, ma
 
             colorRangeMax = metricData.max()
             colorRangeMin = metricData.min()
-            plots.draw_cntr_map_single(metricData['data'][t, :, :], lats, lons, colorRangeMin, colorRangeMax, 
+            plots.draw_cntr_map_single(metricData[t, :, :], lats, lons, colorRangeMin, colorRangeMax, 
                                        mytitle, myfname, cMap = diffcolorbar)