XML Via SOAP & Local Degrib Applications

Slides:



Advertisements
Similar presentations
Oct, 26 th, 2010 OGF 30, NSI-WG: Network Service Interface working group Web Services Overview Web Services for NSI protocol implementation
Advertisements

18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
Web Service Architecture
1 Understanding Web Services Presented By: Woodas Lai.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Chapters 14 & 15 Internet Databases. E-Commerce  Bringing new products, services, or ideas to market, supporting and enhancing business operations 
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Understand Web Services
A New Computing Paradigm. Overview of Web Services Over 66 percent of respondents to a 2001 InfoWorld magazine poll agreed that "Web services are likely.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
Integrating NDFD with GIS Billy Brooks I.M. Systems Group, Inc. NOAA/NOS/Coastal Services Center NDFD Technical Workshop November 2, 2006.
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
Exchange server Mail system Four components Mail user agent (MUA) to read and compose mail Mail transport agent (MTA) route messages Delivery agent.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Chapter 13 The First Component: Computer Systems.
COS 381 Day 16. Agenda Assignment 4 posted Due April 1 There was no resubmits of Assignment Capstone Progress report Due March 24 Today we will discuss.
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
Generation of WEB SERVICES Using PROGRAM SLICING RAVINDRA KUMAR SUDIP AKURA AMIT KUMAR BALKARAN SINGH SIDHU
1 Web Services Visual C# 2008 Step by Step Chapter 30.
Web service testing Group D5. What are Web Services? XML is the basis for Web services Web services are application components Web services communicate.
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
INTRODUCTION TO WEB DATABASE PROGRAMMING
CIS 451: Web Services Dr. Ralph D. Westfall March, 2009.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
What are Webservices?. Web Services  What are Web Services?  Examine important Web Services acronyms (UDDI, SOAP, XML and WSDL)  What are the benefits.
Web Service Bright + Ong. Meaning A collection of protocols and standards used for exchanging data between applications or systems Written in various.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
CSC8530 Distributed Systems XML Web Services David Vaglia.
Web Server Administration Web Services XML SOAP. Overview What are web services and what do they do? What is XML? What is SOAP? How are they all connected?
Web Services Week 7 Aims: A detailed look at the underlying mechanisms for communication between web services Objectives: SOAP, WSDL, UDDI.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Web Services BOF This is a proposed new working group coming out of the Grid Computing Environments Research Group, as an outgrowth of their investigations.
User Preferences for Weather Data Dissemination Standards on the Web 1 23rd Conference on Interactive Information Processing Systems for Meteorology, Oceanography,
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Introduction to Web Services Instructor: Dr. M. Anwar Hossain.
1 NWS Forecast Grids Served by an NNEW Web Coverage Service AIXM/WXXM Conference Steve Olson Meteorological Development Laboratory Office of Science and.
Copyright © 2013 Curt Hill SOAP Protocol for exchanging data and Enabling Web Services.
XML and Web Services (II/2546)
Kemal Baykal Rasim Ismayilov
An Overview of Microsoft.NET Todd M. Gagorik Technical Architect Microsoft Corporation.
Week Six : Writing Web Services Aims: Creating and Consuming student’s first Web Services Learning Outcomes: Familiarity with VS.NET for creating and consuming.
Chapter 7: Creating and Consuming XML Web Services Understanding XML Web Services Creating XML Web Services Deploying and Discovering XML Web Services.
C# 1 Web services CSC 298. C# 2 Web services  A technology to make libraries available across the internet.  In Visual Studio,  can create a web service.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Web Services from 10,000 feet Part I Tom Perkins NTPCUG CertSIG XML Web Services.
Web services In this presentation… –what is a web service? –web service benefits –web service standards –web service definitions –web service actions.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Martin Kruliš by Martin Kruliš (v1.1)1.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
NDFD Technical Workshop (Nov 2, 2006) Use of XML Robert Bunge OCIO x140.
By Jeremy Burdette & Daniel Gottlieb. It is an architecture It is not a technology May not fit all businesses “Service” doesn’t mean Web Service It is.
A Semi-Automated Digital Preservation System based on Semantic Web Services Jane Hunter Sharmin Choudhury DSTC PTY LTD, Brisbane, Australia Slides by Ananta.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Java Web Services Orca Knowledge Center – Web Service key concepts.
What is WWW? The term WWW refers to the World Wide Web or simply the Web. The World Wide Web consists of all the public Web sites connected to the Internet.
Web Programming Developing Web Applications including Servlets, and Web Services using NetBeans 6.5 with GlassFish.V3.
WEB SERVICES.
Unit – 5 JAVA Web Services
Introduction to Web Services
XML in Web Technologies
Implementing a service-oriented architecture using SOAP
Web Server Administration
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
WEB SERVICES DAVIDE ZERBINO.
Presentation transcript:

XML Via SOAP & Local Degrib Applications Arthur A. Taylor (arthur.taylor@noaa.gov) http://www.weather.gov/mdl/degrib/ Meteorological Development Laboratory NWS NDFD Technical Workshop 2006 November 2, 2006

