Welcome to Week One!
Welcome to the first week the Earth Analytics Python course! This week you will explore data in class related to the 2013 Colorado Floods. In your homework, you will set up
Jupyter Notebook on your laptop and learn how to create a
Jupyter Notebook document and convert it to an
Homework Week 1
For this week’s homework, do the following.
1. Read the Following Articles On Reproducible Science
- Five selfish reasons to work reproducibly - Florian Markowetz
- Computing Workflows for Biologists: A Roadmap
2. Watch A Short Video On the 2013 Floods
This 4 minute video will help you understand what happened during the 2013 floods in Colorado. It will also help you understand the flood data that you will use during the next few weeks of this class.
Before / After Google Earth Fly Through
This 40 second video shows imagery collected before and after the 2013 floods in the Lee Hill Road, Boulder area.
3. Review Open Science Slides
These slides provide and overview of open science. Some of this will be a review from what was covered in the Earth Analytics Bootcamp course that you took in the summer.
4. Review Course Website Lessons
The last part of your homework assignment is to review the homework lessons (see links on the left hand side of this page). Following the lessons, setup
Jupyter Notebook and a
working directory that will contain the data we will use for week one and the rest of the semester on your laptop.
Once everything is setup, complete the second set of lessons which walk you through creating and working with
Jupyter Notebooks and exporting them to
.html format. Some of these lessons will be review from the Earth Analytics Bootcamp course.
Important: Review ALL of the lessons and have your computer setup BEFORE class begins next week. You will be behind if these things are not setup / complete before next week.
5. Setup Python Anaconda on Your Laptop or Access the Jupyter Hub
You have two options to complete activities assigned in this course.
- You can choose to either work on the assignments locally on your computer.
- You can use our Jupyter Hub which contains all of the tools needed to complete the assignments. The course Jupyter Hub will give you access to more computing resources. We can also easily troubleshoot issues if your environment is not working. If you wish to use our course Jupyter Hub please add your github username to the github discussion in Canvas. Your instructor will then provide you with access to the hub.
6. Complete Assignment Below By Wed 5 September 2018 at NOON Mountain Time
After you have complete the tasks above, complete the assignment below. Submit your
.html document and
.ipynb document to Canvas.
Homework Submission: Create A Report Using Jupyter Notebooks + Class Activities
You will complete 3 activities this week. Note that several of these activities will be completed during the class period if you attend class in person or online! You will only be working on the jupyter notebook outside of regular class period.
Part 1 - Jupyter Notebook & HTML
To begin, download the data that you will use for next week’s class. In this download you will find the file:
Submit a Jupyter notebook and
html file following the instructions below to Canvas:
Create a new notebook
.ipynb file in
Jupyter Notebook. Name the file:
wasser-l-week1.ipynb. In your notebook do the following:
- Import the
boulder-precip.csvcsv file using pandas:
- Plot the data.
- Below the code chunk in your document, add TEXT using markdown that describes what the plot that you created shows - summarize what you think the plot shows / tells you about the flood
- Using the skills that you learned in the earth analytics bootcamp course, clean up the plot by adding x and y axis labels and a title.
- NOTE: It is ok if your x axis dates are not formatted properly! You will learn how to deal with that next week in this course.
Export your notebook to
.HTML format. Submit the
.HTML file and the
.ipynb file to CANVAS in the
The following two activities will be completed during our class period. However if you are taking the class remotely - please be sure to complete this as well. It will count towards your participation in this class. Ideally you should work with 1 or 2 other people on this diagram. However if you are in another location and are not able to team up with someone, you can complete this on your own!
Part 2 - Driver / Impact Diagrams & Driver / Impact Data - (5 Participation Points)
Work with 1-2 other people in this class to create a diagram of the 2013 floods that shows the things that contributed to the flood event as they are related to each other (the drivers and impacts). Use the readings for this week, what we discussed in class and what you know about floods to complete this diagram. When you are happy with your diagram, create a digital version of it (take a picture using a phone, scan it, make your diagram in a digital format). When you are finished, go to Piazza. Create a post in the Flood Diagram Discussion on Canvas. In that post embed your flood diagram image.
Note - to embed an image in canvas, you have to:
- Add it to your files in canvas. To do this click on the Files link on the left hand side of canvas. Then upload the diagram.
- Once the diagram is uploaded to your files, you can embed it in your discussion post.
IMPORTANT: Only one person needs to post the diagram. If you worked in a group, please RESPOND to this post saying “I am also in this group” so I can give you credit for your participation.
When everyone has posted - scroll through ALL of the diagrams and select 3 diagrams that you like and be sure to like the post.
Part 3 - Activity: Drivers and Impacts Quantified - (5 Participation Points)
This activity is also completed during the class period. If you are taking the course remotely be sure to also complete this for your homework. Please work in the same group that you worked in for the flood diagram above.
Complete the google earth activity. Then as a group (or individually), discuss the following questions.
- What differences do you see in the landscape between 2012 and 2013?
- For each difference: What do you think caused that difference?
- For each difference: How can you quantitatively record the difference?
- For each CAUSE listed above, could you somehow quantitatively record the “size” or impact of the cause?
- Was the cause - caused by something else (i.e. did something else DRIVE the cause)?
Now, go to Canvas. In the
Google Earth -- Flood Drivers and Impacts Activity discussion create a reply that includes:
- Atleast 3 differences or changes that your group noticed in the imagery.
- What data you could use to quantify each different that you noticed.
- What might have caused that change in the landscape?
- How would you measure that driver that caused the change in the landscape.
Consider organizing your response in a table like the one below. Do not use the example below in your piazza post UNLESS you can come up with another way to quantify how many (or the degree to which) trees were lost! Also note the example provided below is using manually measured data. You may know of other ways to measure tree loss.
An example table that shows what you might post:
|Difference||Data you can use to quantify the change||What drove the change||How could you quantify that driver|
|Trees are missing after the flood||human field survey of trees||Large boulders swept downstream by flood waters||changes in terrain pre-post flood|
IMPORTANT: Only one person in the group needs to post the table. Each other member should reply with the words “I am in this group” to get credit.
Your Homework Plot Should Look Something Like This
It is OK if the dates are not formatted properly on your plot. You will learn how to handle dates next week!