Data Analysis 1

We are interested in understanding the monthly variation in precipitation in Gainesville, FL. We’ll use some data from the NOAA National Climatic Data Center.

Start by downloading the data and saving it in the same directory as your homework script. Each row of this data file is a year (from 1961-2013) and each column is a month (January-December).

Rearrange the following program so that it:

a. Imports the necessary modules b. Imports the data c. Calculates the average precipitation in each month across years d. Plots the monthly averages as simply line plot

import numpy as np
monthly_mean_ppt = ppt_data.mean(axis=0)
ppt_data = np.loadtxt("gainesville_precip.csv", delimiter=',')
import matplotlib.pyplot as plt