Use includes for yearly templates.
This commit is contained in:
parent
ad154bf068
commit
cd6cda2528
@ -1,55 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<graph>
|
<graph xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<size>600, 600</size>
|
<size>600, 600</size>
|
||||||
<fileformat>pngcairo font "arial,8"</fileformat>
|
<fileformat>pngcairo font "arial,10"</fileformat>
|
||||||
<start>year=2009, month=1, day=1, hour=0</start>
|
<start>year=2009, month=1, day=1, hour=0</start>
|
||||||
<stop>year=2009, month=12, day=31, hour=0</stop>
|
<stop>year=2009, month=12, day=31, hour=23</stop>
|
||||||
<xformat>%b</xformat>
|
<xformat>%b</xformat>
|
||||||
<xlabel>%Y</xlabel>
|
<xlabel>%Y</xlabel>
|
||||||
<dateformat></dateformat>
|
<dateformat></dateformat>
|
||||||
<plot>
|
<xi:include href="includes/year_temp.xml" parse="xml" />
|
||||||
<title>Temperatur (℃)</title>
|
<xi:include href="includes/year_rain.xml" parse="xml" />
|
||||||
<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>
|
</graph>
|
||||||
|
@ -1,55 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<graph>
|
<graph xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<size>600, 600</size>
|
<size>600, 600</size>
|
||||||
<fileformat>pngcairo font "arial,8"</fileformat>
|
<fileformat>pngcairo font "arial,10"</fileformat>
|
||||||
<start>year=2010, month=1, day=1, hour=0</start>
|
<start>year=2010, month=1, day=1, hour=0</start>
|
||||||
<stop>year=2010, month=12, day=31, hour=0</stop>
|
<stop>year=2010, month=12, day=31, hour=23</stop>
|
||||||
<xformat>%b</xformat>
|
<xformat>%b</xformat>
|
||||||
<xlabel>%Y</xlabel>
|
<xlabel>%Y</xlabel>
|
||||||
<dateformat></dateformat>
|
<dateformat></dateformat>
|
||||||
<plot>
|
<xi:include href="includes/year_temp.xml" parse="xml" />
|
||||||
<title>Temperatur (℃)</title>
|
<xi:include href="includes/year_rain.xml" parse="xml" />
|
||||||
<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>
|
</graph>
|
||||||
|
@ -1,55 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<graph>
|
<graph xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<size>600, 600</size>
|
<size>600, 600</size>
|
||||||
<fileformat>pngcairo font "arial,8"</fileformat>
|
<fileformat>pngcairo font "arial,10"</fileformat>
|
||||||
<start>year=2011, month=1, day=1, hour=0</start>
|
<start>year=2011, month=1, day=1, hour=0</start>
|
||||||
<stop>year=2011, month=12, day=31, hour=0</stop>
|
<stop>year=2011, month=12, day=31, hour=23</stop>
|
||||||
<xformat>%b</xformat>
|
<xformat>%b</xformat>
|
||||||
<xlabel>%Y</xlabel>
|
<xlabel>%Y</xlabel>
|
||||||
<dateformat></dateformat>
|
<dateformat></dateformat>
|
||||||
<plot>
|
<xi:include href="includes/year_temp.xml" parse="xml" />
|
||||||
<title>Temperatur (℃)</title>
|
<xi:include href="includes/year_rain.xml" parse="xml" />
|
||||||
<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>
|
</graph>
|
||||||
|
@ -1,55 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<graph>
|
<graph xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<size>600, 600</size>
|
<size>600, 600</size>
|
||||||
<fileformat>pngcairo font "arial,8"</fileformat>
|
<fileformat>pngcairo font "arial,10"</fileformat>
|
||||||
<start>year=2012, month=1, day=1, hour=0</start>
|
<start>year=2012, month=1, day=1, hour=0</start>
|
||||||
<stop>year=2012, month=12, day=31, hour=0</stop>
|
<stop>year=2012, month=12, day=31, hour=23</stop>
|
||||||
<xformat>%b</xformat>
|
<xformat>%b</xformat>
|
||||||
<xlabel>%Y</xlabel>
|
<xlabel>%Y</xlabel>
|
||||||
<dateformat></dateformat>
|
<dateformat></dateformat>
|
||||||
<plot>
|
<xi:include href="includes/year_temp.xml" parse="xml" />
|
||||||
<title>Temperatur (℃)</title>
|
<xi:include href="includes/year_rain.xml" parse="xml" />
|
||||||
<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>
|
</graph>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<graph>
|
<graph xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<size>600, 600</size>
|
<size>600, 600</size>
|
||||||
<fileformat>svg font "arial,10"</fileformat>
|
<fileformat>svg font "arial,10"</fileformat>
|
||||||
<start>year=2012, month=1, day=1, hour=0</start>
|
<start>year=2012, month=1, day=1, hour=0</start>
|
||||||
@ -7,49 +7,6 @@
|
|||||||
<xformat>%b</xformat>
|
<xformat>%b</xformat>
|
||||||
<xlabel>%Y</xlabel>
|
<xlabel>%Y</xlabel>
|
||||||
<dateformat></dateformat>
|
<dateformat></dateformat>
|
||||||
<plot>
|
<xi:include href="includes/year_temp.xml" parse="xml" />
|
||||||
<title>Temperatur (℃)</title>
|
<xi:include href="includes/year_rain.xml" parse="xml" />
|
||||||
<yrange>-20, 50</yrange>
|
|
||||||
<source>monthly</source>
|
|
||||||
<boxwidth>boxwidth / 2</boxwidth>
|
|
||||||
<subplot>
|
|
||||||
<style>box</style>
|
|
||||||
<colour>rgb "#f44336"</colour>
|
|
||||||
<title>Mittleres Tagesmaximum</title>
|
|
||||||
<xcalc>data['start'] + timedelta(days=20)</xcalc>
|
|
||||||
<ycalc>data['temp_out_max_ave']</ycalc>
|
|
||||||
</subplot>
|
|
||||||
<subplot>
|
|
||||||
<style>+</style>
|
|
||||||
<colour>rgb "#b71c1c"</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>rgb "#607D8B"</colour>
|
|
||||||
<title>Mittleres Nachtminimum</title>
|
|
||||||
<xcalc>data['start'] + timedelta(days=7)</xcalc>
|
|
||||||
<ycalc>data['temp_out_min_ave']</ycalc>
|
|
||||||
</subplot>
|
|
||||||
<subplot>
|
|
||||||
<style>+</style>
|
|
||||||
<colour>rgb "#263238"</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>rgb "#2196F3"</colour>
|
|
||||||
<style>box</style>
|
|
||||||
<xcalc>data['start'] + timedelta(days=14)</xcalc>
|
|
||||||
<ycalc>data['rain']</ycalc>
|
|
||||||
<title>Monatl. Regenfall (mm)</title>
|
|
||||||
</subplot>
|
|
||||||
</plot>
|
|
||||||
</graph>
|
</graph>
|
||||||
|
@ -1,55 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<graph>
|
<graph xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<size>600, 600</size>
|
<size>600, 600</size>
|
||||||
<fileformat>pngcairo font "arial,8"</fileformat>
|
<fileformat>pngcairo font "arial,10"</fileformat>
|
||||||
<start>year=2013, month=1, day=1, hour=0</start>
|
<start>year=2013, month=1, day=1, hour=0</start>
|
||||||
<stop>year=2013, month=12, day=31, hour=0</stop>
|
<stop>year=2013, month=12, day=31, hour=23</stop>
|
||||||
<xformat>%b</xformat>
|
<xformat>%b</xformat>
|
||||||
<xlabel>%Y</xlabel>
|
<xlabel>%Y</xlabel>
|
||||||
<dateformat></dateformat>
|
<dateformat></dateformat>
|
||||||
<plot>
|
<xi:include href="includes/year_temp.xml" parse="xml" />
|
||||||
<title>Temperatur (℃)</title>
|
<xi:include href="includes/year_rain.xml" parse="xml" />
|
||||||
<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>
|
</graph>
|
||||||
|
Reference in New Issue
Block a user