Ich habe es gefunden. Pyephem erwartet die Koordinaten in Radiant und nicht 
in Grad, wie ich sie übergeben habe. Ich habe einen Fix hochgeladen.

[email protected] schrieb am Freitag, 11. Februar 2022 um 14:38:05 UTC+1:

> Nachtrag nach Neustart
> root@wee2:/home/weewx/skins/DWD# ./dwd-mosmix 
> --config=/home/weewx/skins/DWD/dwd.conf --hourly 10162
> Using configuration file /home/weewx/skins/DWD/dwd.conf
> error calculation sunrise, sunset: 'Sun' transits below the horizon at 
> 2022/2/11 16:54:56
> error calculation sunrise, sunset: 'Sun' transits below the horizon at 
> 2022/2/11 16:54:56
> error calculation sunrise, sunset: 'Sun' transits below the horizon at 
> 2022/2/11 16:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
> error calculation sunrise, sunset: 'Sun' is still above the horizon at 
> 2022/2/12 04:54:56
>  wenn ich die Werte für  lat und log vertausche kein Fehlermeldung
>
> Hartmut
>
> [email protected] schrieb am Freitag, 11. Februar 2022 um 14:31:13 UTC+1:
>
>> Die Einstellung für Breitengrad (latitude) = 53.605956 (N) und Längengrad 
>> (longitude) = 11.341407 (E) steht in der weewx.conf
>>
>> [Station]
>>
>>     # Description of the station location
>>     location = Klein Rogahn, Fritz-Reuter-Ring 38
>>
>>     # Latitude and longitude in decimal degrees
>>     latitude = 53.6059563
>>     longitude = 11.341407
>>
>>     # Altitude of the station, with unit it is in. This is downloaded from
>>     # from the station if the hardware supports it.
>>     altitude = 53.6, meter
>>
>>
>> Stationsdaten ♦ 
>>
>> Hardware Vantage Pro2 
>> geogr. Breite 53° 36.36' N 
>> geogr. Länge 011° 20.48' O 
>> Höhe ü. NN 53 m 
>> Server-Laufzeit  37 Tage, 8 Stunden, 5 Minuten 
>> WeeWX-Laufzeit 0 Tage, 7 Stunden, 30 Minuten 
>> WeeWX-Version 4.6.2 
>> Skin  Seasons 4.6.2
>>
>> Hartmut
>> [email protected] schrieb am Freitag, 11. Februar 2022 um 13:42:35 UTC+1:
>>
>>> Vielen Dank für die Hinweise. Die fehlenden Tags habe ich ergänzt. Bei 
>>> der Berechnung von
>>> Sonnenaufgang und Sonnenuntergang habe ich eine Fehlerbehandlung 
>>> ergänzt. Mir ist aber
>>> trotzdem nicht klar, wie er auf die Idee kommt, daß wir am 12.2.2022 
>>> 04:54:56 Polartag
>>> haben. Stimmen die Stationskoordinaten in weewx.conf?
>>>
>>> [email protected] schrieb am Freitag, 11. Februar 2022 um 08:20:45 
>>> UTC+1:
>>>
>>>> Guten Morgen, 
>>>> die Datei dwd-mosmix 
>>>> ./dwd-mosmix --config=/home/weewx/skins/DWD/dwd.conf --hourly 
>>>> --icon-set="dwd" 10162
>>>>
>>>> erzeugt den Fehler
>>>>
>>>> Using configuration file /home/weewx/skins/DWD/dwd.conf
>>>> Traceback (most recent call last):
>>>>   File "/home/weewx/skins/DWD/./dwd-mosmix", line 956, in <module>
>>>>     
>>>> dwd.write_html(mos,['TTT','FF','DD','RR1c','R101','PPPP','Rad1h'],options.dry_run,range=11,lang=options.lang)
>>>>   File "/home/weewx/skins/DWD/./dwd-mosmix", line 543, in write_html
>>>>     rising = self.thislocation.next_rising(self.sun)
>>>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 497, in 
>>>> next_rising
>>>>     return self._riset_helper(body, start, use_center, True, False)
>>>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 472, in 
>>>> _riset_helper
>>>>     d0 = visit_antitransit()
>>>>   File "/usr/lib/python3/dist-packages/ephem/__init__.py", line 421, in 
>>>> visit_antitransit
>>>>     raise AlwaysUpError('%r is still above the horizon at %s'
>>>> ephem.AlwaysUpError: 'Sun' is still above the horizon at 2022/2/12 
>>>> 04:54:56
>>>>
>>>> desweiteren fehlt bei
>>>>     OBS_LABEL = {
>>>>         'ww':('','',''),
>>>>         'TTT':('<i class="wi wi-thermometer"></i>','Temperatur 
>>>> 2m','&deg;C'),
>>>>         'TTTmin':('<i class="wi 
>>>> wi-thermometer"></i>','Maximaltemperatur','&deg;C'),
>>>>         'TTTmax':('<i class="wi 
>>>> wi-thermometer"></i>','Minimaltemperatur','&deg;C'),
>>>>         'TTTavg':('<i class="wi 
>>>> wi-thermometer"></i>','Durchschnittstemperatur','&deg;C'),
>>>>         'T5cm':('<i class="wi wi-thermometer"></i>','Temperatur 
>>>> 5cm','&deg;C'),
>>>>         'Td':('<i class="wi wi-thermometer"></i>','Taupunkt 
>>>> 2m','&deg;C'),
>>>>         'TG':('<i class="wi wi-thermometer"></i>','Minimaltemperatur 
>>>> 5cm','&deg;C'),
>>>>         'TM':('<i class="wi 
>>>> wi-thermometer"></i>','Durchschnittstemperatur','&deg;C'),
>>>>         'TN':('<i class="wi 
>>>> wi-thermometer"></i>','Minimaltemperatur','&deg;C'),
>>>>         'TX':('<i class="wi 
>>>> wi-thermometer"></i>','Maximaltemperatur','&deg;C'),
>>>>
>>>> </i>
>>>>
>>>> Hartmut
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b7c6b82f-b43a-4b4d-bba5-3e35f3ed4bc7n%40googlegroups.com.

Reply via email to