text:
<?xml version="1.0" encoding="UTF-8"?><cwbopendata xmlns="urn:cwb:gov:tw:cwbcommon:0.1">
 <identifier>bef210a1-4c90-40c0-89d3-c448ffd37e52</identifier>
 <sender>weather@cwb.gov.tw</sender>
 <sent>2016-05-17T16:42:14+08:00</sent>
 <status>Actual</status>
 <msgType>Issue</msgType>
 <dataid>CWB_A0003</dataid>
 <scope>Public</scope>
 <dataset/>
 <location>
  <lat>25.1348</lat>
  <lon>121.7321</lon>
  <locationName>基隆</locationName>
  <stationId>466940</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>27</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>80.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>1.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>20.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.87</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>1.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>5.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1524</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>2.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1525</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>基隆市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>03</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>中山區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>010</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>25.1656</lat>
  <lon>121.4400</lon>
  <locationName>淡水</locationName>
  <stationId>466900</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>19</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>30.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>1.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>21.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.73</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>5.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1555</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>2.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>20.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1531</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>新北市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>06</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>淡水區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>004</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.9993</lat>
  <lon>121.4338</lon>
  <locationName>板橋</locationName>
  <stationId>466880</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>10</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>3.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>21.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.69</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1012.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>8.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1537</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>4.7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>80.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1515</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>新北市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>06</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>板橋區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>041</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>25.1650</lat>
  <lon>121.5363</lon>
  <locationName>竹子湖</locationName>
  <stationId>466930</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>607</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>230.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>0.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>17.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.89</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>943.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>3.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>240.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1540</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>1.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>220.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1546</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺北市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>01</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>北投區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>006</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.8300</lat>
  <lon>121.0061</lon>
  <locationName>新竹</locationName>
  <stationId>467571</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>34</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>1.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>21.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.71</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1009.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>6.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>30.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1542</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>2.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1524</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>新竹縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>10</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>竹北市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>064</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.1475</lat>
  <lon>120.6759</lon>
  <locationName>臺中</locationName>
  <stationId>467490</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>84</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>350.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>2.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>24.7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.70</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1001.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>6.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>310.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1542</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>3.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>340.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1600</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺中市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>02</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>北區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>128</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.2587</lat>
  <lon>120.5151</lon>
  <locationName>梧棲</locationName>
  <stationId>467770</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>360.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>6.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>23.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.72</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1008.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>14.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>350.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1558</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>8.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>360.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1543</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺中市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>02</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>梧棲區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>118</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.5672</lat>
  <lon>119.5552</lon>
  <locationName>澎湖</locationName>
  <stationId>467350</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>11</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>360.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>6.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>25.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.66</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>14.7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>350.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1509</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>6.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>360.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1531</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>澎湖縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>23</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>馬公市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>212</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.8830</lat>
  <lon>120.8999</lon>
  <locationName>日月潭</locationName>
  <stationId>467650</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>1015</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>280.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>0.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>21.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.83</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>900.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>7.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>2.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>330.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1531</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>0.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>320.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1519</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>南投縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>13</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>魚池鄉</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>164</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.5104</lat>
  <lon>120.8051</lon>
  <locationName>阿里山</locationName>
  <stationId>467530</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>2413</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>280.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>1.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>13.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.93</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>764.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>10.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>6.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>280.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1546</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>3.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>270.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1548</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>嘉義縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>17</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>阿里山鄉</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>208</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.4893</lat>
  <lon>120.9517</lon>
  <locationName>玉山</locationName>
  <stationId>467550</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>3845</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>260.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>1.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>5.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.93</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>643.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>2.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>11.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>280.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1535</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>6.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>300.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1542</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>南投縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>13</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>信義鄉</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>175</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.4977</lat>
  <lon>120.4245</lon>
  <locationName>嘉義</locationName>
  <stationId>467480</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>27</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>360.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>3.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>27.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.68</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1007.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>1.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>6.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>340.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1530</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>3.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>340.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1542</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>嘉義市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>09</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>西區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>219</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>22.5679</lat>
  <lon>120.3080</lon>
  <locationName>高雄</locationName>
  <stationId>467440</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>310.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>3.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>28.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.69</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1009.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>6.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>320.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1501</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>4.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>300.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1504</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>高雄市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>05</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>前鎮區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>328</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>22.0054</lat>
  <lon>120.7381</lon>
  <locationName>恆春</locationName>
  <stationId>467590</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>22</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>4.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>27.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.69</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1008.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>9.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1502</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>5.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>20.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1504</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>屏東縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>20</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>恆春鎮</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>350</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.7656</lat>
  <lon>121.7479</lon>
  <locationName>宜蘭</locationName>
  <stationId>467080</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>290.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>0.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>20.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.81</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1012.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>2.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>20.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1501</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>1.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>360.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1523</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>宜蘭縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>07</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>宜蘭市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>075</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.6017</lat>
  <lon>121.8644</lon>
  <locationName>蘇澳</locationName>
  <stationId>467060</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>25</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>280.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>1.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>20.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.85</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>1.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>7.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>300.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1531</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>3.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>300.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1543</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>宜蘭縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>07</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>蘇澳鎮</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>354</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.9770</lat>
  <lon>121.6050</lon>
  <locationName>花蓮</locationName>
  <stationId>466990</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>16</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>4.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>24.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.74</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>6.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1552</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>3.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>20.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1542</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>花蓮縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>21</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>花蓮市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>150</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.0992</lat>
  <lon>121.3654</lon>
  <locationName>成功</locationName>
  <stationId>467610</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>34</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>30.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>5.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>24.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.77</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1007.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>10.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>30.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1549</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>6.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>30.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1526</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺東縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>22</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>成功鎮</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>258</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>22.7540</lat>
  <lon>121.1465</lon>
  <locationName>臺東</locationName>
  <stationId>467660</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>4.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>25.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.74</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>9.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1519</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>4.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1528</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺東縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>22</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>臺東市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>297</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>22.3576</lat>
  <lon>120.8957</lon>
  <locationName>大武</locationName>
  <stationId>467540</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>2.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>24.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.80</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>6.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1518</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>2.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1505</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺東縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>22</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>大武鄉</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>342</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>22.0387</lat>
  <lon>121.5506</lon>
  <locationName>蘭嶼</locationName>
  <stationId>467620</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>324</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>9.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>22.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.86</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>973.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>5.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>17.7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1552</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>11.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1538</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺東縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>22</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>蘭嶼鄉</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>351</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>25.6294</lat>
  <lon>122.0713</lon>
  <locationName>彭佳嶼</locationName>
  <stationId>466950</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>102</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>7.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>20.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.71</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1001.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>1.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>11.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1550</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>7.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>40.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1501</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>基隆市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>99</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>中正區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>999</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>23.2590</lat>
  <lon>119.6596</lon>
  <locationName>東吉島</locationName>
  <stationId>467300</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>43</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>20.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>11.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>25.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.73</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1006.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>16.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1600</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>12.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1538</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>澎湖縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>23</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>望安鄉</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>231</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.9608</lat>
  <lon>121.5165</lon>
  <locationName>新店</locationName>
  <stationId>A0A9M0</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>24</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>70.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>1.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>20.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.79</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>1.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>4.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>80.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1515</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>2.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>80.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1517</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>新北市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>06</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>新店區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>050</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>25.0396</lat>
  <lon>121.5067</lon>
  <locationName>臺北</locationName>
  <stationId>466920</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>4.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>20.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.77</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>9.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>70.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1512</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>5.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1526</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺北市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>01</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>中正區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>036</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>22.9952</lat>
  <lon>120.1970</lon>
  <locationName>臺南</locationName>
  <stationId>467410</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>41</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>4.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>28.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.65</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1007.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>8.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>360.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1600</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>5.5</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>30.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1600</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>臺南市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>04</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>中區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>275</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>20.4200</lat>
  <lon>116.4300</lon>
  <locationName>東沙</locationName>
  <stationId>468100</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>6.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>26.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.84</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1009.1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>11.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>/</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>-99.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>/</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>高雄市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>99</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>東沙島</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>999</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>24.4074</lat>
  <lon>118.2893</lon>
  <locationName>金門</locationName>
  <stationId>467110</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>48</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>70.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>5.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>22.9</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.60</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1009.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>10.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1527</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>4.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1551</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>金門縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>99</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>金城鎮</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>999</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>26.1694</lat>
  <lon>119.9232</lon>
  <locationName>馬祖</locationName>
  <stationId>467990</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>1</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>98</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>4.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>19.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.67</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1004.4</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>9.7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>20.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1554</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>4.6</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>60.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1544</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>連江縣</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>99</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>南竿鄉</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>999</parameterValue>
  </parameter>
 </location>
 <location>
  <lat>25.0067</lat>
  <lon>121.0475</lon>
  <locationName>新屋</locationName>
  <stationId>467050</stationId>
  <time>
   <obsTime>2016-05-17T16:40:00+08:00</obsTime>
  </time>
  <weatherElement>
   <elementName>TIME</elementName>
   <elementValue>
    <value>0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>ELEV</elementName>
   <elementValue>
    <value>21</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDIR</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>WDSD</elementName>
   <elementValue>
    <value>5.8</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>TEMP</elementName>
   <elementValue>
    <value>21.7</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>HUMD</elementName>
   <elementValue>
    <value>0.73</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>PRES</elementName>
   <elementValue>
    <value>1010.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>24R</elementName>
   <elementValue>
    <value>0.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FX</elementName>
   <elementValue>
    <value>12.2</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_XD</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_FXT</elementName>
   <elementValue>
    <value>1520</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10</elementName>
   <elementValue>
    <value>8.3</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_10D</elementName>
   <elementValue>
    <value>50.0</value>
   </elementValue>
  </weatherElement>
  <weatherElement>
   <elementName>H_F10T</elementName>
   <elementValue>
    <value>1501</value>
   </elementValue>
  </weatherElement>
  <parameter>
   <parameterName>CITY</parameterName>
   <parameterValue>桃園市</parameterValue>
  </parameter>
  <parameter>
   <parameterName>CITY_SN</parameterName>
   <parameterValue>08</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN</parameterName>
   <parameterValue>新屋區</parameterValue>
  </parameter>
  <parameter>
   <parameterName>TOWN_SN</parameterName>
   <parameterValue>047</parameterValue>
  </parameter>
 </location>
