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 2014/11/07 22:39:42 UTC
[5/6] climate git commit: CLIMATE-552 - Clean up imports in local.py
CLIMATE-552 - Clean up imports in local.py
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/55ac1779
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/55ac1779
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/55ac1779
Branch: refs/heads/master
Commit: 55ac17798c071a923ce807cc6fc2e0894e972a8e
Parents: f3badc9
Author: Michael Joyce <jo...@apache.org>
Authored: Fri Nov 7 13:29:14 2014 -0800
Committer: Michael Joyce <jo...@apache.org>
Committed: Fri Nov 7 13:29:14 2014 -0800
----------------------------------------------------------------------
ocw/data_source/local.py | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/climate/blob/55ac1779/ocw/data_source/local.py
----------------------------------------------------------------------
diff --git a/ocw/data_source/local.py b/ocw/data_source/local.py
index e5ac7da..0cbecad 100644
--- a/ocw/data_source/local.py
+++ b/ocw/data_source/local.py
@@ -15,17 +15,18 @@
# specific language governing permissions and limitations
# under the License.
-import re
-import netCDF4
-from ocw.dataset import Dataset
-import numpy
-import numpy.ma as ma
-from datetime import timedelta ,datetime
import calendar
+from datetime import timedelta ,datetime
+import re
import string
+from ocw.dataset import Dataset
import ocw.utils as utils
+import netCDF4
+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']
TIME_NAMES = ['time', 'times', 'date', 'dates', 'julian']