climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huiky...@apache.org
Subject [1/3] climate git commit: CLIMATE-771 - Critical bugs in LAT_NAMES and LON_NAMES in local.py
Date Fri, 04 Mar 2016 06:56:45 GMT
Repository: climate
Updated Branches:
  refs/heads/master 212441de3 -> fd6debb27


CLIMATE-771 - Critical bugs in LAT_NAMES and LON_NAMES in local.py

- 'x' in LAT_NAMES and 'y' in LON_NAMES in ocw/data_source/local.py have been switched with
each other.


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

Branch: refs/heads/master
Commit: 0f3e4f2fd80170585079f9755b9224cf755800e7
Parents: d9e3c7e
Author: huikyole <huikyole@argo.jpl.nasa.gov>
Authored: Thu Mar 3 22:41:21 2016 -0800
Committer: huikyole <huikyole@argo.jpl.nasa.gov>
Committed: Thu Mar 3 22:41:21 2016 -0800

----------------------------------------------------------------------
 ocw/data_source/local.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/0f3e4f2f/ocw/data_source/local.py
----------------------------------------------------------------------
diff --git a/ocw/data_source/local.py b/ocw/data_source/local.py
index 34738ac..6445ae9 100644
--- a/ocw/data_source/local.py
+++ b/ocw/data_source/local.py
@@ -31,8 +31,8 @@ import h5py
 import numpy
 import numpy.ma as ma
 
-LAT_NAMES = ['x', 'rlat', 'rlats', 'lat', 'lats', 'latitude', 'latitudes']
-LON_NAMES = ['y', 'rlon', 'rlons', 'lon', 'lons', 'longitude', 'longitudes']
+LAT_NAMES = ['y', 'rlat', 'rlats', 'lat', 'lats', 'latitude', 'latitudes']
+LON_NAMES = ['x', 'rlon', 'rlons', 'lon', 'lons', 'longitude', 'longitudes']
 TIME_NAMES = ['time', 'times', 'date', 'dates', 'julian']
 
 


Mime
View raw message