Debian Codegraph @

apps/metgram/templates/15_days_epsgram.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 (C) Copyright 1996-2016 ECMWF.
4
5 This software is licensed under the terms of the Apache Licence Version 2.0
6 which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
7 In applying this licence, ECMWF does not waive the privileges and immunities
8 granted to it by virtue of its status as an intergovernmental organisation nor
9 does it submit to any jurisdiction.
10 -->
11
12 <magics version="3.0" format="a4" orientation="portrait">
13 <definition>
14 <epsgram id="eps"
15 type='eps15'
16 station_name='$station'
17 latitude="$latitude" longitude="$longitude"
18 date='$date' time="$time" station_height="$height"
19 eps_temperature_correction='yes'
20 eps_database='$database/epsdb'>
21 <none/>
22 </epsgram>
23
24 <text id="title" justification="left" font_style='bold' font_size='0.4'
25 colour='Rgb(0.5, 0.5, 0.5)' font='sansserif' />
26
27 <map id="box" margin_bottom='7%' margin_top='15%'
28 border-colour='grey' border-thickness='2'/>
29
30 <horizontal_axis id="haxis"
31 axis_grid= "on"
32 axis_grid_colour= "grey"
33 axis_grid_line_style= "dot"
34 axis_line_colour= "charcoal"
35 axis_minor_tick= "on"
36 axis_minor_tick_colour= "charcoal"
37 axis_tick_colour= "charcoal"
38 axis_tick_label="off"
39 axis_type= "date" />
40
41
42
43 <vertical_axis id="vaxis"
44 axis_grid= "on"
45 axis_grid_colour= "grey"
46 axis_grid_line_style= "dot"
47 axis_grid_reference_level= "0"
48 axis_grid_reference_thickness= "1"
49 axis_label_font= "sansserif"
50 axis_line= "on"
51 axis_line_colour= "charcoal"
52 axis_tick_colour= "charcoal"
53 axis_tick_label_colour= "charcoal"
54 axis_tick_label_height= "0.3" />
55
56 </definition>
57 <drivers>
58 <$ps/>
59 <$pdf/>
60 <$png/>
61 <$gif/>
62 <$svg/>
63 </drivers>
64
65 <page height="7.5%" border='off'>
66 <nopageid/>
67 </page>
68
69 <page height="19%" border='off'>
70 <nopageid/>
71 <$meta/>
72 <map use_id='box'>
73 <text use_id='title' margin_bottom='85%'
74 text_line_1="&lt;font size='0.4'&gt;Eps Meteogram&lt;/font&gt;"
75 text_line_2="&lt;font size='0.4'&gt;&lt;spot_info key='station'/&gt;&lt;/font&gt;"
76 text_line_3="&lt;font size='0.4'&gt;Extended Forecast based in EPS Distribution &lt;spot_info key='base_date'/&gt;&lt;/font&gt;"
77 text_line_4="&lt;br/&gt;"
78 text_line_5="&lt;font size='0.4'&gt;&lt;spot_info key='parameter'/&gt;&lt;/font&gt;"
79 text_line_count="5"
80 />
81 <cartesian>
82 <x_date automatic='on' />
83 <y_regular automatic='on' />
84 </cartesian>
85 <plot>
86 <epsgram use_id="eps" parameter="cloud-cover" long_title='true'/>
87 <epsgraph box_colour='Rgb(0.925, 0.609, 0.953)' box_border_colour='Rgb(0.5, 0.5, 0.5)'> <both/> </epsgraph>
88 </plot>
89 <horizontal_axis use_id="haxis"/>
90 <vertical_axis use_id="vaxis"/>
91 </map>
92 </page>
93 <page height="19%" border='off'>
94 <nopageid/>
95 <map use_id='box' >
96 <text use_id='title' margin_bottom='85%'
97 text_line_1= "&lt;font size='0.4'>&lt;spot_info key='parameter'/>&lt;/font&gt;"
98 />
99 <cartesian>
100 <x_date automatic='on' />
101 <y_regular automatic='on' y_min='0' y_max='20' />
102 </cartesian>
103
104
105 <plot>
106 <epsgram use_id="eps" parameter="precip"/>
107 <epsgraph max='20' box_colour='Rgb(0.49, 0.89, 0.51)' box_border_colour='Rgb(0.5, 0.5, 0.5)'> <both/> </epsgraph>
108
109 </plot>
110 <horizontal_axis use_id="haxis"/>
111 <vertical_axis use_id="vaxis"/>
112
113 </map>
114 </page>
115 <page height="6%" border='off'>
116 <nopageid/>
117 <map margin_bottom='7%' margin_top='25%'
118 border-colour='grey' border-thickness='2'>
119 <cartesian>
120 <x_date automatic='on'/>
121 <y_regular y_min="-43200" y_max="43200" />
122 </cartesian>
123 <text use_id='title' margin_bottom='75%'
124 text_line_1="&lt;font size='0.4'>&lt;spot_info key='parameter'/>&lt;/font&gt; "
125 />
126 <horizontal_axis use_id="haxis"/>
127 <vertical_axis use_id="vaxis" axis_tick_label='off' axis_tick='off' axis_grid='off'></vertical_axis>
128 <plot>
129 <epsgram use_id="eps" parameter="10m-wind-dd"/>
130 <epswind legend ='on' rose_wind_colour='gold' rose_wind_border_colour='Rgb(0.5000, 0.5000, 0.5000)'/>
131 </plot>
132
133 </map> <legend display='absolute' bottom='50%' left='65%' width='20%' height='90%'
134 text_colour='Rgb(0.5, 0.5, 0.5)' border='off' blanking='off'/>
135 </page>
136 <page height="19%" border='off'>
137 <nopageid/>
138 <map use_id='box'>
139 <text use_id='title' margin_bottom='85%'
140 text_line_1=" &lt;font size='0.4'>&lt;spot_info key='parameter'/>&lt;/font&gt; "
141 />
142 <cartesian>
143 <x_date automatic='on' />
144 <y_regular automatic='on' y_min='0' y_max='20' />
145 </cartesian>
146 <plot>
147 <epsgram use_id="eps" parameter="10m-wind"/>
148 <epsgraph box_colour='gold' box_border_colour='Rgb(0.5, 0.5, 0.5)'> <both/> </epsgraph>
149 </plot>
150 <horizontal_axis use_id="haxis"/>
151 <vertical_axis use_id="vaxis"/>
152 </map>
153 </page>
154 <page height="28%" border='off'>
155 <pageid line_system_plot='off' line_date_plot='off' line_errors_plot='off'
156 font='sansserif' line_colour='Rgb(0.8, 0.8, 0.8)'/>
157 <map margin_bottom='37%' margin_top='10%' border-colour='Rgb(0.5, 0.5, 0.5)' >
158 <cartesian>
159 <x_date automatic='on'/>
160 <y_regular automatic='on'/>
161 </cartesian>
162 <horizontal_axis axis_days_label= "both"
163 axis_days_label_colour= "charcoal"
164 axis_days_label_height= "0.3"
165 axis_grid= "on"
166 axis_grid_colour= "Rgb(0.5, 0.5, 0.5)"
167 axis_grid_line_style= "dash"
168 axis_line_colour= "charcoal"
169 axis_minor_tick= "on"
170 axis_minor_tick_colour= "charcoal"
171 axis_months_label_colour= "charcoal"
172 axis_months_label_height= "0.3"
173 axis_tick_colour= "charcoal"
174 axis_type= "date"
175 axis_years_label_colour= "charcoal"
176 axis_years_label_height= "0.3"
177 />
178 <vertical_axis use_id='vaxis'/>
179 <text use_id='title' margin_bottom='90%'
180 text_line_1=" &lt;font size='0.4'>&lt;spot_info key='parameter'/>&lt;/font&gt; "
181 />
182 <plot>
183 <epsgram use_id="eps" parameter="temperature"/>
184 <epsgraph border_colour='Rgb(0.5, 0.5, 0.5)' legend='on'
185 left_box_colour='sky' box_median_colour='black' right_box_colour='RGB(1.0, 0.222, 0.222)'
186 font='sansserif' font_colour='Rgb(0.5, 0.5, 0.5)' box_colour='grey'
187 box_border_colour='Rgb(0.5, 0.5, 0.5)'> <both/> </epsgraph>
188 </plot>
189 </map>
190 <legend display='absolute' bottom='0%' left='5%' width='20%' height='30%'
191 plot_direction='column' text_colour='Rgb(0.5, 0.5, 0.5)' border='off' blanking='off'/>
192
193 </page>
194 </magics>