More optimisations for templates (mostly graphs).
This commit is contained in:
@@ -7,5 +7,5 @@
|
|||||||
<xformat>%H%M</xformat>
|
<xformat>%H%M</xformat>
|
||||||
<xlabel></xlabel>
|
<xlabel></xlabel>
|
||||||
<dateformat></dateformat>
|
<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>
|
</graph>
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
<xformat>%a %d</xformat>
|
<xformat>%a %d</xformat>
|
||||||
<xlabel></xlabel>
|
<xlabel></xlabel>
|
||||||
<dateformat></dateformat>
|
<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>
|
</graph>
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<plot>
|
<plot>
|
||||||
<title>Konvektionskondensationsniveau (m)</title>
|
<!-- Konvektionskondensationsniveau -->
|
||||||
<yrange>0, 2500</yrange>
|
<yrange>0, 2500</yrange>
|
||||||
<grid>ytics</grid>
|
<grid>ytics</grid>
|
||||||
<source>hourly</source>
|
<source>hourly</source>
|
||||||
<subplot>
|
<subplot>
|
||||||
<colour>3</colour>
|
<colour>3</colour>
|
||||||
<ycalc>cloud_base(data['temp_out'], data['hum_out'])</ycalc>
|
<ycalc>cloud_base(data['temp_out'], data['hum_out'])</ycalc>
|
||||||
<title>Meter über Boden</title>
|
<title>Quellwolkenuntergrenze (m über Boden)</title>
|
||||||
</subplot>
|
</subplot>
|
||||||
</plot>
|
</plot>
|
||||||
|
|
||||||
|
|||||||
+8
-7
@@ -1,21 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<plot>
|
<plot>
|
||||||
|
<title>Temperatur (℃)</title>
|
||||||
<yrange>-20, 40</yrange>
|
<yrange>-20, 40</yrange>
|
||||||
<grid>ytics</grid>
|
<grid>ytics</grid>
|
||||||
<source>hourly</source>
|
<source>hourly</source>
|
||||||
<subplot>
|
<subplot>
|
||||||
<colour>1</colour>
|
<colour>1</colour>
|
||||||
<title>Temperatur (℃)</title>
|
<title>gemessen</title>
|
||||||
<ycalc>data['temp_out']</ycalc>
|
<ycalc>data['temp_out']</ycalc>
|
||||||
</subplot>
|
</subplot>
|
||||||
<subplot>
|
|
||||||
<colour>3</colour>
|
|
||||||
<ycalc>dew_point(data['temp_out'], data['hum_out'])</ycalc>
|
|
||||||
<title>Taupunkt (℃)</title>
|
|
||||||
</subplot>
|
|
||||||
<subplot>
|
<subplot>
|
||||||
<colour>4</colour>
|
<colour>4</colour>
|
||||||
<ycalc>apparent_temp(data['temp_out'], data['hum_out'], data['wind_ave'])</ycalc>
|
<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>
|
</subplot>
|
||||||
</plot>
|
</plot>
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<plot>
|
<plot>
|
||||||
<title>Konvektionskondensationsniveau (m)</title>
|
<!-- Konvektionskondensationsniveau -->
|
||||||
<yrange>0, 2500</yrange>
|
<yrange>0, 2500</yrange>
|
||||||
<grid>ytics</grid>
|
<grid>ytics</grid>
|
||||||
<source>raw</source>
|
<source>raw</source>
|
||||||
<subplot>
|
<subplot>
|
||||||
<colour>3</colour>
|
<colour>3</colour>
|
||||||
<ycalc>cloud_base(data['temp_out'], data['hum_out'])</ycalc>
|
<ycalc>cloud_base(data['temp_out'], data['hum_out'])</ycalc>
|
||||||
<title>Meter über Boden</title>
|
<title>Quellwolkenuntergrenze (m über Boden)</title>
|
||||||
</subplot>
|
</subplot>
|
||||||
</plot>
|
</plot>
|
||||||
|
|
||||||
|
|||||||
+8
-7
@@ -1,21 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<plot>
|
<plot>
|
||||||
|
<title>Temperatur (℃)</title>
|
||||||
<yrange>-20, 40</yrange>
|
<yrange>-20, 40</yrange>
|
||||||
<grid>ytics</grid>
|
<grid>ytics</grid>
|
||||||
<source>raw</source>
|
<source>raw</source>
|
||||||
<subplot>
|
<subplot>
|
||||||
<colour>1</colour>
|
<colour>1</colour>
|
||||||
<title>Temperatur (℃)</title>
|
<title>gemessen</title>
|
||||||
<ycalc>data['temp_out']</ycalc>
|
<ycalc>data['temp_out']</ycalc>
|
||||||
</subplot>
|
</subplot>
|
||||||
<subplot>
|
|
||||||
<colour>3</colour>
|
|
||||||
<ycalc>dew_point(data['temp_out'], data['hum_out'])</ycalc>
|
|
||||||
<title>Taupunkt (℃)</title>
|
|
||||||
</subplot>
|
|
||||||
<subplot>
|
<subplot>
|
||||||
<colour>4</colour>
|
<colour>4</colour>
|
||||||
<ycalc>apparent_temp(data['temp_out'], data['hum_out'], data['wind_ave'])</ycalc>
|
<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>
|
</subplot>
|
||||||
</plot>
|
</plot>
|
||||||
@@ -9,6 +9,6 @@
|
|||||||
<xformat>%H%M</xformat>
|
<xformat>%H%M</xformat>
|
||||||
<xlabel></xlabel>
|
<xlabel></xlabel>
|
||||||
<dateformat></dateformat>
|
<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" />
|
<xi:include href="includes/hourly_rain_sum_dual.xml" parse="xml" />
|
||||||
</graph>
|
</graph>
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
<th colspan="3">Wind</th>
|
<th colspan="3">Wind</th>
|
||||||
<th rowspan="2">Regen</th>
|
<th rowspan="2">Regen</th>
|
||||||
<th rowspan="2">Luftdruck</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>
|
<th rowspan="2">Vorhersage</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user