Step by step instructions to use this repository

We would prefer it if you sign into GitHub and fork the repository. This allows us to know who has used the data for our own interest. We can then also invite you to join the PMIP4 organization on GitHub as a research collaborator. To fork a repository, go to the github page of this repository, and click on the Fork icon.

_images/fork.pngFork button

Using as a data source

You should also just be able to download the individual files from GitHub directly. If the CSV files do not show a download link, you may need to copy and paste the text of the file instead._images/download_raw_data.pngdownload_raw_data

Using as a code and data source

You can download all the code and a sample of data as a single zipped archive from GitHub. _images/download_zip.pngdownload_zip

Using as a interactive application via Docker

Install Docker on your machine

Docker is a piece of software that allow you to run individual applications in their own little container. This means that you can run Linux code, such as this repository, on a Windows or Mac machine. If you are running in a Linux cluster already, you can use the command line version of Docker.

It is somewhat easier to use Docker Desktop. This is graphical application that allows you to run peice of software (called images) by pointing and clicking. You may want to peruse the Docker documentation.

Run the Docker Image

Firstly, you will need to download the image of the software from Docker Hub. You can do this using following command

docker pull chrisbrierley/pmip-p2fvar-analyzer:latest

Secondly you need to run this docker image. You can do this by just pressing the Run button next to the image listing in Docker Desktop. You also need to set up some port-forwarding to allow the Jupyter Notebook talk to your browser…

_images/add_port_forwarding_to_docker.pngPort Forwarding

Access the Jupyter Server (for Python)

By starting the docker image, you have actually started to run a Jupyter server on your machine. This comes installed with the data and series of sensible python packages. You can see which packages exist by looking at the environment.yml file, which determines the contents of the conda environment.

You then need to navigate to your browser. Navigate to http://127.0.0.1:8888/lab?token=PMIP. The “token2 here is used a little like a password and is pre-defined as PMIP. This will then show a directory tree of the repository. Please then navigate the python notebook you want to interact with.

Access the terminal (for NCL)

By starting the docker image, you have actually started to run virtual machine. You can then navigate to its terminal and use NCL in its normal fashion.

Data