Recent changes Random page
GAMING
Technology
 
Gaming
Entertainment
Science Fiction
Biggest wikis
Hobbies
Music
See more...

Example: Atmospheric forecast (METRo)

From Documentation

Jump to: navigation, search


Image:Logo ec.gif
This page is part of the documentation of the METRo software. Back to the table of content.

[edit] XML sample

<?xml version ="1.0" ?>
<forecast>
   <header>
       <version>1.1</version>
       <production-date>2005-02-05T15:00Z</production-date>
       <station-id>yam</station-id>
   </header>
   <prediction-list>

       <prediction>
           <forecast-time>2005-02-05T13:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>10</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1025</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T14:00Z</forecast-time>
           <at>-1</at>
           <td>-1</td>
           <ws>10</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1025</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T15:00Z</forecast-time>
           <at>-1</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1025</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T16:00Z</forecast-time>
           <at>0</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1025</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T17:00Z</forecast-time>
           <at>1</at>
           <td>0</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1025</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T18:00Z</forecast-time>
           <at>2</at>
           <td>0</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1025</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T19:00Z</forecast-time>
           <at>3</at>
           <td>0</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1024</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T20:00Z</forecast-time>
           <at>4</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T21:00Z</forecast-time>
           <at>5</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T22:00Z</forecast-time>
           <at>3</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-05T23:00Z</forecast-time>
           <at>2</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T00:00Z</forecast-time>
           <at>0</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T01:00Z</forecast-time>
           <at>0</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T02:00Z</forecast-time>
           <at>0</at>
           <td>0</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T03:00Z</forecast-time>
           <at>0</at>
           <td>0</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T04:00Z</forecast-time>
           <at>-1</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T05:00Z</forecast-time>
           <at>-1</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T06:00Z</forecast-time>
           <at>2</at>
           <td>1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T07:00Z</forecast-time>
           <at>2</at>
           <td>0</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T08:00Z</forecast-time>
           <at>1</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>3</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T09:00Z</forecast-time>
           <at>1</at>
           <td>-2</td>
           <ws>20</ws>
           <cc>4</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T10:00Z</forecast-time>
           <at>1</at>
           <td>-2</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T11:00Z</forecast-time>
           <at>1</at>
           <td>-3</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T12:00Z</forecast-time>
           <at>1</at>
           <td>-3</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T13:00Z</forecast-time>
           <at>2</at>
           <td>-2</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T14:00Z</forecast-time>
           <at>2</at>
           <td>-2</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T15:00Z</forecast-time>
           <at>3</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T16:00Z</forecast-time>
           <at>3</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1023</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T17:00Z</forecast-time>
           <at>4</at>
           <td>0</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T18:00Z</forecast-time>
           <at>4</at>
           <td>0</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T19:00Z</forecast-time>
           <at>4</at>
           <td>0</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T20:00Z</forecast-time>
           <at>5</at>
           <td>0</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T21:00Z</forecast-time>
           <at>5</at>
           <td>0</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1021</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T22:00Z</forecast-time>
           <at>4</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1021</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-06T23:00Z</forecast-time>
           <at>3</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>6</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T00:00Z</forecast-time>
           <at>2</at>
           <td>-2</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.0</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T01:00Z</forecast-time>
           <at>2</at>
           <td>-2</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.3</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T02:00Z</forecast-time>
           <at>1</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.6</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T03:00Z</forecast-time>
           <at>1</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>0.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T04:00Z</forecast-time>
           <at>0</at>
           <td>-1</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T05:00Z</forecast-time>
           <at>-1</at>
           <td>-2</td>
           <ws>20</ws>
           <cc>7</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T06:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>00</ws>
           <cc>0</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T07:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>00</ws>
           <cc>0</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T08:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>00</ws>
           <cc>0</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T09:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>00</ws>
           <cc>0</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T10:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>00</ws>
           <cc>0</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T11:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>00</ws>
           <cc>0</cc>
           <sn>0.0</sn>
           <ra>1.9</ra>
           <ap>1022</ap>
       </prediction>

       <prediction>
           <forecast-time>2005-02-07T12:00Z</forecast-time>
           <at>-2</at>
           <td>-2</td>
           <ws>00</ws>
           <cc>0</cc>
           <sn>-99.9</sn>
           <ra>-99.9</ra>
           <ap>1022</ap>
       </prediction>
   </prediction-list>
</forecast>


METRo I/O files
Station | Observation | Forecast | Roadcast | Configuration
METRo I/O specification
Schema | | Flowchart | Format | Date | Observation QA/QC | Road condition | Station type | Time zone | Layer type | Latitude and longitude
METRo I/O examples
Station | Observation | Forecast | Roadcast | Graphical display
Rate this article:
Share this article: