gsa2017
This repository was born as a stripped-down fork of the King's Geocomputation repository. Its purpose it to keep track of changes to the .yml
file used for setting up a conda environment which turned out to be necessary during Spatial Analysis tutorials in Spring 2018. It should provide a place from which an up-to-date working version of the environment can be retrieved and installed.
On Unix run:
curl https://raw.githubusercontent.com/alanecode/gsa2017/master/setup.yml -o setup.yml
conda env create -f setup.yml
On Windows, download setup.yml
and run conda env create -f setup.yml
This will create a new environment called gsa2017sa
intended to be used for Spatial Analysis tutorials. This will probably need to be augmented to also accomodate all modules needed for Applied Geocomputation and Spatial Analysis. E.g. At the time of writing, SOMPY is not included in the gsa2017sa
environment.
Remember: when installing on one of KCL's Windows machines, it is necessary to run the following commands in the Anaconda prompt to persuade Jupyter to provide the new environment as a kernel option:
activate gsa2017sa
python -m ipykernel install --name gsa2017sa --display-name "gsa2017sa"
Change log
-
Attempted a compromise between the forked geocomputation version of
setup.yml
and the version Chen posted to KEATS on 2017-02-01 which includes a working version ofgeorasters
and is tested on Windows. There may be some parts of this merge which don't work for modules needed for Applied Geocomputation, including SOMPY. -
Added the module
pointpats
installed usingpip
. This module contains thePointPattern
object which was formerly included in the PySAL modulepysal.contrib.points.pointpattern
before the PySAL refactoring effort. After this inclusion, it should be possible to importPointPattern
usingfrom pointpats import PointPattern
.
TODO
- 2017-02-13 Test
gsa2017sa
on Windows