Archived
1
0

More optimisations for templates (mostly graphs).

This commit is contained in:
Markus Birth 2016-10-20 13:44:43 +02:00
parent a5fef84d28
commit 6fb99a59f3
8 changed files with 25 additions and 23 deletions

View File

@ -7,5 +7,5 @@
<xformat>%H%M</xformat>
<xlabel></xlabel>
<dateformat></dateformat>
<xi:include href="includes/raw_temp_dew_feel_line.xml" parse="xml" />
<xi:include href="includes/raw_temp_feel_dew_line.xml" parse="xml" />
</graph>

View File

@ -6,5 +6,5 @@
<xformat>%a %d</xformat>
<xlabel></xlabel>
<dateformat></dateformat>
<xi:include href="includes/hourly_temp_dew_feel_line.xml" parse="xml" />
<xi:include href="includes/hourly_temp_feel_dew_line.xml" parse="xml" />
</graph>

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<plot>
<title>Konvektionskondensationsniveau (m)</title>
<plot>
<!-- Konvektionskondensationsniveau -->
<yrange>0, 2500</yrange>
<grid>ytics</grid>
<source>hourly</source>
<subplot>
<colour>3</colour>
<ycalc>cloud_base(data['temp_out'], data['hum_out'])</ycalc>
<title>Meter über Boden</title>
<title>Quellwolkenuntergrenze (m über Boden)</title>
</subplot>
</plot>

View File

@ -1,21 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<plot>
<title>Temperatur (℃)</title>
<yrange>-20, 40</yrange>
<grid>ytics</grid>
<source>hourly</source>
<subplot>
<colour>1</colour>
<title>Temperatur (℃)</title>
<title>gemessen</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>
<title>gefühlt</title>
</subplot>
<subplot>
<colour>3</colour>
<ycalc>dew_point(data['temp_out'], data['hum_out'])</ycalc>
<title>Taupunkt</title>
</subplot>
</plot>

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<plot>
<title>Konvektionskondensationsniveau (m)</title>
<!-- Konvektionskondensationsniveau -->
<yrange>0, 2500</yrange>
<grid>ytics</grid>
<source>raw</source>
<subplot>
<colour>3</colour>
<ycalc>cloud_base(data['temp_out'], data['hum_out'])</ycalc>
<title>Meter über Boden</title>
<title>Quellwolkenuntergrenze (m über Boden)</title>
</subplot>
</plot>

View File

@ -1,21 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<plot>
<title>Temperatur (℃)</title>
<yrange>-20, 40</yrange>
<grid>ytics</grid>
<source>raw</source>
<subplot>
<colour>1</colour>
<title>Temperatur (℃)</title>
<title>gemessen</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>
<title>gefühlt</title>
</subplot>
<subplot>
<colour>3</colour>
<ycalc>dew_point(data['temp_out'], data['hum_out'])</ycalc>
<title>Taupunkt</title>
</subplot>
</plot>

View File

@ -9,6 +9,6 @@
<xformat>%H%M</xformat>
<xlabel></xlabel>
<dateformat></dateformat>
<xi:include href="includes/raw_temp_dew_feel_line.xml" parse="xml" />
<xi:include href="includes/raw_temp_feel_dew_line.xml" parse="xml" />
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
</graph>

View File

@ -11,7 +11,7 @@
<th colspan="3">Wind</th>
<th rowspan="2">Regen</th>
<th rowspan="2">Luftdruck</th>
<th rowspan="2"><a href="https://de.wikipedia.org/wiki/Kondensationsniveau">KKN</a></th>
<th rowspan="2"><a href="https://de.wikipedia.org/wiki/Kondensationsniveau##Konvektionskondensationsniveau" title="Quellwolkenuntergrenze">KKN</a></th>
<th rowspan="2">Vorhersage</th>
</tr>
<tr>