</cwbopendata>


text:
/*jshint browser: true, jasmine: true */
/*global inject, module */

describe('Template directive', function () {
    'use strict';

    var $compile,
        $scope;

    beforeEach(module('ngMock'));
    beforeEach(module('sky.templating'));

    beforeEach(inject(function (_$rootScope_, _$compile_) {
        $compile = _$compile_;
        $scope = _$rootScope_;
    }));

    it('should process template', function () {
        var el,
            templateResultEl;

        /*jslint white: true */
        el = $compile(
            '' +
                '{{templateValue1}}' +
                '{{templateValue2}}' +
                '{{templateValue1}}' +
            ''
        )($scope);
        /*jslint white: false */

        $scope.myTemplate = 'Template item 1: {0} Template item 2: {1} Template item 3: {0}';
        $scope.templateValue1 = 'abc';
        $scope.templateValue2 = 'xyz';

        $scope.$digest();

        templateResultEl = el.find('.bb-template-result');

        expect(templateResultEl.find('.bb-template-item-0 span').eq(0)).toHaveText('abc');
        expect(templateResultEl.find('.bb-template-item-1 span')).toHaveText('xyz');
        expect(templateResultEl.find('.bb-template-item-0 span').eq(1)).toHaveText('abc');
    });

    it('should not process an undefined template', function () {
        var el;

        el = $compile('')($scope);

        $scope.$digest();

        expect(el).toHaveHtml('');
    });
});