Why Use XML Existing technology Facilitates additional processing Extensible Markup Language is widely used (W3C specification) De Facto standard for internet data exchange Infrastructure exists (validators, XML Schema, etc.) Facilitates additional processing XML tools (XSLT, SAX, DOM) facilitate value added applications Web application developers familiar with tools Schema precisely defines a language Reaches new users

Communicating Process XML on the Move Data Broker (UDDI) WSDL Internet SOAP Request SOAP Request Data Consumer (Client) Provider (Server) SOAP Response SOAP Response Communicating Process Discovery (UDDI) Description (WSDL/Schema) Messaging (SOAP) Transport (HTTP)

The SOAP server The experimental (becoming operational Dec. 4) XML via ‘Simple Object Access Protocol’ server provided by the NWS does the following: Once an hour: Download the NDFD GRIB2 files Convert the GRIB2 files to data cubes Upon request from the SOAP server: PHP code parses the request degrib_DP probes the data cubes PHP code reformats it into XML Note: Sometime after Dec. 4, all formatting will be done by degrib C code.

SOAP Server Lessons Learned “If you build it, they will come”

Motivation Why add DWML capability to degrib? Alleviate pressure on the XML server allows whole sale users to use the GRIB2 files to create XML, using their own machines, for as many points and as often as they desire. Speed up the server Migrates from a scripted language (PHP) to a compiled language (C) Provide the source code for the logic behind DWML (c:\ndfd\degrib18\src\dwmllib\xmlparse.c) Encourage the use of DWML

Overview To create NDFD DWML on a PC we need to Download the NDFD GRIB2 to our PC Probe the data at a given location To enhance the speed of probing, we can also Convert the data to a data cube Probe the data cube at a given location

Attaining software To get the degrib program, go to: http://www.weather.gov/mdl/degrib/register.php For MS-Windows, use “degrib-install.exe” By default this installs to c:\ndfd\degrib18 For UNIX, use “degrib-src.tar.gz” By default this expand to “/degrib”. To compile it: cd /degrib/src make –f makefile.* (* is replaced by your operating system)

Get Data Option 1: Use “tkdegrib” or “tcldegrib web.tcl” Advantage: In addition to downloading the data, it checks for data corruption, by performing an inventory. From a command Prompt: cd c:\ndfd\degrib18\bin tcldegrib web.tcl –dataSet ndfd –sector midatlan –day d17 –variable all Option 2: Use your own “URL get” program To determine the locations of the NDFD GRIB2 files: http://www.weather.gov/mdl/degrib/dataloc.php http://weather.noaa.gov/pub/SL.us008001/ST.opnl/DF.gr2/DC.ndfd/AR.conus/

Probe Data For more details on probe options, see: http://www.weather.gov/mdl/degrib/tutorial.php#outputXML http://www.weather.gov/mdl/degrib/txtview.php?file=degrib.txt&dir=base From a command prompt cd c:\ndfd\degrib18\data\ndfd\midatlan ..\..\..\bin\degrib . –P –pnt 38.98,-77.07 –XML 1 –geoData c:\ndfd\degrib18\geodata The –geoData option supplies a directory to look in for information about the point’s timezone For multiple points, either provide multiple –pnt options, or use the “-pntFile” option

Flavors of DWML -XML 1 (or time-series) creates the time series product User can choose to format any combination of the following: maxt, mint, pop12, temp, wdir, wspd, td, sky, qpf, snow, wx, waveh, apt, rhm -XML 1 -Icon 1 will return just the icon information. Requires: temp, wspd, sky, wx Formats: icons -XML 2 (or glance) is the glance product Requires: maxt, mint, temp, wspd, sky, wx Formats: maxt, mint, sky, wx, icons -XML 3 (or 12-hourly) is the 12 hour summary product Requires: maxt, mint, pop12, wdir, wspd, sky, wx Formats: maxt, mint, pop12, wx, icons -XML 4 (or 24-hourly) is the 24 hour summary product

Convert to data cube The data cube consists of uncompressed data, which allows faster access than the GRIB2 files Method 1 (use c:\ndfd\degrib18\bin\MakeData.tcl): cd c:\ndfd\degrib18\bin tcldegrib MakeData.tcl c:\ndfd\degrib18\data\ndfd\midatlan c:\ndfd\degrib18\cube\ndfd\midatlan cd ..\cube\ndfd\midatlan Method 2: Manual method cd c:\ndfd\degrib18\data\ndfd\midatlan ..\..\..\bin\degrib maxt.bin –Data –Cube –Index maxt.ind –msg all Repeat for all GRIB (*.bin) files.

Probe the data cube From a command prompt either: ..\..\..\bin\degrib . –DP –pnt 38.98,-77.07 –XML 1 –geoData c:\ndfd\degrib18\geodata ..\..\..\bin\degrib_DP . –DP –pnt 38.98,-77.07 –XML 1 –geoData c:\ndfd\degrib18\geodata -DP is for probing a data cube, while -P is for a GRIB file degrib_DP is compiled with just the data cube probing code so it is smaller than degrib

Credits I’d like to acknowledge: John Schattel for developing DWML Paul Hershberg for converting the PHP code to C.