Nothing
exd <-
function(i,lat,Con=4.921) {
if (abs(degrees(lat)) < 66.5) {
Sd <- Con*24/pi*corrEarthSunDist(i)*(sin(lat)*sin(solarDecl(i))*daylightTimeFactor(lat=lat,i=i)+cos(lat)*cos(solarDecl(i))*sin(daylightTimeFactor(lat=lat,i=i))) }
if (abs(degrees(lat)) >= 66.5) {
Sd <- vector()
for (ii in 1:length(i)) {
ss <- exh(i=i[ii],lat=lat)
sdi <- sum(ss[ss>0])
Sd <- c(Sd,sdi) }
}
Sd[Sd<0] <- 0
Sd #[MJ]
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.