Commit 61e74fc0 authored by Jonathan Mattingly's avatar Jonathan Mattingly
Browse files

expaned example

parent fa61b1e8
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
import Atlas
import json
import helper_functions as hf
    
#atlas=Atlas.openAtlas("./test.jsonl.gz")
atlas = Atlas.openAtlas("./truncated_nc_multiscale.jsonl")


pctDataF = open("pct21_20cen_wMCD.json")
pctData = json.load(pctDataF)

atlas=Atlas.openAtlas("./test.jsonl.gz")
print(atlas)
map=[]
print("\n")
@@ -9,6 +16,8 @@ while map!=None:
    map=Atlas.nextMap(atlas)
    print(map)
    print("\n")
    node_to_dist = hf.get_node_to_district(map.districting, 
                                               pctData["nodes"])



+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.