Installing Python for Processing Data
For
this training, we will be showcasing the use of Python, a programming
language, for data visualisation and analysis. In preparation for this.
Below you will find a series of short videos outlining the steps you
need to take. To make the installation of Python as easy as possible we
are going to use the Anaconda system. The link to the Anaconda
website, referenced in the video is here.
Once you have installed Anaconda we will need to install some Python libraries or Modules. The list of modules that are required for the course are below with example commands for installation.
Modules to install (required):
- numpy
- scipy
- cartopy
- matplotlib
- xarray
- netcdf4
- ipython
- jupyter
Modules to install (optional):
The video below walks you
through the process needed. Please work your way through the list
installing packages. Don't worry if you run into problems, the forum at
the end of this section is there for you to use if you need any
assistance..
Step 3: Downloading the Training Code
For this training, we will be using a system called Jupyter Notebooks.
Jupyter allows us to show code and explanatory text in the same page.
The code is also runnable, allowing you to get experience with executing
Python code in a self-contained environment. So that you have access to
all the same resources during the course, the next video will walk you
through downloading and extracting a zip file of Jupyter notebooks.
Excellent beginners guide to GIT: https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners.
The code can be downloaded from Github here. For
the final part of this section we are going to combine all the work we
have done in the previous videos and test the installation to see if it
works: