Added "feels like" temperature to graphs.
This commit is contained in:
parent
95727d8719
commit
d5f3f3ed84
@ -6,7 +6,7 @@
|
||||
<xtics>2</xtics>
|
||||
<xformat>%H%M</xformat>
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/raw_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/raw_temp_dew_feel_line.xml" parse="xml" />
|
||||
<xi:include href="includes/raw_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
|
@ -6,7 +6,7 @@
|
||||
<xtics>2</xtics>
|
||||
<xformat>%H%M</xformat>
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/raw_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/raw_temp_dew_feel_line.xml" parse="xml" />
|
||||
<xi:include href="includes/raw_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
|
@ -5,7 +5,7 @@
|
||||
<duration>weeks=1</duration>
|
||||
<xformat>%a %d</xformat>
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/hourly_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_temp_dew_feel_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
|
@ -5,7 +5,7 @@
|
||||
<duration>weeks=1</duration>
|
||||
<xformat>%a %d</xformat>
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/hourly_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_temp_dew_feel_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_wind_gust_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_press_line.xml" parse="xml" />
|
||||
|
21
_graph_templates/includes/hourly_temp_dew_feel_line.xml
Normal file
21
_graph_templates/includes/hourly_temp_dew_feel_line.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<plot>
|
||||
<yrange>-20, 40</yrange>
|
||||
<grid>ytics</grid>
|
||||
<source>hourly</source>
|
||||
<subplot>
|
||||
<colour>1</colour>
|
||||
<title>Temperatur (℃)</title>
|
||||
<ycalc>data['temp_out']</ycalc>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<colour>3</colour>
|
||||
<ycalc>dew_point(data['temp_out'], data['hum_out'])</ycalc>
|
||||
<title>Taupunkt (℃)</title>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<colour>4</colour>
|
||||
<ycalc>apparent_temp(data['temp_out'], data['hum_out'], data['wind_ave'])</ycalc>
|
||||
<title>Gefühlte Temp. (℃)</title>
|
||||
</subplot>
|
||||
</plot>
|
21
_graph_templates/includes/raw_temp_dew_feel_line.xml
Normal file
21
_graph_templates/includes/raw_temp_dew_feel_line.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<plot>
|
||||
<yrange>-20, 40</yrange>
|
||||
<grid>ytics</grid>
|
||||
<source>raw</source>
|
||||
<subplot>
|
||||
<colour>1</colour>
|
||||
<title>Temperatur (℃)</title>
|
||||
<ycalc>data['temp_out']</ycalc>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<colour>3</colour>
|
||||
<ycalc>dew_point(data['temp_out'], data['hum_out'])</ycalc>
|
||||
<title>Taupunkt (℃)</title>
|
||||
</subplot>
|
||||
<subplot>
|
||||
<colour>4</colour>
|
||||
<ycalc>apparent_temp(data['temp_out'], data['hum_out'], data['wind_ave'])</ycalc>
|
||||
<title>Gefühlte Temp. (℃)</title>
|
||||
</subplot>
|
||||
</plot>
|
@ -9,6 +9,6 @@
|
||||
<xformat>%H%M</xformat>
|
||||
<xlabel></xlabel>
|
||||
<dateformat></dateformat>
|
||||
<xi:include href="includes/raw_temp_dew_line.xml" parse="xml" />
|
||||
<xi:include href="includes/raw_temp_dew_feel_line.xml" parse="xml" />
|
||||
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||
</graph>
|
||||
|
Reference in New Issue
Block a user