Return-Path: X-Original-To: apmail-climate-commits-archive@minotaur.apache.org Delivered-To: apmail-climate-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58430185FF for ; Thu, 10 Sep 2015 17:11:42 +0000 (UTC) Received: (qmail 80604 invoked by uid 500); 10 Sep 2015 17:11:26 -0000 Delivered-To: apmail-climate-commits-archive@climate.apache.org Received: (qmail 80561 invoked by uid 500); 10 Sep 2015 17:11:26 -0000 Mailing-List: contact commits-help@climate.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@climate.apache.org Delivered-To: mailing list commits@climate.apache.org Received: (qmail 80548 invoked by uid 99); 10 Sep 2015 17:11:26 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Sep 2015 17:11:26 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 53085E0FB7; Thu, 10 Sep 2015 17:11:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: huikyole@apache.org To: commits@climate.apache.org Date: Thu, 10 Sep 2015 17:11:26 -0000 Message-Id: <3e141581832747d78164ea0949654695@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Thu Sep 10 10:03:34 2015 -0700 Committer: huikyole 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):