Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 99B0C200B49 for ; Wed, 3 Aug 2016 17:40:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9888B160AAD; Wed, 3 Aug 2016 15:40:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E671A160A8C for ; Wed, 3 Aug 2016 17:40:07 +0200 (CEST) Received: (qmail 72655 invoked by uid 500); 3 Aug 2016 15:40:07 -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 72559 invoked by uid 99); 3 Aug 2016 15:40:07 -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; Wed, 03 Aug 2016 15:40:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BE93CEC232; Wed, 3 Aug 2016 15:40:06 +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: Wed, 03 Aug 2016 15:40:08 -0000 Message-Id: In-Reply-To: <7b9f5d6189224dbebc9c8e15f0558441@git.apache.org> References: <7b9f5d6189224dbebc9c8e15f0558441@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/4] climate git commit: revised with shape files archived-at: Wed, 03 Aug 2016 15:40:08 -0000 revised with shape files Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/17d0c6f5 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/17d0c6f5 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/17d0c6f5 Branch: refs/heads/master Commit: 17d0c6f5866e3d7a00beaceff374ee1e8a559859 Parents: 02dfdec Author: huikyole Authored: Tue Aug 2 21:54:42 2016 -0700 Committer: huikyole Committed: Tue Aug 2 21:54:42 2016 -0700 ---------------------------------------------------------------------- ocw/dataset.py | 2 +- ocw/shape/countries.dbf | Bin 0 -> 208900 bytes ocw/shape/countries.prj | 1 + ocw/shape/countries.shp | Bin 0 -> 31413360 bytes ocw/shape/countries.shx | Bin 0 -> 2220 bytes ocw/shape/usa_states.dbf | Bin 0 -> 12962 bytes ocw/shape/usa_states.shp | Bin 0 -> 222344 bytes ocw/shape/usa_states.shx | Bin 0 -> 508 bytes 8 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/dataset.py ---------------------------------------------------------------------- diff --git a/ocw/dataset.py b/ocw/dataset.py index 52e610a..cc2043e 100644 --- a/ocw/dataset.py +++ b/ocw/dataset.py @@ -254,7 +254,7 @@ class Bounds(object): def __init__(self, boundary_type='rectangular', us_states=None, countries=None, user_mask_file=None, mask_variable_name=None, longitude_name=None, latitude_name=None, - lat_min=None, lat_max=None, lon_min=None, lon_max=None, + lat_min=-90, lat_max=90, lon_min=-180, lon_max=180, start=None, end=None): '''Default Bounds constructor :param boundary_type: The type of spatial subset boundary. http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/shape/countries.dbf ---------------------------------------------------------------------- diff --git a/ocw/shape/countries.dbf b/ocw/shape/countries.dbf new file mode 100755 index 0000000..0ecd798 Binary files /dev/null and b/ocw/shape/countries.dbf differ http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/shape/countries.prj ---------------------------------------------------------------------- diff --git a/ocw/shape/countries.prj b/ocw/shape/countries.prj new file mode 100755 index 0000000..f45cbad --- /dev/null +++ b/ocw/shape/countries.prj @@ -0,0 +1 @@ +GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/shape/countries.shp ---------------------------------------------------------------------- diff --git a/ocw/shape/countries.shp b/ocw/shape/countries.shp new file mode 100755 index 0000000..7d40398 Binary files /dev/null and b/ocw/shape/countries.shp differ http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/shape/countries.shx ---------------------------------------------------------------------- diff --git a/ocw/shape/countries.shx b/ocw/shape/countries.shx new file mode 100755 index 0000000..a441100 Binary files /dev/null and b/ocw/shape/countries.shx differ http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/shape/usa_states.dbf ---------------------------------------------------------------------- diff --git a/ocw/shape/usa_states.dbf b/ocw/shape/usa_states.dbf new file mode 100755 index 0000000..ae67cce Binary files /dev/null and b/ocw/shape/usa_states.dbf differ http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/shape/usa_states.shp ---------------------------------------------------------------------- diff --git a/ocw/shape/usa_states.shp b/ocw/shape/usa_states.shp new file mode 100755 index 0000000..4e52c28 Binary files /dev/null and b/ocw/shape/usa_states.shp differ http://git-wip-us.apache.org/repos/asf/climate/blob/17d0c6f5/ocw/shape/usa_states.shx ---------------------------------------------------------------------- diff --git a/ocw/shape/usa_states.shx b/ocw/shape/usa_states.shx new file mode 100755 index 0000000..b707b99 Binary files /dev/null and b/ocw/shape/usa_states.shx differ