Archived
1
0

Added "feels like" temperature to graphs.

This commit is contained in:
Markus Birth 2016-10-18 15:00:46 +02:00
parent 95727d8719
commit d5f3f3ed84
7 changed files with 47 additions and 5 deletions

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View File

@ -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" />

View 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>

View 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>

View File

@ -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>