Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

docs

  • Loading branch information...
commit f65e33dacfa5fc22e323aab4c12884a32cfe4304 1 parent f4643de
@zebpalmer authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  weatheralerts/geo.py
View
3  weatheralerts/geo.py
@@ -19,6 +19,7 @@ def __init__(self):
def location_lookup(self, req_location):
'''
returns full location given samecode or county and state. Returns False if not valid.
+
*currently locations are a dictionary, once other geo data is added, they will move to a location class/obj*
'''
location = False
@@ -62,6 +63,7 @@ def getfeedscope(self, geocodes):
def _get_states_from_samecodes(self, geocodes):
'''Returns all states for a given list of SAME codes
+
*Shouldn't be used to determine feed scope, please use getfeedscope()*
'''
states = []
@@ -81,6 +83,7 @@ def _get_states_from_samecodes(self, geocodes):
class SameCodes(object):
'''
Is used to download, parse and cache the SAME codes data from the web.
+
*All interaction with the SAME codes data should be done with the GeoGB object*
'''
def __init__(self):
Please sign in to comment.
Something went wrong with that request. Please try again.