Week 2 overview
Contents
Week 2 overview¶
Learning Objectives:¶
Geoscientific Python Software Ecosystem Foundational Packages:
NumPy
Matplotlib
Git and GitHub: First steps
Learning and Participation Activities with Due Dates (Tuesday, Tue. Sep. 6, Noon EDT):¶
Run through an example Jupyter notebook that has been placed in your /home/<netid>/atm533/week1 folder:
a. Log into our primary Jupyterhub server for the class: https://turing.atmos.albany.edu:8000
b. When prompted, enter your UAlbany NetID (use lower-case) and the associated password
c. In the Jupyterlab instance that should load after several seconds, browse to your atm533 folder
d. Double click on the Week 1 folder
e. Double-click on the NYSM_Hourly_Map.ipynb file
f. Run through the entire notebook cell-by-cell
g. Close and halt the notebook when done
h. Close the browser tab
Note: Here is a link to a fully-executed and rendered version of the NYSM_Hourly_Map notebook
Initialize your Git settings on our DAES Linux systems:
a. Log into your DAES linux account
Check your email for links to two videos that describe how to log in via Secure-Shell (aka, ssh) to our remotely-accessible Linux servers, ash and reed.
Alternatively, you can log in to our Jupyterhub servers and then click on Terminal to open an interactive command-line terminal session (if you took ATM350 last spring, you will be familiar with this method already!)b. Type the following commands:
git config --global user.name "Your Name" git config --global user.email "Your email address" git config --global core.autocrlf true git config --global init.defaultBranch main
Use git to make a copy of the example notebook in my week2 directory:
a. While logged in to your DAES Linux account, type:
atm533
b. Type the following:
git clone /spare11/atm533/ktyle/week2
c. You should now have a week2 directory in your atm533 folder.
Work through the example notebook:
For those of you who took ATM350 last spring, this is the same notebook we covered during Week 6 of that semester.a. Open up a JupyterLab session on Turing
b. Browse to your atm533/week2 directory
c. Double-click on the 01_MatplotlibIntro.ipynb notebook
d. Run through the notebook.
e. There is one Question cell and two Exercise cells in the notebook. When you are ready, add your own code cell to address each of these items.
f. Save your modified notebook
g. Shutdown and close your modified notebook
Read the following chapters in the Project Pythia Foundations Jupyterbook:
a. NumPy
b. Matplotlib
The first Matplotlib notebook very closely resembles the notebook you work though in step 4 above, up until the Scatterplot section, so please focus your attention from that point in the notebook.You are strongly encouraged to create your own new notebooks for each of the complete Foundational notebooks above and type in the code cells yourselves ... this will help build your coding muscle memory!
Read the first three chapters in the Getting Started with GitHub section of Project Pythia Foundations:
c. GitHub Issues & Discussions
Post any questions you have on the Week 2 Thread on the Blackboard Class Community Forum.