Skip to content

Commit

Permalink
Merge pull request #58 from pytroll/feature-yaml-areas
Browse files Browse the repository at this point in the history
Add support for areas in yaml format
  • Loading branch information
djhoese committed Apr 27, 2017
2 parents e26a3cd + 1e5045c commit 92d19e5
Show file tree
Hide file tree
Showing 8 changed files with 352 additions and 109 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- '2.6'
- '2.7'
- '3.3'
- '3.4'
Expand All @@ -11,11 +10,6 @@ before_install:
- sudo apt-get install libfreetype6-dev
- sudo apt-get install libgeos-3.3.8 libgeos-c1 libgeos-dev
install:
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install "matplotlib<1.5.0"; fi
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install unittest2; fi
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install importlib; fi
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install "sphinx<1.5.0"; fi
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install "pillow<4.0.0"; fi
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install "matplotlib>=1.5.0"; fi
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then pip install "sphinx>=1.5.0"; fi
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install "matplotlib<1.5.0"; fi
Expand Down
30 changes: 30 additions & 0 deletions docs/areas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
ease_sh:
description: Antarctic EASE grid
projection:
a: 6371228.0
units: m
lon_0: 0
proj: laea
lat_0: -90
shape:
height: 425
width: 425
area_extent:
lower_left_xy: [-5326849.0625, -5326849.0625]
upper_right_xy: [5326849.0625, 5326849.0625]
units: m
ease_nh:
description: Arctic EASE grid
projection:
a: 6371228.0
units: m
lon_0: 0
proj: laea
lat_0: 90
shape:
height: 425
width: 425
area_extent:
lower_left_xy: [-5326849.0625, -5326849.0625]
upper_right_xy: [5326849.0625, 5326849.0625]
units: m
Loading

0 comments on commit 92d19e5

Please sign in to comment.