redpajama_set_name: RedPajamaGithub


text:
// -----------------------------------------------------------------------
// <copyright file="StringLiteralPipe.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace Parrot.Nodes
{
    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class StringLiteralPipe : StringLiteral
    {
        public StringLiteralPipe(string value) : this(value, null)
        {
        }

        public StringLiteralPipe(string value, StatementTail statementTail) : base("\"" + value + "\"", statementTail)
        {
        }
    }
}


text:
package org.apache.camel.component.github.consumer;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Stack;

import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.component.github.GitHubConstants;
import org.apache.camel.component.github.GitHubEndpoint;
import org.apache.camel.spi.Registry;
import org.eclipse.egit.github.core.Comment;
import org.eclipse.egit.github.core.CommitComment;
import org.eclipse.egit.github.core.PullRequest;
import org.eclipse.egit.github.core.service.IssueService;
import org.eclipse.egit.github.core.service.PullRequestService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PullRequestCommentConsumer extends AbstractGitHubConsumer {
    private static final transient Logger LOG = LoggerFactory.getLogger(PullRequestCommentConsumer.class);

    private PullRequestService pullRequestService;

    private IssueService issueService;

    private List<Long> commentIds = new ArrayList<>();

    public PullRequestCommentConsumer(GitHubEndpoint endpoint, Processor processor) throws Exception {
        super(endpoint, processor);

        Registry registry = endpoint.getCamelContext().getRegistry();
        Object service = registry.lookupByName(GitHubConstants.GITHUB_PULL_REQUEST_SERVICE);
        if (service != null) {
            LOG.debug("Using PullRequestService found in registry {}", service.getClass().getCanonicalName());
            pullRequestService = (PullRequestService) service;
        } else {
            pullRequestService = new PullRequestService();
        }
        initService(pullRequestService);

        service = registry.lookupByName(GitHubConstants.GITHUB_ISSUE_SERVICE);
        if (service != null) {
            issueService = (IssueService) service;
        } else {
            issueService = new IssueService();
        }
        initService(issueService);

        LOG.info("GitHub PullRequestCommentConsumer: Indexing current pull request comments...");
        List<PullRequest> pullRequests = pullRequestService.getPullRequests(getRepository(), "open");
        for (PullRequest pullRequest : pullRequests) {
            List<CommitComment> commitComments = pullRequestService.getComments(getRepository(),
                                                                                pullRequest.getNumber());
            for (Comment comment : commitComments) {
                commentIds.add(comment.getId());
            }
            List<Comment> comments = issueService.getComments(getRepository(), pullRequest.getNumber());
            for (Comment comment : comments) {
                commentIds.add(comment.getId());
            }
        }
    }

    @Override
    protected int poll() throws Exception {
        // Do this here, rather than at the class level.  We only care about it for setting the Exchange header, so
        // there's no point growing memory over time.
        Map<Long, PullRequest> commentIdToPullRequest = new HashMap<>();

        List<PullRequest> pullRequests = pullRequestService.getPullRequests(getRepository(), "open");
        // In the end, we want comments oldest to newest.
        Stack<Comment> newComments = new Stack<>();
        for (PullRequest pullRequest : pullRequests) {
            List<CommitComment> commitComments = pullRequestService.getComments(getRepository(), pullRequest.getNumber());
            for (Comment comment : commitComments) {
                if (!commentIds.contains(comment.getId())) {
                    newComments.add(comment);
                    commentIds.add(comment.getId());
                    commentIdToPullRequest.put(comment.getId(), pullRequest);
                }
            }
            List<Comment> comments = issueService.getComments(getRepository(), pullRequest.getNumber());
            for (Comment comment : comments) {
                if (!commentIds.contains(comment.getId())) {
                    newComments.add(comment);
                    commentIds.add(comment.getId());
                    commentIdToPullRequest.put(comment.getId(), pullRequest);
                }
            }
        }

        while (!newComments.empty()) {
            Comment newComment = newComments.pop();
            Exchange e = getEndpoint().createExchange();
            e.getIn().setBody(newComment);

            // Required by the producers.  Set it here for convenience.
            e.getIn().setHeader(GitHubConstants.GITHUB_PULLREQUEST, commentIdToPullRequest.get(newComment.getId()));

            getProcessor().process(e);
        }
        return newComments.size();
    }
}


