mirror of
https://github.com/dewomser/Wettervorhersage.git
synced 2026-03-11 06:54:45 +01:00
Timedisplay is now localtime no more UTC
This commit is contained in:
parent
c6e3d1be55
commit
ce0d11af19
2 changed files with 7 additions and 4 deletions
|
|
@ -1,12 +1,15 @@
|
||||||
set title "Wettervorhersage für Worms. Erstellt: " .strftime("%d.%b %Y %H:%M", time(0)+7200)
|
#set title "Wettervorhersage für Worms. Erstellt: " .strftime("%d.%b %Y %H:%M", time(0)+7200)
|
||||||
set datafile separator ','
|
set datafile separator ','
|
||||||
set xdata time
|
set xdata time
|
||||||
set timefmt "%Y-%m-%dT%H:%M"
|
#set timefmt "%Y-%m-%dT%H:%M"
|
||||||
|
set timefmt "%Y-%m-%dT%H:%M:%SZ"
|
||||||
|
set title "Wettervorhersage für Worms. Erstellt: `date`"
|
||||||
set format x "%d.%b %H:%M" # otherwise it will show only MM:SS
|
set format x "%d.%b %H:%M" # otherwise it will show only MM:SS
|
||||||
|
|
||||||
set key autotitle columnhead
|
set key autotitle columnhead
|
||||||
|
#set xlabel 'Zeitachse UTC'
|
||||||
set ylabel "Temperatur °Celsius"
|
set ylabel "Temperatur °Celsius"
|
||||||
set xlabel 'Zeitachse UTC'
|
set xlabel 'Zeitachse MEZ/MESZ'
|
||||||
|
|
||||||
set xtics rotate
|
set xtics rotate
|
||||||
set y2range[0:100]
|
set y2range[0:100]
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
wetterdienst values --provider=dwd --network=mosmix --resolution=large --parameter=large --station=K2635 | jq -r '.[2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48] | [.date,.temperature_air_mean_200 - 273.15,.probability_precipitation_height_gt_0_1_mm_last_1h,.probability_precipitation_height_gt_1_0_mm_last_1h,.error_absolute_temperature_air_mean_200] | @csv' > wetter.csv
|
wetterdienst values --provider=dwd --network=mosmix --resolution=large --parameter=large --station=K2635 | jq -r '.[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49] | [.date,.temperature_air_mean_200 - 273.15,.probability_precipitation_height_gt_0_1_mm_last_1h,.probability_precipitation_height_gt_1_0_mm_last_1h,.error_absolute_temperature_air_mean_200] | @csv' > wetter.csv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue