Hello,
I'm using SolarPosition function for Solar elevation calculation. The CR1000 datalogger is using GMT time zone but located at longitude 12° 57' West of Greenwich. What is the correct value of TimeOffset parameter.
Thanks
I think you'd use 0 for the offset. Here's a partial program that we use:
constTable
const LATITUDE = 69.94594
const LONGITUDE = -148.66731
const ELEVATION_M = 60
const TZ_HOURS = -9
endConstTable
public solarpos(5)
alias solarpos = sun_azimuth, sun_elevation, hr_angle, declination, air_mass
beginProg
scan(60,sec,0,0)
solarPosition(solarpos, -1, TZ_HOURS*3600, LATITUDE, LONGITUDE, ELEVATION_M, -1, at)
nextScan
endProg
I guess 'at' is for air temperature, not declared or set in the code shown.