Announcement

Collapse
No announcement yet.

Data Reader Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Data Reader Plugin

    Hello All,

    Is there a way i can parse the information below using the DataReader Plugin? I have not used it before so I'm just wondering if its easier especially for updating a live feed.

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet href="latest_ob.xsl" type="text/xsl"?>
    <current_observation version="1.0"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://www.weather.gov/view/current_observation.xsd">
    <credit>NOAA's National Weather Service</credit>
    <credit_URL>http://weather.gov/</credit_URL>
    <image>
    <url>http://weather.gov/images/xml_logo.gif</url>
    <title>NOAA's National Weather Service</title>
    <link>http://weather.gov</link>
    </image>
    <suggested_pickup>15 minutes after the hour</suggested_pickup>
    <suggested_pickup_period>60</suggested_pickup_period>
    <location>Tampa, Tampa International Airport, FL</location>
    <station_id>KTPA</station_id>
    <latitude>27.96139</latitude>
    <longitude>-82.54028</longitude>
    <observation_time>Last Updated on Sep 21 2017, 10:53 am EDT</observation_time>
    <observation_time_rfc822>Thu, 21 Sep 2017 10:53:00 -0400</observation_time_rfc822>
    <weather>Partly Cloudy</weather>
    <temperature_string>85.0 F (29.4 C)</temperature_string>
    <temp_f>85.0</temp_f>
    <temp_c>29.4</temp_c>
    <relative_humidity>59</relative_humidity>
    <wind_string>East at 4.6 MPH (4 KT)</wind_string>
    <wind_dir>East</wind_dir>
    <wind_degrees>80</wind_degrees>
    <wind_mph>4.6</wind_mph>
    <wind_kt>4</wind_kt>
    <pressure_string>1016.6 mb</pressure_string>
    <pressure_mb>1016.6</pressure_mb>
    <pressure_in>30.02</pressure_in>
    <dewpoint_string>69.1 F (20.6 C)</dewpoint_string>
    <dewpoint_f>69.1</dewpoint_f>
    <dewpoint_c>20.6</dewpoint_c>
    <heat_index_string>89 F (32 C)</heat_index_string>
    <heat_index_f>89</heat_index_f>
    <heat_index_c>32</heat_index_c>
    <visibility_mi>10.00</visibility_mi>
    <icon_url_base>http://forecast.weather.gov/images/wtf/small/</icon_url_base>
    <two_day_history_url>http://www.weather.gov/data/obhistory/KTPA.html</two_day_history_url>
    <icon_url_name>sct.png</icon_url_name>
    <ob_url>http://www.weather.gov/data/METAR/KTPA.1.txt</ob_url>
    <disclaimer_url>http://weather.gov/disclaimer.html</disclaimer_url>
    <copyright_url>http://weather.gov/disclaimer.html</copyright_url>
    <privacy_policy_url>http://weather.gov/notice.html</privacy_policy_url>
    </current_observation>

  • #2
    You need to create a DP file and define your elements there.

    Go to this link, you will find an example attached:

    http://forum.vizrt.com/forum/viz-art...accessing-data

    Comment


    • #3
      Hi Ravi,

      Yes i did see that example and i have the file but can't it to work with the data. I'm sure its the settings on the plugin. There is really no useful information on the plugin that I have found.

      Comment


      • #4
        Ok i got the plugin to work the way i want, now i have to figure out how to get the data image to work as well.

        Comment

        Working...
        X