Skip to article frontmatterSkip to article content

Week 2 overview

Learning Objectives:

  1. Version control with git

  2. Tabular datasets

  3. Python libraries

    a. Pandas

    b. Matplotlib

    c. Cartopy

Learning and Participation Activities with Due Dates (Tuesday, Sep. 9, end of day):

  1. Refreshers

    a. Linux command line shell

    b. Jupyterlab

    c. Week 1 Notebook

  2. Intro to version control with git: demonstrated in class

    In a Terminal application, type the following commands:

    git config --global user.name "Your Name"
    git config --global user.email "Your email address"
    git config --global init.defaultBranch main
    git config --global core.autocrlf input
    git config --global core.editor "nano"
  3. Clone the week2 directory in /spare11/atm533/ktyle:

    a. Access the class Jupyterhub server on Turing

    b. In the Launcher, open up a Terminal session

    c. cd to your atm533 folder: Type cd /spare11/atm533/<YourNetID>

    d. Type git config --global --add safe.directory /spare11/atm533/ktyle/week2/.git

    e. Type git clone /spare11/atm533/ktyle/week2

    f. You should then have a week2 folder visible in your atm533 directory, which contains one README.md Markdown file, and two Jupyter notebooks.

  4. Follow these directions:

    a. In the terminal, change directories to your atm533/week2 folder (i.e., this repository)

    b. Create a new “development” branch of this repository: git branch dev

    c. Check out this branch: git checkout dev

    d. Edit the README.md file as directed in that file

    e. Save and close the README.md file

    f. Stage your changes: git add README.md

    g. Commit your changes: git commit -m "Updated README"

    h. Open and run the Helene.ipynb Jupyter notebook.

    i. Open and run the 2024Atlantic_TC.ipynb Jupyter notebook.

    j. Attempt one or more of the Things to Try suggestions in the latter notebook.

    k. Save, stage and commit your edits to this notebook as often as you’d like (more often is better!)

References

  1. Linux command line shell

  2. git and GitHub

    a. Project Pythia

    b. The Carpentries

  3. Pandas

    a. Pandas site

    b. Project Pythia

    c. Pandas Introduction, ATM350

    d. Pandas II, ATM350

  4. Matplotlib

    a. Matplotlib site

    b. Project Pythia

    c. Matplotlib Introduction, ATM350

  5. Cartopy

    a. Cartopy site

    b. Project Pythia

    c. Cartopy Introduction, ATM350

    d. Cartopy II, ATM350

  6. Dates and Times, ATM350