Answered step by step
Verified Expert Solution
Question
1 Approved Answer
There are four csv files for Philadelphia and State College for January 2019 and January 2020 in the user directory. At the bottom of this
There are four csv files for Philadelphia and State College for January 2019 and January 2020 in the user directory. At the bottom of this document the January normal for each for Tmax, Tmin, Precipitation and total snow for Philadelphia and State College are shown. Write a code which: a.) computes the means of Tmax, Tmin, Precipitation and new snow amounts. If it says trace(T) they must make that equivalent to 0.05. b.) Determine how the monthly computed means Tmax, Tmin, precipitation and snow amount differ from the normal values c.) compute the standard deviation of Tmax, Tmin, Precipitation and Snow. Which city and year has more variability based on the computation. e.) Write a function that converts the column of Tmax from Fahrenheit to Celsius (find the formula) and print out the values. f.) Make a plot with (1) Tmax and Tmin on one plot, (2) daily precipitation and snow amounts on another plot during 2019 and 2020 for each city using python mathplotlib. Phil (clim Normal Tmax 40.3 tmin 25.6 tavg 33.0 hdd 993 Precip 3.03 snow 6.5 - 0 tmin tavg hdd snow State college (clim) Normal Tmax 34. 2 20. 2 27.2 - 1172 0 Precip 2.74 12.5 - hdd- heating degree days Precip (inches) Snow (inches) There are four csv files for Philadelphia and State College for January 2019 and January 2020 in the user directory. At the bottom of this document the January normal for each for Tmax, Tmin, Precipitation and total snow for Philadelphia and State College are shown. Write a code which: a.) computes the means of Tmax, Tmin, Precipitation and new snow amounts. If it says trace(T) they must make that equivalent to 0.05. b.) Determine how the monthly computed means Tmax, Tmin, precipitation and snow amount differ from the normal values c.) compute the standard deviation of Tmax, Tmin, Precipitation and Snow. Which city and year has more variability based on the computation. e.) Write a function that converts the column of Tmax from Fahrenheit to Celsius (find the formula) and print out the values. f.) Make a plot with (1) Tmax and Tmin on one plot, (2) daily precipitation and snow amounts on another plot during 2019 and 2020 for each city using python mathplotlib. Phil (clim Normal Tmax 40.3 tmin 25.6 tavg 33.0 hdd 993 Precip 3.03 snow 6.5 - 0 tmin tavg hdd snow State college (clim) Normal Tmax 34. 2 20. 2 27.2 - 1172 0 Precip 2.74 12.5 - hdd- heating degree days Precip (inches) Snow (inches)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started