Archived
1
0

Added pywws templates.

This commit is contained in:
2016-09-01 15:34:57 +02:00
parent f06eaa8c70
commit 9e0bf528cf
27 changed files with 1159 additions and 0 deletions

View File

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<graph>
<size>600, 600</size>
<fileformat>pngcairo font "arial,8"</fileformat>
<start>year=2010, month=1, day=1, hour=0</start>
<stop>year=2010, month=12, day=31, hour=0</stop>
<xformat>%b</xformat>
<xlabel>%Y</xlabel>
<dateformat></dateformat>
<plot>
<title>Temperatur (℃)</title>
<yrange>-20, 50</yrange>
<source>monthly</source>
<boxwidth>boxwidth / 2</boxwidth>
<subplot>
<style>box</style>
<colour>1</colour>
<title>Mittleres Tagesmaximum</title>
<xcalc>data['start'] + timedelta(days=20)</xcalc>
<ycalc>data['temp_out_max_ave']</ycalc>
</subplot>
<subplot>
<style>+</style>
<colour>6</colour>
<title>Höchstes Tagesmaximum</title>
<xcalc>data['temp_out_max_hi_t']</xcalc>
<ycalc>data['temp_out_max_hi']</ycalc>
</subplot>
<subplot>
<style>box</style>
<colour>3</colour>
<title>Mittleres Nachtminimum</title>
<xcalc>data['start'] + timedelta(days=7)</xcalc>
<ycalc>data['temp_out_min_ave']</ycalc>
</subplot>
<subplot>
<style>+</style>
<colour>5</colour>
<title>Tiefstes Nachtminimum</title>
<xcalc>data['temp_out_min_lo_t']</xcalc>
<ycalc>data['temp_out_min_lo']</ycalc>
</subplot>
</plot>
<plot>
<yrange>0, 120</yrange>
<source>monthly</source>
<subplot>
<colour>5</colour>
<style>box</style>
<xcalc>data['start'] + timedelta(days=14)</xcalc>
<ycalc>data['rain']</ycalc>
<title>Monatl. Regenfall (mm)</title>
</subplot>
</plot>
</graph>