From a65184e6c600dbcdc5719d19341095bbb015be7b Mon Sep 17 00:00:00 2001 From: Michael Rilee Date: Fri, 22 May 2020 12:37:06 -0400 Subject: [PATCH] Use ccw polygons, please. --- NOTES.md | 2 ++ examples/example-viz-3.py | 4 ++-- setup.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NOTES.md b/NOTES.md index 3ca94c4..64e4154 100644 --- a/NOTES.md +++ b/NOTES.md @@ -1,6 +1,8 @@ # PySTARE Notes +## 2020-05-22 0.4.1 Tweaked a test case. + ## 2020-05-22 0.4.0 Add non convex hull routine. ## 2020-05-01 0.3.6 Add spatial_ helper routines. diff --git a/examples/example-viz-3.py b/examples/example-viz-3.py index ab65450..aa84602 100644 --- a/examples/example-viz-3.py +++ b/examples/example-viz-3.py @@ -102,8 +102,8 @@ def make_nc_hull(lat0,lon0,resolution0): # resolution = 12 resolution = 13 # Lost some triangles! Needed to increase ntri0! resolution5 = resolution; -lat5 = np.array([ -2, -2, -1, -1.5, -1], dtype=np.double) -lon5 = np.array([ 0,1,1,0.5,0], dtype=np.double) +lat5 = np.array([ -2, -2, -1, -1.5, -1], dtype=np.double)[::-1] +lon5 = np.array([ 0,1,1,0.5,0], dtype=np.double)[::-1] lats5,lons5,triang5,hull5 = make_nc_hull(lat5,lon5,resolution5) # lats5,lons5,triang5,hull5 = make_hull(lat5,lon5,resolution5,ntri0) diff --git a/setup.py b/setup.py index fcbaf68..34559d8 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ def run(self): setup( name='pystare', - version='0.4.0', + version='0.4.1', description="", cmdclass={'build_py': build_py}, long_description=LONG_DESCRIPTION,