Danke, es läuft root@wee2:/home/weewx/skins/DWD# ./dwd-mosmix --config=/home/weewx/skins/DWD/dwd.conf --hourly 10162 --verbose Using configuration file /home/weewx/skins/DWD/dwd.conf -- configuration data ---------------------------------- log success: True log failure: True target path: /home/weewx/skins/DWD/dwd horiz. tab: True vertical tab: False icon set: 5 coordinates: lat 53.6059563 lon 11.341407 alt 53.6 ephem.Observer: <ephem.Observer date='2022/2/11 14:13:04' epoch='2000/1/1 12:00:00' lon='11:20:29.1' lat='53:36:21.4' elevation=53.6m horizon=0:00:00.0 temp=15.0C pressure=1010.0mBar> -------------------------------------------------------- successfully downloaded https://opendata.dwd.de/weather/local_forecasts/mos/MOSMIX_L/single_stations/10162/kml/MOSMIX_L_LATEST_10162.kmz -- MOSMIX_L_2022021109_10162.kml -- processing KML file KML file processed, 1 placemarks found
Danke Hartmut [email protected] schrieb am Freitag, 11. Februar 2022 um 15:07:07 UTC+1: > 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','°C'), >>>>> 'TTTmin':('<i class="wi >>>>> wi-thermometer"></i>','Maximaltemperatur','°C'), >>>>> 'TTTmax':('<i class="wi >>>>> wi-thermometer"></i>','Minimaltemperatur','°C'), >>>>> 'TTTavg':('<i class="wi >>>>> wi-thermometer"></i>','Durchschnittstemperatur','°C'), >>>>> 'T5cm':('<i class="wi wi-thermometer"></i>','Temperatur >>>>> 5cm','°C'), >>>>> 'Td':('<i class="wi wi-thermometer"></i>','Taupunkt >>>>> 2m','°C'), >>>>> 'TG':('<i class="wi wi-thermometer"></i>','Minimaltemperatur >>>>> 5cm','°C'), >>>>> 'TM':('<i class="wi >>>>> wi-thermometer"></i>','Durchschnittstemperatur','°C'), >>>>> 'TN':('<i class="wi >>>>> wi-thermometer"></i>','Minimaltemperatur','°C'), >>>>> 'TX':('<i class="wi >>>>> wi-thermometer"></i>','Maximaltemperatur','°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/8f553656-b40f-4e18-a095-1c872116b94an%40googlegroups.com.
