diff globalneighbors/grid.py @ 5:7e27e874655b

test a larger grid + move distance insertion to its own function
author Jeff Hammel <k0scist@gmail.com>
date Sat, 24 Jun 2017 15:16:10 -0700
parents 1b94f3bf97e5
children 254195d0bac2
line wrap: on
line diff
--- a/globalneighbors/grid.py	Sat Jun 24 14:48:55 2017 -0700
+++ b/globalneighbors/grid.py	Sat Jun 24 15:16:10 2017 -0700
@@ -35,5 +35,10 @@
         """
         return neighbors of points i, j
         """
+        imat = []
+        jmat = []
+
+        # latitude
         if i:
+            imat.append(i-1)
             raise NotImplementedError('TODO')