You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by ja...@apache.org on 2016/06/13 19:17:43 UTC

climate git commit: CLIMATE-804 - normalize_lat_lon_values does not work

Repository: climate
Updated Branches:
  refs/heads/master a20e3947e -> aaa3bc5c4


CLIMATE-804 - normalize_lat_lon_values does not work

- Fix trivial bug in Utils module


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/aaa3bc5c
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/aaa3bc5c
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/aaa3bc5c

Branch: refs/heads/master
Commit: aaa3bc5c49d8908af29446bfb1116c461a4a38e4
Parents: a20e394
Author: Ibrahim <ja...@gmail.com>
Authored: Sun Jun 12 22:12:35 2016 +0530
Committer: Ibrahim <ja...@gmail.com>
Committed: Tue Jun 14 00:46:53 2016 +0530

----------------------------------------------------------------------
 ocw/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/aaa3bc5c/ocw/utils.py
----------------------------------------------------------------------
diff --git a/ocw/utils.py b/ocw/utils.py
index a839a25..37eb444 100755
--- a/ocw/utils.py
+++ b/ocw/utils.py
@@ -217,7 +217,7 @@ def normalize_lat_lon_values(lats, lons, values):
 
     	if lons_reversed:
             lons_out = lons_out[::-1]
-            data_out = data_out[..., ::-1]
+            data_out = data_out[..., :, ::-1]
 
     	if lons_shifted:
             data_out, lons_out = shiftgrid(180, data_out, lons_out, start=False)