Computes surface reflectance
The fraction of surface reflectance at the air-water interface is calculated as a function of solar zenith angle following Kirk (2011).
The date and time over which to calculate reflectance. Date and time must be in the ISO format with the timezone set to UTC, see examples.
Latitude in decimal degrees. Northern hemisphere is positive.
Longitude in decimal degrees. Eastern hemisphere is positive.
Time zone, west is negative. See Details.
Timezone refers to hours relative to UTC. There is currently no provision for daylight savings time.
A two column matrix specifying the decimal day of year and the fraction of surface reflectance.
Greg M. Silsbe Sairah Y. Malkin
Kirk, J.T.O., 2011. Light and photosynthesis in aquatic environments. Cambridge Press.
1 2 3 4 5 6 7 8 9 10 11 12 13
#Calculate surface reflectance in 10 minute increments #for Godthabsfjord fjord, Greenland on March 1 #Setup date sequence date <- seq(ISOdatetime(2013,3,1,0,0,0,tz="UTC"), ISOdatetime(2013,3,2,0,0,0,tz="UTC"), by = "10 min") #Call the function ref <- reflectance(date,64.20,-51.76,-3) #Plot data plot(ref[,1],ref[,2],type="l",xlab="Day of Year",ylab="Surface Reflectance")
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.