Debian Codegraph @

apps/metgram/templates/10_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
15 <epsgram id="station"
16 station_name='$station' date='' time=''
17 latitude="$latitude" longitude="$longitude" station_height='$height'
18 eps_database='$database/epsdb'>
19 <none/>
20 </epsgram>
21
22 <text id="title" font='sansserif' colour='navy' font_size='0.4'
23 justification='left' display='absolute'>
24 </text>
25 <horizontal_axis axis_grid= "on"
26 axis_grid_colour= "Rgb(0.5, 0.5, 0.5)"
27 axis_grid_line_style= "dash"
28 axis_line_colour= "navy"
29 axis_minor_tick= "on"
30 axis_type= "date"
31 axis_minor_tick_colour= "navy"
32 axis_tick_colour= "navy"
33 axis_tick_label= "off" id="haxis"/>
34
35 <vertical_axis id="vaxis"
36 axis_grid="on"
37 axis_grid_colour= "grey"
38 axis_grid_line_style= "dash"
39 axis_grid_reference_level= "0"
40 axis_grid_reference_thickness= "1"
41 axis_label_font="sansserif"
42 axis_line="on"
43 axis_line_colour="navy"
44 axis_tick_colour="navy"
45 axis_tick_label_colour="navy"
46 axis_tick_label_height= "0.3"/>
47 <map id='box' margin_bottom='7%' margin_top='15%' border-colour='Rgb(0.5, 0.5, 0.5)'/>
48 </definition>
49 <drivers>
50 <$ps/>
51 <$pdf/>
52 <$png/>
53 <$gif/>
54 <$svg/>
55 </drivers>
56
57 <page height="7.5%" border='off'>
58 <nopageid/>
59 </page>
60
61 <page height="20%" border='off'>
62 <nopageid/>
63 <map use_id='box'>
64 <cartesian>
65 <x_date automatic='on'/>
66 <y_regular y_min='0' y_max='8'/>
67 </cartesian>
68
69 <text margin_bottom='85%' use_id='title'
70 text_line_1="&lt;font size='0.5'&gt;EPS Meteogram &lt;/font&gt;"
71 text_line_2="&lt;font size='0.4'&gt;&lt;spot_info key='station'/&gt; &lt;spot_info key='location'/&gt;&lt;/font&gt;"
72 text_line_3="&lt;font size='0.4'&gt;Deterministic Forecast and EPS Distribution &lt;spot_info key='base_date'/&gt; &lt;/font&gt;"
73 text_line_4="&lt;br/&gt;"
74 text_line_5="&lt;font size='0.4'&gt;&lt;spot_info key='parameter'/&gt; &lt;/font&gt;"
75 text_line_count="5"
76 />
77 <horizontal_axis use_id="haxis"/>
78 <vertical_axis use_id='vaxis'/>
79 <plot>
80 <epsgram use_id="station" parameter="cloud-cover" />
81 <epsgraph deterministic='on' whisker='on'> <both/> </epsgraph>
82 </plot>
83 </map>
84 </page>
85
86 <page height="20%" border='off'>
87 <nopageid/>
88 <map use_id='box'>
89
90 <cartesian>
91 <x_date automatic='on'/>
92 <y_regular automatic='on'/>
93 </cartesian>
94 <horizontal_axis use_id='haxis'/>
95 <vertical_axis use_id='vaxis'/>
96 <text margin_bottom='90s%' use_id='title'
97 text_line_1="&lt;font size='0.4'>&lt;spot_info key='parameter'/> &lt;/font&gt;"
98 />
99 <plot>
100 <epsgram use_id="station" y_axis_threshold='3' parameter="precip"/>
101 <epsgraph deterministic='on' whisker='on'> <both/> </epsgraph>
102 </plot>
103 </map>
104 </page>
105 <page height="20%" border='off'>
106 <nopageid/>
107 <map use_id='box'>
108
109 <cartesian>
110 <x_date automatic='on'/>
111 <y_regular automatic='on'/>
112 </cartesian>
113 <horizontal_axis use_id='haxis'/>
114 <vertical_axis use_id='vaxis'/>
115 <text margin_bottom='85%' use_id='title'
116 text_line_1="&lt;font size='0.4'&gt;&lt;spot_info key='parameter'/&gt; &lt;/font&gt;"
117 />
118
119 <plot>
120 <epsgram use_id="station" parameter="10m-wind"/>
121 <epsgraph deterministic='on' whisker='on'> <both/> </epsgraph>
122 </plot>
123 </map>
124 </page>
125 <page height="30%" border='off'>
126
127
128 <nopageid />
129
130 <map margin_bottom='30%' margin_top='15%' border-colour='Rgb(0.5, 0.5, 0.5)' >
131 <cartesian>
132 <x_date automatic='on'/>
133 <y_regular automatic='on'/>
134 </cartesian>
135
136 <text margin_bottom='85%' use_id='title'
137 text_line_1="&lt;font size='0.4'&gt;&lt;spot_info key='parameter'/&gt; &lt;/font&gt;"
138 />
139 <vertical_axis use_id='vaxis'/>
140
141 <horizontal_axis
142 axis_grid='on'
143 axis_grid_line_style="dot"
144 axis_grid_colour='kelly_green'
145 axis_date_type = "days"
146 axis_days_label= "both"
147 axis_days_label_colour = "navy"
148 axis_months_label_colour= "navy"
149 axis_days_label_height= "0.3"
150 axis_months_label_height= "0.3"
151 axis_years_label_height ="0.3"
152 axis_minor_tick= "on"
153 axis_minor_tick_colour= "navy"
154 axis_type= "date"
155 axis_years_label_colour = "navy" />
156
157
158
159 <plot>
160 <epsgram use_id="station" parameter="2mt"/>
161 <epsgraph legend='on' eps_legend_font_size= "0.4" eps_legend_font_colour= "navy"> <both/> </epsgraph>
162 </plot>
163
164
165
166 </map>
167 <legend
168 border= "off"
169 bottom= "-10%"
170 display= "absolute"
171 height= "35%"
172 left= "0%"
173 legend_entry_text_width= "99."
174 legend_plot_direction= "column"
175 legend_text_height= "0.3"
176 legend_text_colour= "navy"
177 width= "70%"
178 />
179 </page>
180 </magics>