text:
<?php namespace App;

use Illuminate\Database\Eloquent\Model;

class User extends Model {

  /**
   * @return \Illuminate\Database\Eloquent\Relations\HasMany
   * Descript: one use has many sessions
   */
  public function session() {
    return $this->hasMany('App\Session');
  }
}


text:
namespace capnp {
namespace _ {
namespace {

class TestInterfaceImpl final: public test::TestInterface::Server {
public:
  TestInterfaceImpl(uint generation): generation(generation) {}

  void setError(kj::Exception e) {
    error = kj::mv(e);
  }

  kj::Own<kj::PromiseFulfiller<void>> block() {
    auto paf = kj::newPromiseAndFulfiller<void>();
    blocker = paf.promise.fork();
    return kj::mv(paf.fulfiller);
  }

protected:
  kj::Promise<void> foo(FooContext context) override {
    KJ_IF_MAYBE(e, error) {
      return kj::cp(*e);
    }
    auto params = context.getParams();
    context.initResults().setX(kj::str(params.getI(), ' ', params.getJ(), ' ', generation));
    return blocker.addBranch();
  }

private:
  uint generation;
  kj::Maybe<kj::Exception> error;
  kj::ForkedPromise<void> blocker = kj::Promise<void>(kj::READY_NOW).fork();
};

void doAutoReconnectTest(kj::WaitScope& ws,
    kj::Function<test::TestInterface::Client(test::TestInterface::Client)> wrapClient) {
  TestInterfaceImpl* currentServer = nullptr;
  uint connectCount = 0;

  test::TestInterface::Client client = wrapClient(autoReconnect([&]() {
    auto server = kj::heap<TestInterfaceImpl>(connectCount++);
    currentServer = server;
    return test::TestInterface::Client(kj::mv(server));
  }));

  auto testPromise = [&](uint i, bool j) {
    auto req = client.fooRequest();
    req.setI(i);
    req.setJ(j);
    return req.send();
  };

  auto test = [&](uint i, bool j) {
    return testPromise(i, j).wait(ws).getX();
  };

  KJ_EXPECT(test(123, true) == "123 true 0");

  currentServer->setError(KJ_EXCEPTION(DISCONNECTED, "test1 disconnect"));
  KJ_EXPECT_THROW_RECOVERABLE_MESSAGE("test1 disconnect", test(456, true));

  KJ_EXPECT(test(789, false) == "789 false 1");
  KJ_EXPECT(test(21, true) == "21 true 1");

  {
    // We cause two disconnect promises to be thrown concurrently. This should only cause the
    // reconnector to reconnect once, not twice.
    auto fulfiller = currentServer->block();
    auto promise1 = testPromise(32, false);
    auto promise2 = testPromise(43, true);
    KJ_EXPECT(!promise1.poll(ws));
    KJ_EXPECT(!promise2.poll(ws));
    fulfiller->reject(KJ_EXCEPTION(DISCONNECTED, "test2 disconnect"));
    KJ_EXPECT_THROW_RECOVERABLE_MESSAGE("test2 disconnect", promise1.wait(ws));
    KJ_EXPECT_THROW_RECOVERABLE_MESSAGE("test2 disconnect", promise2.wait(ws));
  }

  KJ_EXPECT(test(43, false) == "43 false 2");

  // Start a couple calls that will block at the server end, plus an unsent request.
  auto fulfiller = currentServer->block();

  auto promise1 = testPromise(1212, true);
  auto promise2 = testPromise(3434, false);
  auto req3 = client.fooRequest();
  req3.setI(5656);
  req3.setJ(true);
  KJ_EXPECT(!promise1.poll(ws));
  KJ_EXPECT(!promise2.poll(ws));

  // Now force a reconnect.
  currentServer->setError(KJ_EXCEPTION(DISCONNECTED, "test3 disconnect"));

  // Initiate a request that will fail with DISCONNECTED.
  auto promise4 = testPromise(7878, false);

  // And throw away our capability entirely, just to make sure that anyone who needs it is holding
  // onto their own ref.
  client = nullptr;

  // Everything we initiated should still finish.
  KJ_EXPECT_THROW_RECOVERABLE_MESSAGE("test3 disconnect", promise4.wait(ws));

  // Send the request which we created before the disconnect. There are two behaviors we accept
  // as correct here: it may throw the disconnect exception, or it may automatically redirect to
  // the newly-reconnected destination.
  req3.send().then([](Response<test::TestInterface::FooResults> resp) {
    KJ_EXPECT(resp.getX() == "5656 true 3");
  }, [](kj::Exception e) {
    KJ_EXPECT(e.getDescription().endsWith("test3 disconnect"));
  }).wait(ws);

  KJ_EXPECT(!promise1.poll(ws));
  KJ_EXPECT(!promise2.poll(ws));
  fulfiller->fulfill();
  KJ_EXPECT(promise1.wait(ws).getX() == "1212 true 2");
  KJ_EXPECT(promise2.wait(ws).getX() == "3434 false 2");
}

KJ_TEST("autoReconnect() direct call (exercises newCall() / RequestHook)") {
  kj::EventLoop loop;
  kj::WaitScope ws(loop);

  doAutoReconnectTest(ws, [](auto c) {return kj::mv(c);});
}

KJ_TEST("autoReconnect() through RPC (exercises call() / CallContextHook)") {
  kj::EventLoop loop;
  kj::WaitScope ws(loop);

  auto paf = kj::newPromiseAndFulfiller<test::TestInterface::Client>();

  auto pipe = kj::newTwoWayPipe();
  TwoPartyClient client(*pipe.ends[0]);
  TwoPartyClient server(*pipe.ends[1], kj::mv(paf.promise), rpc::twoparty::Side::SERVER);

  doAutoReconnectTest(ws, [&](test::TestInterface::Client c) {
    paf.fulfiller->fulfill(kj::mv(c));
    return client.bootstrap().castAs<test::TestInterface>();
  });
}

}  // namespace
}  // namespace _
}  // namespace capnp


text:
"""Model for the execution editor keeping track of the declared pools.

"""
from collections import Counter, Iterable

from atom.api import Atom, Value, Typed, List

from ....tasks.api import ComplexTask
from ....utils.atom_util import tagged_members

class ExecutionEditorModel(Atom):
    """Model for the execution editor.

    Walk all the tasks to determine which pool of tasks are defined and keep a
    counter.

    """
    #: Reference to the root task of the hierarchy.
    root = Value()

    #: List of already existing execution pools.
    pools = List()

    def bind_observers(self):
        """Set up the observers on the task hierarchy.

        """
        counter = Counter()
        self._bind_observers(self.root, counter)

        self._counter = counter
        self.pools = list(set(counter.elements()))

    def unbind_observers(self):
        """Remove all the observer from all tasks.

        """
        self._unbind_observers(self.root, Counter())

    # =========================================================================
    # --- Private API ---------------------------------------------------------
    # =========================================================================

    #: Counter keeping track of how many times each pool appear.
    _counter = Typed(Counter, ())

    def _bind_observers(self, task, counter):
        """Bind the observer to a specific task and its children.

        """
        if isinstance(task, ComplexTask):
            for m in tagged_members(task, 'child'):
                task.observe(m, self._child_observer)
            for m in tagged_members(task, 'child_notifier'):
                task.observe(m, self._child_notifier_observer)
            for child in task.gather_children():
                self._bind_observers(child, counter)

        pools = []
        parallel = task.parallel
        if parallel.get('activated'):
            pool = parallel['pool']
            if pool:
                pools.append(pool)

        wait = task.wait
        if wait.get('activated'):
            pools.extend(wait.get('wait', []))
            pools.extend(wait.get('no_wait', []))

        counter.update(pools)

        task.observe('parallel', self._task_observer)
        task.observe('wait', self._task_observer)

    def _unbind_observers(self, task, counter):
        """Remove the observer linked to a specific task.

        """
        if isinstance(task, ComplexTask):
            for m in tagged_members(task, 'child'):
                task.unobserve(m, self._child_observer)
            for m in tagged_members(task, 'child_notifier'):
                task.unobserve(m, self._child_notifier_observer)
            for child in task.gather_children():
                self._unbind_observers(child, counter)

        pools = []
        parallel = task.parallel
        if parallel.get('activated'):
            pool = parallel['pool']
            if pool:
                pools.append(pool)

        wait = task.wait
        if wait.get('activated'):
            pools.extend(wait.get('wait', []))
            pools.extend(wait.get('no_wait', []))

        counter.subtract(pools)

        task.unobserve('parallel', self._task_observer)
        task.unobserve('wait', self._task_observer)

    def _post_setattr_root(self, old, new):
        """Make sure we always observe the right root.

        """
        if old:
            self._unbind_observers(old, self._counter)

        if new:
            self.bind_observers()

    def _task_observer(self, change):
        """Observer handler reacting to task change.

        """
        if change['name'] == 'parallel':
            activated = change['value'].get('activated')
            pool = change['value'].get('pool')
            if not activated and pool:
                self._counter[pool] -= 1

            elif activated and pool:
                self._counter[pool] += 1

            self._update_pools()

        else:
            activated = change['value'].get('activated')
            wait = change['value'].get('wait', [])
            no_wait = change['value'].get('no_wait', [])
            counter = Counter(wait + no_wait)

            if not activated and counter:
                self._counter.subtract(counter)

            elif activated and counter:
                self._counter.update(counter)

            self._update_pools()

    def _child_observer(self, change):
        """Observe rtracking a member tagged with child.

        """
        counter = Counter()
        value = change['value']
        if isinstance(value, Iterable):
            for c in value:
                self._bind_observers(c, counter)
        elif value:
            self._bind_observers(value, counter)

        if 'oldvalue' in change:
            value = change['oldvalue']
            if isinstance(value, Iterable):
                for c in value:
                    self._unbind_observers(c, counter)
            elif value:
                self._unbind_observers(value, counter)

        self._counter.update(counter)
        self._update_pools()

    def _child_notifier_observer(self, change):
        """Keep track of children addition and removal.

        """
        if change.collapsed:
            for c in change.collapsed:
                self._child_notifier_observer(c)

        counter = Counter()

        for _, child in change.removed:
            self._unbind_observers(child, counter)

        for _, child in change.added:
            self._bind_observers(child, counter)

        self._counter.update(counter)
        self._update_pools()

    def _update_pools(self, counter=None):
        """Update the pool with the elements having a positive count.

        """
        c = counter or self._counter
        self.pools = list(set(c.elements()))


