Commit 7896fb73 authored by Jon Pye's avatar Jon Pye
Browse files

Merge remote-tracking branch 'origin/master'

Conflicts:
	install_reqs.md
parent f5d655b4
......@@ -20,7 +20,7 @@ will let you download the Natural Earth Quickstart Pack - with layers for most g
Python, cartopy, and owslib are needed. Below we will create a Python virtual environment to hold these things and all their prerequisites. I will try and be OS-agnostic in these instructions, apologies if they are incomplete for your distribution.
*1) Getting Python:*
#### 1) Getting Python:
We'll be using Anaconda for this as it pre-installs a lot of the things we'll need. We'll still have to upgrade a few packages afterward.
......@@ -29,7 +29,7 @@ link: https://store.continuum.io/cshop/anaconda/
Quickstart guide: https://store.continuum.io/static/img/Anaconda-Quickstart.pdf
*2) Now we can use pip to install (most of) the rest of our requirements*
#### 2) Now we can use pip to install (most of) the rest of our requirements
#> pip install owslib
#> pip install shapely --upgrade
......@@ -53,7 +53,7 @@ http://www.kyngchaos.com/software/frameworks#gdal_complete
*3) Installing Cartopy:*
#### 3) Installing Cartopy:
Getting Git:
......@@ -73,7 +73,7 @@ link: http://www.lfd.uci.edu/~gohlke/pythonlibs/ search for cartopy, downloa
*4) Download the examples from the GitLab repo:*
#### 4) Download the examples from the GitLab repo:
link: https://utility.oceantrack.org/gitlab/jdpye/otn-python-visualization/repository/archive.zip
......@@ -86,14 +86,14 @@ Call the script with
### Using the OSGeo Live Virtual Machine:
*1)Download the OSGeo-provided VM with most of this pre-installed:*
#### 1)Download the OSGeo-provided VM with most of this pre-installed:
howto: http://live.osgeo.org/en/quickstart/virtualization_quickstart.html
Your user will be 'user', the password is 'user'
Sudo will prompt you for this.
*2)We still have to update/install various python packages. Right click and open a Terminal, and type:*
#### 2)Update/install various python packages. Right click and open a Terminal, and type:
#> sudo apt-get install python-dev
#> sudo apt-get install git
......@@ -102,19 +102,19 @@ Sudo will prompt you for this.
#> sudo pip install owslib --upgrade
#> sudo pip install matplotlib --upgrade
*3) Grab the latest version of CartoPy*
#### 3) Grab the latest version of CartoPy
#> wget https://github.com/SciTools/cartopy/archive/master.zip
#> unzip master.zip
#> cd cartopy-master/
#> sudo python setup.py install
*4) Download the owslib example from the OTN GitLab*
#### 4) Download the owslib example from the OTN GitLab
#> wget https://utility.oceantrack.org/gitlab/jdpye/otn-python-visualization/repository/archive.zip --no-check-certificate
#> unzip archive.zip
*5) Run the owslib example*
#### 5) Run the owslib example
#> cd otn-python-visualization.git
#> python owslib_example.py
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment