Day 6 - Thursday, April 17, 2014

Summary: Self-guided tour of Data I/O followed by self-guided tour of Counting Stars lesson from Software Carpentry.


1. Open terminal, create new directories for DataIO and CountingStars work, practice workflow:

$ cd PHYS202-S14
$ git pull origin master
$ git status
$ mkdir DataIO
$ mkdir CountingStars
$ ipynb

2. Navigate to the DataIO directory and create a new notebook called DataIOTour with title cell (Heading 1) Data I/O Tour.

3. Open "DataIO Intro" webpage on PolyLearn in one Browser Window. Follow the self-guided tour, entering code into your DataIOTour notebook as you go. Add markdown cells with your notes, if you like.

No copy/paste!

Type the commands yourself to get the practice doing it. This will also slow you down so you can think about the commands and what they are doing as you type them.

4. Before starting the exercise for the Data I/O notebook, switch to the "Counting Stars" lesson on PolyLearn. It is a separate notebook on data I/O with image files that builds on the "Data I/O Tour".

  • Navigate to the CountingStars directory and create a new notebook called CountingStarsTour for the self-guided tour. Enter code into the notebook as you go, adding markdown cells with your notes, if you like.

5. At the end of the two self-guided tours create new notebooks for the exercises. Open those pages on PolyLearn and complete them in the appropriate notebooks.

They will be due as HW by Wednesday, April 23, 2014 at 11:59pm.

6. Before leaving, save your work in the notebook, then practice your workflow:

$ git status
$ git add .
$ git commit -m "<summary message goes here>"
$ git push origin master
$ git status

Check github to be sure the work got there so you have it for the weekend.


All content is under a modified MIT License, and can be freely used and adapted. See the full license text here.