text:
package org.apache.shindig.gadgets.process;

import java.util.logging.Level;
import java.util.logging.Logger;

import javax.servlet.http.HttpServletResponse;

import org.apache.shindig.common.logging.i18n.MessageKeys;
import org.apache.shindig.common.uri.Uri;
import org.apache.shindig.config.ContainerConfig;
import org.apache.shindig.gadgets.Gadget;
import org.apache.shindig.gadgets.GadgetContext;
import org.apache.shindig.gadgets.GadgetException;
import org.apache.shindig.gadgets.GadgetSpecFactory;
import org.apache.shindig.gadgets.admin.GadgetAdminStore;
import org.apache.shindig.gadgets.features.FeatureRegistry;
import org.apache.shindig.gadgets.features.FeatureRegistryProvider;
import org.apache.shindig.gadgets.spec.GadgetSpec;
import org.apache.shindig.gadgets.spec.View;
import org.apache.shindig.gadgets.variables.VariableSubstituter;

import com.google.inject.Inject;
import com.google.inject.Singleton;

/**
 * Converts an input Context into an output Gadget.
 */
@Singleton
public class Processor {
  //class name for logging purpose
  private static final String classname = Processor.class.getName();
  private static final Logger LOG = Logger.getLogger(classname,MessageKeys.MESSAGES);
  private final GadgetSpecFactory gadgetSpecFactory;
  private final VariableSubstituter substituter;
  private final ContainerConfig containerConfig;
  private final GadgetAdminStore gadgetAdminStore;
  private final FeatureRegistryProvider featureRegistryProvider;

