Download presentation
Presentation is loading. Please wait.
Published byBathsheba Price Modified over 9 years ago
1
Anomalies from the monthly mean climatology: Black: actual temperatures Green: climatology Anomalies m depends on the month
2
Anomalies from the monthly mean climatology: Black: actual temperatures Green: climatology Anomalies
3
print(paste(“i=“,i,”, m=“,m, sep=“”)) Note: the results for Albany and Central Park NY are stored in (units for tavg are degree C!) data/USW00014735_tavg_mon_mean_ano.asc data/USW00094728_tavg_mon_mean_ano.asc
4
Note: the results for Albany and Central Park NY are stored in (units for tavg are degree C!) data/USW00014735_tavg_mon_mean_ano.asc data/USW00094728_tavg_mon_mean_ano.asc
5
class07.ppt (pdf): vector dot-product function R: scripts/ vectorfunctions.R myfunctions.R climatology.R, plot_climatology.R climatology.R is an example how to concentrate all user-interactions with the program to a few lines at the top of the program: This makes a program re-usable. Give it a try: change the station name, and the year-range of the calculation for the climatological cycle. You will find an example at the end, how to write results to a data file. plot_climatology.R is a program to plot the results. It shows you how you can read back in the created data file. Note: try these scripts and compare with our previous scripts albany_climatology.R
6
R: monthly mean temperature data (in degree C) data/ USW00014735_tavg_mon_mean_climc_1951-1980.asc USW00014735_tavg_mon_mean_climc_1981-2010.asc USW00094728_tavg_mon_mean_climc_1901-1930.asc USW00094728_tavg_mon_mean_climc_1951-1980.asc USW00094728_tavg_mon_mean_climc_1981-2010.asc The anomalies from the climatological cycle (1981-2010) USW00014735_tavg_mon_mean_ano.asc USW00094728_tavg_mon_mean_ano.asc
7
R: monthly mean temperature data (in degree C) figures/ USW00014735_tavg_mon_mean_climc_1951-1980.pdf USW00014735_tavg_mon_mean_climc_1981-2010.pdf USW00094728_tavg_mon_mean_climc_1901-1930.pdf USW00094728_tavg_mon_mean_climc_1951-1980.pdf USW00094728_tavg_mon_mean_climc_1981-2010.pdf 1951-19801981-2010 1901-1930 1951-19801981-2010
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.