Nothing
ap <-
function(days, lat, lon, extraT=NULL, A=NA, B=NA, SSD) {
i <- dayOfYear(days)
latt <- radians(lat)
if (is.null(extraT)) extraT <- extrat(i=i,lat=latt)$ExtraTerrestrialSolarRadiationDaily
if (is.na(A)) A <- extract(APa_map, matrix(c(lon,lat),1,2))
if (is.na(A)) stop("Lat/lon outside the coefficient map!")
if (is.na(B)) B <- extract(APb_map, matrix(c(lon,lat),1,2))
if (is.na(B)) stop("Lat/lon outside the coefficient map!")
ap <- extraT*(A+B*(SSD/dayLength(lat=latt,i=i)))
ap
}
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.