This lesson is in the early stages of development (Alpha version)

Python for Atmosphere and Ocean Scientists: Setup


In preparation for this lesson, you will need to download two Python scripts and four netCDF files and place them in a new folder/directory:

  1. Make a new folder in your Desktop called data-carpentry.
  2. Download and and move them into that folder.
  3. Make a new folder in your data_carpentry folder called data. Download the following files and place them in that folder:

Software installation

If your instructor hasn’t sent you instructions on how to install the required software, follow the default Carpentries instructions. You need to install the bash shell, git, text editor and Python.

The conda command is not automatically available using Git Bash. This means that Windows users cannot create and activate a conda environment from the bash shell, which is an option in the first lesson. While this is not a big issue (the first lesson can be completed without creating a new environment), Windows users who would like to be able create and activate conda environments from the bash shell can do so by following one of these two options:

Option 1: Access the bash shell from the Anaconda Prompt using the posix package

Option 2: Update your Anaconda path so that conda is available using Git Bash

Software check

To check that everything is installed correctly, follow the instructions below.

Bash Shell