Download presentation
Presentation is loading. Please wait.
Published byKarlee Flood Modified over 9 years ago
1
XML Services and Needs in NOAA’s National Weather Service Ron Jones NOAA’s National Weather Service Office of the CIO
2
What is XML? eXtensible Markup Language is a widely used system for defining data formats. eXtensible Markup Language is a widely used system for defining data formats. provides a very rich system to define complex documents and data structures provides a very rich system to define complex documents and data structures as long as a programmer has the XML definition for a collection of data (often called a "schema"), they can create a program to reliably process any data formatted according to those rules. as long as a programmer has the XML definition for a collection of data (often called a "schema"), they can create a program to reliably process any data formatted according to those rules.
3
Why Should We Use XML? Accepted standard format The E-Government Act of 2002 Promotes innovative uses of IT, particularly initiatives involving multi- agency collaboration Explicitly mentions “Extensible Markup Language” Interoperability of data, free of presentation requirements
4
How Is The NWS Using XML? Severe Weather Watches and Warnings Severe Weather Watches and Warnings Tropical Cyclone Advisories Tropical Cyclone Advisories Storm Prediction Center Forecast Products Storm Prediction Center Forecast Products Forecasts Forecasts Hourly Observations Hourly Observations
5
Severe Weather Warnings via XML Uses an industry standard schema (Common Alerting Protocol - CAP) Uses an industry standard schema (Common Alerting Protocol - CAP) Text watches and warnings are parsed to CAP tags Text watches and warnings are parsed to CAP tags Updated every 60 to 90 secondsUpdated every 60 to 90 seconds Easily used by programmers to display severe weather information across the US, by state, or by county Easily used by programmers to display severe weather information across the US, by state, or by county
6
Severe Weather Warnings, Tropical Weather Updates, Storm Prediction Center Products via XML All use an established XML format called RSS (Real Simple Syndication) All use an established XML format called RSS (Real Simple Syndication) Allow NWS content to be displayed on other sites Allow NWS content to be displayed on other sites Allow users to view NWS headlines for items of interest Allow users to view NWS headlines for items of interest
9
Current Weather Observations No WMO or Federal standard XML schema currently exists No WMO or Federal standard XML schema currently exists US METAR observations processed US METAR observations processed Simple schema lowers the bar to entry into data via XML Simple schema lowers the bar to entry into data via XML
10
Hourly Weather Observations
12
Future of XML Without established standard element tags, programmers will still have to write code to parse multiple tags for same data elements Without established standard element tags, programmers will still have to write code to parse multiple tags for same data elements Expand use of XML from basic weather reports to include all weather message formats Expand use of XML from basic weather reports to include all weather message formats Text messages originate in XML and are parsed based on intended use or audience rather than XML derived from text Text messages originate in XML and are parsed based on intended use or audience rather than XML derived from text
13
Standard XML Elements Common elements in WMO weather codes = common XML tags Common elements in WMO weather codes = common XML tags Temperature tags should be common across all WMO codes (surface, uper air, forecasts, etc)Temperature tags should be common across all WMO codes (surface, uper air, forecasts, etc) Meta data included in XML increases value of data Meta data included in XML increases value of data Station data (lat/long, elevation, etc)Station data (lat/long, elevation, etc) Reporting units (Metric/English/etc)Reporting units (Metric/English/etc) Benefit to users – no longer to they have to learn multiple WMO codes for weather messages Benefit to users – no longer to they have to learn multiple WMO codes for weather messages
14
Originate Products As XML XML format – XML format – Text formatted message (traditional)Text formatted message (traditional) Proper case for pubic use Proper case for pubic use NOAA Weather RadioNOAA Weather Radio Headlines/RSS feedsHeadlines/RSS feeds Variety of languagesVariety of languages Build Web page components (both internal and external)Build Web page components (both internal and external) Build SMS Versions (Wireless Text Messages)Build SMS Versions (Wireless Text Messages) Ingest into databasesIngest into databases Convert into shape filesConvert into shape files Converted from text to speechConverted from text to speech
15
Benefits of XML eXcellent Machine Language! eXcellent Machine Language! XML formats are standardized so programmers spend less time attempting to understand them XML formats are standardized so programmers spend less time attempting to understand them XML parsers (commercial and free) are widely available in most computer languages XML parsers (commercial and free) are widely available in most computer languages Weather data more open and usable Weather data more open and usable
16
For More Information Robert Bunge Robert Bunge robert.bunge@noaa.govrobert.bunge@noaa.govrobert.bunge@noaa.gov (301) 713-1381 x140(301) 713-1381 x140 Ron Jones Ron Jones ronald.c.jones@noaa.govronald.c.jones@noaa.govronald.c.jones@noaa.gov (301) 713-1381 x130(301) 713-1381 x130
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.