Skip to content

Instantly share code, notes, and snippets.

@oscarperpinan
Created June 13, 2013 10:06
Show Gist options
  • Save oscarperpinan/5772648 to your computer and use it in GitHub Desktop.
Save oscarperpinan/5772648 to your computer and use it in GitHub Desktop.
library(solaR)
## Monthly averages of daily values (Wh/m2)
G0dm <- c(2.766,3.491,4.494,5.912,6.989,7.742,7.919,7.027,5.369,3.562,2.814,2.179)*1000;
Ta <- c(10, 14.1, 15.6, 17.2, 19.3, 21.2, 28.4, 29.9, 24.3, 18.2, 17.2, 15.2)
g0 <- calcG0(lat=37.2, modeRad='aguiar', dataRad=G0dm)
xyplot(g0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment