solarpos-methods

0th

Percentile

Solar position methods

The solarpos methods return values of azimuth and elevation for solar position for spatial position and date/time values.

Keywords
methods, spatial
See Also

crepuscule-methods, solarnoon-methods, sunriset-methods

Aliases
  • solarpos-methods
  • solarpos
  • solarpos,ANY-method
  • solarpos,SpatialPoints,POSIXct-method
  • solarpos,matrix,POSIXct-method
Examples
## Location of Helsinki, Finland, in decimal degrees,
## as listed in NOAA's website
hels <- matrix(c(24.97, 60.17), nrow=1)
Hels <- SpatialPoints(hels, proj4string=CRS("+proj=longlat +datum=WGS84"))
d041224 <- as.POSIXct("2004-12-24", tz="EET")
solarpos(hels, as.POSIXct(Sys.time(), tz="EET"))
solarpos(Hels, as.POSIXct(Sys.time(), tz="EET"))
Documentation reproduced from package maptools, version 0.6-3, License: GPL version 2 or later (R and interface code), MIT (shapelib code)

Community examples

Looks like there are no examples yet.