Commit eedb30e3 authored by Claas Faber's avatar Claas Faber
Browse files

Add new file

parent 4d5b6915
Loading
Loading
Loading
Loading

README.md

0 → 100644
+72 −0
Original line number Diff line number Diff line
# ISOS DM-tools Git & Jupyer Notebook course materials

## Set up an anaconda installation

(Lending from: https://medium.com/@rabernat/32d58c63aa95)

### Download Miniconda3

Get the latest Miniconda3 installer from https://conda.io/miniconda.

On (64 bit) Unix/Linux/Mac:

```bash
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3.sh
```

### Install Miniconda3

On Unix/Linux/Mac (automatically accepts license, and adds to path):

```bash
bash miniconda3.sh -b -p $HOME/miniconda export PATH="$HOME/miniconda/bin:$PATH"
```

### Install the environment

There is an environment file
[dm-tools_py3.yml](dm-tools_py3.yml) containing
everything needed to run the course material:

```yml
name: python-intro
channels:
  - conda-forge
dependencies:
  - python=2.7
  - anaconda-client
  - basemap
  - cmocean
  - ipython
  - jupyter
  - matplotlib
  - netCDF4
  - numpy
  - pandas
  - psycopg2
  - seaborn
  - xarray
```

On Unix/Linux/Mac, create the environment using

```bash
conda env create --file dm-tools_py3.yml
```

### Activate the environment

On Unix/Linux/Mac:

```bash
source activate dm-tools_py3
```

### De-activate the environment

On Unix/Linux/Mac:

```bash
source deactivate 
```