# Week 2 overview ## Learning Objectives: 1. Version control with [git](https://git-scm.com/) 1. Python libraries a. **Matplotlib** b. **Cartopy** ## Learning and Participation Activities with Due Dates (Tuesday, Sep. 5, 3PM EDT): 1. 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.editor "nano" ``` 1. Clone the `week2` directory in `/spare11/atm533/ktyle`: a. Access the [class Jupyterhub server on Turing](https://turing.atmos.albany.edu:8000) b. In the *Launcher*, open up a *Terminal* session c. cd to your `atm533` folder d. Type `git clone /spare11/atm533/ktyle/week2` e. You should then have a `week2` folder visible in your `atm533` directory, which contains one `README.md` Markdown file. 1. 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 complete the `Franklin.ipynb` Jupyter notebook as directed. i. Save, stage and commit your edits to this notebook as often as you'd like (more often is better!) ## References 1. **git** and **GitHub** a. [Project Pythia](https://foundations.projectpythia.org/foundations/getting-started-github.html) b. [The Carpentries](https://swcarpentry.github.io/git-novice/) 1. **Matplotlib** a. [Matplotlib site](https://matplotlib.org/) b. [Project Pythia](https://foundations.projectpythia.org/core/matplotlib.html) c. [ATM350](https://www.atmos.albany.edu/facstaff/ktyle/atm350/core/week5/01_MatplotlibIntro.html) 1. **Cartopy** a. [Cartopy site](https://scitools.org.uk/cartopy/) b. [Project Pythia](https://foundations.projectpythia.org/core/cartopy.html) c. [ATM350 Cartopy 1](https://www.atmos.albany.edu/facstaff/ktyle/atm350/core/week7/01_Cartopy_Introduction.html) d. [ATM350 Cartopy 2](https://www.atmos.albany.edu/facstaff/ktyle/atm350/core/week8/02_Cartopy_NYSMesonet.html)