  @Inject
  public Processor(GadgetSpecFactory gadgetSpecFactory,
                   VariableSubstituter substituter,
                   ContainerConfig containerConfig,
                   GadgetAdminStore gadgetAdminStore,
                   FeatureRegistryProvider featureRegistryProvider) {
    this.gadgetSpecFactory = gadgetSpecFactory;
    this.substituter = substituter;
    this.gadgetAdminStore = gadgetAdminStore;
    this.containerConfig = containerConfig;
    this.featureRegistryProvider = featureRegistryProvider;
  }

  protected void validateGadgetUrl(Uri url) throws ProcessingException {
    if (!"http".equalsIgnoreCase(url.getScheme()) && !"https".equalsIgnoreCase(url.getScheme())) {
      throw new ProcessingException("Unsupported scheme (must be http or https).",
          HttpServletResponse.SC_FORBIDDEN);
    }
  }

  /**
   * Process a single gadget. Creates a gadget from a retrieved GadgetSpec and context object,
   * automatically performing variable substitution on the spec for use elsewhere.
   *
   * @throws ProcessingException If there is a problem processing the gadget.
   */
  public Gadget process(GadgetContext context) throws ProcessingException {
    GadgetSpec spec;
    FeatureRegistry featureRegistry;

    try {
      Uri url = gadgetSpecFactory.getGadgetUri(context);

      if (url == null) {
        throw new ProcessingException("Missing or malformed url parameter",
            HttpServletResponse.SC_BAD_REQUEST);
      }

      validateGadgetUrl(url);
      if (!gadgetAdminStore.isWhitelisted(context.getContainer(), url.toString())) {
        if (LOG.isLoggable(Level.INFO)) {
          LOG.logp(Level.INFO, classname, "process", MessageKeys.RENDER_NON_WHITELISTED_GADGET, new Object[] {url});
        }
        throw new ProcessingException("The requested gadget is not authorized for this container",
            HttpServletResponse.SC_FORBIDDEN);
      }

      spec = gadgetSpecFactory.getGadgetSpec(context);
      spec = substituter.substitute(context, spec);

      if (context.getSanitize()) {
        spec = spec.removeUrlViews();
      }

      featureRegistry = featureRegistryProvider.get(context.getRepository());
    } catch (GadgetException e) {
      throw new ProcessingException(e.getMessage(), e, e.getHttpStatusCode());
    }

    return new Gadget()
        .setContext(context)
        .setGadgetFeatureRegistry(featureRegistry)
        .setSpec(spec)
        .setCurrentView(getView(context, spec));
  }

  /**
   * Attempts to extract the "current" view for the given gadget.
   *
   * There is common container JavaScript code that performs this same type of aliasing check before
   * render. If the common container is being used, the view should never have to be aliased here.
   */
  private View getView(GadgetContext context, GadgetSpec spec) {
    String viewName = context.getView();
    View view = spec.getView(viewName);
    if (view == null) {
      String container = context.getContainer();
      String property = "${Cur['gadgets.features'].views['" + viewName + "'].aliases}";
      for (Object alias : containerConfig.getList(container, property)) {
        viewName = alias.toString();
        view = spec.getView(viewName);
        if (view != null) {
          return view;
        }
      }
    }
    if (view == null) {
      view = spec.getView(GadgetSpec.DEFAULT_VIEW);
    }
    return view;
  }
}