This is a repo for looking how to efficiently perform global LEC analysis.
-
single_point_analysis.ipynb is a nice way to explore how the algorithm works when looking at a single starting point. It visualises the paths taken, and the costs it calculates.
-
australia.ipynb shows how to use the same code to perform an LEC analysis on the scale of Australia, using parallel map functions for speedup.
-
ugs.py has all the code for doing the slightly modified Dijkstra's algorithm
The data was taken from the escape models notebooks.
Checkout this repo, and cd
into it. Then run:
docker run -d -v $PWD:/live/share -p 127.0.0.1:8888:8888 geodels/escape-docker:python3
and then connect to the running JuPyter Notebook server.