You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by hu...@apache.org on 2015/09/10 19:11:26 UTC
[1/2] climate git commit: CLIMATE-669 - OCW spatial_boundary bug
Repository: climate
Updated Branches:
refs/heads/master 31f0ff298 -> 082a3ad67
CLIMATE-669 - OCW spatial_boundary bug
- min and max functions in ocw.dataset.spatial_boundaries are replaced by numpy.min and numpy.max
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/96c7e377
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/96c7e377
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/96c7e377
Branch: refs/heads/master
Commit: 96c7e377dce9c40eca9472e23ccd26fa22c236c3
Parents: 31f0ff2
Author: huikyole <hu...@argo.jpl.nasa.gov>
Authored: Thu Sep 10 10:03:34 2015 -0700
Committer: huikyole <hu...@argo.jpl.nasa.gov>
Committed: Thu Sep 10 10:03:34 2015 -0700
----------------------------------------------------------------------
ocw/dataset.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/climate/blob/96c7e377/ocw/dataset.py
----------------------------------------------------------------------
diff --git a/ocw/dataset.py b/ocw/dataset.py
index e6b0bc6..80be53c 100644
--- a/ocw/dataset.py
+++ b/ocw/dataset.py
@@ -89,8 +89,8 @@ class Dataset:
:class:`float`, :class:`float`).
'''
- return (float(min(self.lats)), float(max(self.lats)),
- float(min(self.lons)), float(max(self.lons)))
+ return (float(numpy.min(self.lats)), float(numpy.max(self.lats)),
+ float(numpy.min(self.lons)), float(numpy.max(self.lons)))
def time_range(self):
[2/2] climate git commit: CLIMATE-669 - OCW spatial_boundary bug
Posted by hu...@apache.org.
CLIMATE-669 - OCW spatial_boundary bug
- min and max functions in ocw.dataset.spatial_boundaries are replaced by numpy.min and numpy.max
Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/082a3ad6
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/082a3ad6
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/082a3ad6
Branch: refs/heads/master
Commit: 082a3ad67f420e94bdc3f2d3f47572f52683cb35
Parents: 31f0ff2 96c7e37
Author: huikyole <hu...@argo.jpl.nasa.gov>
Authored: Thu Sep 10 10:10:29 2015 -0700
Committer: huikyole <hu...@argo.jpl.nasa.gov>
Committed: Thu Sep 10 10:10:29 2015 -0700
----------------------------------------------------------------------
ocw/dataset.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------