Hi Adam, I tried the changes Tom said to look at, that seems to only alter the sunrise by seconds, at least it showed no difference to me. The sunrise was at 08:24 before the change and 08:24 after the change. My problem must be something much simpler. Since my first post we have changed from winter time to daylight savings time, yesterday morning. All of my unix boxes changed time just fine and their times are correct, including the one weewx is running on. All boxes run ntp. I was up before the sun came up this morning and it came up at 06:50, just as all of the weather stations in my area are reporting. Weewx is reporting the sunrise at 08:24, one hour and 14 minutes slow. My first thoughts were daylight savings time, but the 14 minutes put me off of those thoughts.
Here is a snippet from weex.conf
[Station]
#
# This section is for information about your station
#
location = "Au i. d. Hallertau, Oberbayern, Deutschland"
# Latitude, longitude in decimal degrees
latitude = 48.560
longitude = -11.784
# latitude = 48.560735
# longitude = -11.784903
# Altitude of the station, with unit it is in. Normally this is
# downloaded from the station, but not all hardware supports this.
# altitude = 476 meter
Output from "sudo ./wee_config_vantage /etc/weewx/weewx.conf --info"
Davis Vantage EEPROM settings:
CONSOLE TYPE: VantagePro2
CONSOLE FIRMWARE:
Date: Apr 16 2012
Version: 3.00
CONSOLE SETTINGS:
Archive interval: 600 (seconds)
Altitude: 1561 (meter)
Wind cup type: large
Rain bucket type: 0.2 MM
Rain year start: 1
Onboard time: 2013-04-01 09:11:21
CONSOLE DISPLAY UNITS:
Barometer: hPa
Temperature: degree_10F
Rain: mm
Wind: km_per_hour
CONSOLE STATION INFO:
Latitude (onboard): 48.5
Longitude (onboard): 11.7
Time zone code: 20
Use manual or auto DST? AUTO
DST setting: N/A
GMT offset: +1.0 hours
Use GMT offset or time zone? TIME_ZONE
RECEPTION STATS:
Total packets received: 12909
Total packets missed: 0
Number of resynchronizations: 0
Longest good stretch: 12909
Number of CRC errors: 0
BAROMETER CALIBRATION DATA:
Current barometer reading: 29.661 inHg
Altitude: 1561 feet
Dew point: 42 F
Virtual temperature: 72 F
Humidity correction factor: 19
Correction ratio: 1.056
Correction constant: +0.002 inHg
Gain: 0.000
Offset: -49.000
H,mmmmm just noticed that the altitude in the ouput from the station is wrong
1561 (meter) -- should be 476 meter, but 476 meter = 1561.67979 feet
Could that be the problem? No, that would make the sun come up earlier wouldn't it. Looks like it is just a cosmetic problem.
I checked the console, it says 476 meter, just like I input it back when I first configured the station.
date on my unix system returns:
Mon Apr 1 09:25:50 CEST 2013
ntpdc> sysinfo
system peer:
europium.canonical.comsystem peer mode: client
leap indicator: 00
stratum: 3
precision: -23
root distance: 0.07761 s
root dispersion: 0.05579 s
reference ID: [91.189.94.4]
reference time: d503b1cb.d43b1059 Mon, Apr 1 2013 9:12:11.829
system flags: auth monitor ntp kernel stats
jitter: 0.002884 s
stability: 0.000 ppm
broadcastdelay: 0.000000 s
authdelay: 0.000000 s
I don't know what else would effect the sunrise calculation, hope someone has a good idea.
Thanks in advance,
Dave Vaughan
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------