Change-Id: Idb92afac5ffb83f115ca77c3917fc7ef61f38afc Former-commit-id: fe1b35711ec55a022027bb8ff1a27924b3926911
78 lines
3.6 KiB
XML
78 lines
3.6 KiB
XML
<?xml version="1.0"?>
|
|
<svg width="80" height="80"
|
|
viewBox="0 0 80 80"
|
|
overflow="visible"
|
|
contentScriptType="text/python"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" style="stroke: rgb(255,255,255);">
|
|
<defs>
|
|
<style type="text/css">
|
|
<![CDATA[
|
|
@font-face { font-family: "WindSymbolFont";
|
|
src: url(WindSymbols.svg#WindSymbols); }
|
|
@font-face { font-family: "StandardFont";
|
|
src: url(Standard.svg#Standard); }
|
|
@font-face { font-family: "WxSymbolFont";
|
|
src: url(WxSymbols.svg#WxSymbols); }
|
|
@font-face { font-family: "SpecialSymbolFont";
|
|
src: url(SpecialSymbols.svg#SpecialSymbols); }
|
|
text.barb
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
font-size: 1em;
|
|
font-family: WindSymbolFont;
|
|
}
|
|
text.arrow
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
font-size: 1em;
|
|
font-family: WindSymbolFont;
|
|
}
|
|
text.text
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
stroke-width: 1px;
|
|
font-family: StandardFont;
|
|
font-size: 1em;
|
|
}
|
|
text.weather
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
stroke-width: 1px;
|
|
font-family: WxSymbolFont;
|
|
|
|
}
|
|
text.special
|
|
{
|
|
fill: none;
|
|
font-size: 1em;
|
|
stroke-width: 1px;
|
|
font-size: 1em;
|
|
font-family: SpecialSymbolFont;
|
|
}
|
|
]]>
|
|
</style>
|
|
|
|
<symbol overflow="visible" id="plotData" class="info">
|
|
<text id="sample" plotMode="sample" class="text" plotParam="rawMessage" x="0" y="0">0</text>
|
|
<text id="tempText" plotMode="text" plotParam="temperature" plotFormat="%3.0f" style="text-anchor: end;" x="-10px" y="-10px">75</text>
|
|
<text id="dewPointText" plotMode="text" plotParam="dewpoint" plotFormat="%3.0f" style="text-anchor: end;" x="-10px" y="10px">57</text>
|
|
<text id="pressureText" plotMode="text" plotParam="seaLevelPress" plotUnit="daPa" plotFormat="%5.0f" plotTrim="2" style="text-anchor: start;" x="10px" y="-10px">57</text>
|
|
<text id="chngCharText" plotMode="table" class="weather" plotLookupTable="press_change_char_lookup.txt" plotParam="pressChangeChar" style="text-anchor: start;" x="35px" y="0">0</text>
|
|
<text id="pressChngText" plotMode="text" plotParam="pressChange3Hour" plotFormat="%02.0f" plotUnit="Pa" style="text-anchor: start;" x="10px" y="0">018</text>
|
|
<g id="windVaneText" plotMode="barb" plotParam="windSpeed,windDir,windGust" plotUnit="kts" x="0" y="0" transform="rotate(0,0,0)">
|
|
<text id="windVaneText" class="arrow" x="0" y="0">0</text>
|
|
<text id="windArrowText" class="barb" x="0" y="0">arrow</text>
|
|
<text id="windGustText" class="text" x="0" y="32" style="text-anchor: middle">0</text>
|
|
</g>
|
|
<text id="visText" plotMode="range" class="text" plotLookupTable="fractions_lookup.txt" plotParam="visibility" plotUnit="mi" style="text-anchor: start;" plotFormat="%3.5f" x="0" y="10">59</text>
|
|
<text id="cloudText" plotMode="table" class="special" plotFunctionTable="cloud_select.txt" plotLookupTable="cloud_chars.txt" plotParam="skyCover" style="text-anchor: start" x="0" y="0">0</text>
|
|
<text id="presentWxText" plotMode="recursive_translation" class="weather" plotLookupTable="wx_symbol_trans.txt" plotParam="presWeather" style="text-anchor: end" x="-10" y="0">0</text>
|
|
</symbol>
|
|
</defs>
|
|
<use id="precip" x="40" y="40" width="80" height="80" visibility="visible" xlink:href="#plotData"/>
|
|
</svg>
|