Module Expr Str ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad While CompareLtE NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad While CompareGtE NameLoad NameLoad body Expr Yield TupleLoad NameLoad NameLoad AugAssignSub NameStore Num AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Str Assign NameStore BinOpMod NameLoad TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr Slice Num Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad SubscriptLoad Call NameLoad NameLoad Slice Num Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str If Call NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If Call NameLoad NameLoad body Return NameLoad If UnaryOpNot Call NameLoad NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad Num Assert Call NameLoad NameLoad Print NameLoad Str NameLoad Str Assign NameStore Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareIn AttributeLoad NameLoad attr Call NameLoad Num Num body Print Call NameLoad NameLoad Str NameLoad Return NameLoad Assert CompareEq AttributeLoad NameLoad attr Num TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad Call NameLoad NameLoad keyword Str attr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Return ListComp NameLoad comprehension NameStore NameLoad NameLoad decorator_list
N/A N/A  Starting point for DEM retrieval utilities.
 sys stderr math floor ceil log os unlink close write makedirs chmod os.path basename exists isdir join httplib HTTPConnection urlparse urlparse StringIO StringIO gzip GzipFile hashlib md5 TileStache.Geography SphericalMercator osgeo gdal osr N/A ideal_zoom 7 N/A N/A N/A osr UseExceptions N/A sref N/A N/A osr SpatialReference N/A N/A N/A sref ImportFromProj4 +proj=longlat +ellps=GRS80 +datum=NAD83 +no_defs quads N/A N/A minlon minlat maxlon maxlat N/A N/A N/A  Generate a list of northwest (lon, lat) for 1-degree quads of NED 10m data.
     N/A lon N/A floor minlon N/A N/A lon maxlon N/A N/A lat N/A ceil maxlat N/A N/A lat minlat N/A N/A N/A N/A lon lat N/A lat 1 N/A lon 1 N/A datasource N/A N/A lat lon source_dir N/A N/A N/A  Return a gdal datasource for a NED 10m lat, lon corner.
    
        If it doesn't already exist locally in source_dir, grab a new one.
     N/A fmt http://ned.stamen.com/1km/n%02dw%03d.tif.gz N/A url N/A fmt N/A N/A abs lat N/A abs lon N/A N/A s host path p q f N/A urlparse url N/A local_dir N/A N/A N/A N/A md5 url hexdigest N/A 3 N/A local_dir N/A join source_dir local_dir N/A local_base N/A join local_dir N/A N/A basename path N/A -7 N/A local_path N/A local_base .tif N/A local_none N/A local_base .404 N/A N/A exists local_path N/A N/A N/A N/A gdal Open local_path N/A gdal GA_ReadOnly N/A N/A exists local_none N/A N/A None N/A N/A N/A exists local_dir N/A N/A N/A makedirs local_dir N/A N/A chmod local_dir 511 N/A N/A isdir local_dir N/A stderr Retrieving url in DEM.NED1km.datasource(). N/A conn N/A HTTPConnection host 80 N/A N/A N/A conn request GET path N/A resp N/A N/A conn getresponse N/A N/A N/A resp status N/A range 400 500 N/A N/A N/A open local_none w url N/A None N/A N/A N/A resp status 200 N/A N/A resp status N/A N/A resp read N/A body N/A StringIO N/A N/A resp read N/A file N/A GzipFile fileobj body mode r N/A N/A N/A N/A open local_path mode w write N/A N/A file read N/A N/A N/A gdal Open local_path N/A gdal GA_ReadOnly N/A datasources N/A N/A minlon minlat maxlon maxlat source_dir N/A N/A N/A  Retrieve a list of SRTM1 datasources overlapping the tile coordinate.
     N/A lonlats N/A quads minlon minlat maxlon maxlat N/A sources N/A N/A datasource lat lon source_dir N/A N/A lon lat lonlats N/A N/A ds N/A ds sources ds N/A