Learn to Work With Time Series Data in Python


Welcome to Week 11!

Welcome to Week 11 of the Earth Analytics Bootcamp course! This week, you will write Python code in Jupyter Notebook to implement another strategy for DRY (i.e. Do Not Repeat Yourself) code: functions.

Learning Objectives

After completing the lessons for Week 11, you will be able to:

  • Open time series data using Pandas in Python
  • Subset data by date and time
  • Resample time series data.

Homework & Readings

Click here to view the GitHub Repo with the assignment template.

Earth Data Science Textbook Readings

Please read the following chapters of the Intermediate to Earth Data Science online textbook to support completing this week’s assignment:

Example Homework Plots

Below are example versions of the plots you will create for your homework.

Three line plots. The top line plot is of daily precipitation from August to October 2013 in Boulder, CO. The middle line plot is of the monthly maximums of hourly precipitation for 2013 near Boulder Creek. The bottom plot is of the monthly total precipitation from 1948-2013 near Boulder Creek.
Three line plots. The top line plot is of daily precipitation from August to October 2013 in Boulder, CO. The middle line plot is of the monthly maximums of hourly precipitation for 2013 near Boulder Creek. The bottom plot is of the monthly total precipitation from 1948-2013 near Boulder Creek.
Three line plots. The top line plot is of daily mean stream discharge from August to October 2013 for Boulder Creek. The middle line plot is of the monthly maximums of daily mean stream discharge for 2013 for Boulder Creek. The bottom plot is of the monthly total of mean stream discharge from 1986-2013 for Boulder Creek.
Three line plots. The top line plot is of daily mean stream discharge from August to October 2013 for Boulder Creek. The middle line plot is of the monthly maximums of daily mean stream discharge for 2013 for Boulder Creek. The bottom plot is of the monthly total of mean stream discharge from 1986-2013 for Boulder Creek.
Two line plots. Top plot is daily total precipitation for August through October of 2013 near Boulder Creek. The bottom plot is the daily mean stream discharge for August through October for Boulder Creek.
Two line plots. Top plot is daily total precipitation for August through October of 2013 near Boulder Creek. The bottom plot is the daily mean stream discharge for August through October for Boulder Creek.