1 using the weather to teach computing topics b. plale, sangmi lee, aj ragusa indiana university

51
1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

Upload: david-farmer

Post on 25-Dec-2015

217 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

1

Using the Weather to Teach Computing Topics

B. Plale,Sangmi Lee,AJ Ragusa

Indiana University

Page 2: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

2

Outline• Forecasting Severe Storms

– Why a better computing infrastructure is needed– Grid computing addresses the problem– Work being done in context of LEAD project

• http://lead.ou.edu

• Computing architecture to enable better weather forecasting

• Demo

Page 3: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

3

Motivation for LEAD• Each year, mesoscale weather – floods, tornadoes,

hail, strong winds, lightning, and winter storms – causes hundreds of deaths, routinely disrupts transportation and commerce, and results in annual economic losses > $13B.

Page 4: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

4

Conventional Numerical Weather Prediction

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

Page 5: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

5

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

Analysis/Assimilation

Quality ControlRetrieval of Unobserved

QuantitiesCreation of Gridded Fields

Conventional Numerical Weather Prediction

Page 6: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

6

Analysis/Assimilation

Quality ControlRetrieval of Unobserved

QuantitiesCreation of Gridded Fields

Prediction

PCs to Teraflop Systems

Conventional Numerical Weather Prediction

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

Page 7: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

7

Analysis/Assimilation

Quality ControlRetrieval of Unobserved

QuantitiesCreation of Gridded Fields

Prediction

PCs to Teraflop Systems

Product Generation, Display,

Dissemination

Conventional Numerical Weather Prediction

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

Page 8: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

8

Analysis/Assimilation

Quality ControlRetrieval of Unobserved

QuantitiesCreation of Gridded Fields

Prediction

PCs to Teraflop Systems

Product Generation, Display,

Dissemination

End Users

NWSPrivate Companies

Students

Conventional Numerical Weather Prediction

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

Page 9: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

9

Analysis/Assimilation

Quality ControlRetrieval of Unobserved

QuantitiesCreation of Gridded Fields

Prediction

PCs to Teraflop Systems

Product Generation, Display,

Dissemination

End Users

NWSPrivate Companies

Students

Conventional Numerical Weather Prediction

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

The Process is Entirely Serialand Pre-Scheduled: No Response

to Weather!

The Process is Entirely Serialand Pre-Scheduled: No Response

to Weather!

Page 10: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

10

Analysis/Assimilation

Quality ControlRetrieval of Unobserved

QuantitiesCreation of Gridded Fields

Prediction

PCs to Teraflop Systems

Product Generation, Display,

Dissemination

End Users

NWSPrivate Companies

Students

The LEAD Vision: No Longer Serial or Static

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

Page 11: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

11

Analysis/Assimilation

Quality ControlRetrieval of Unobserved

QuantitiesCreation of Gridded Fields

Prediction

PCs to Teraflop Systems

Product Generation, Display,

Dissemination

End Users

NWSPrivate Companies

Students

The LEAD Vision: No Longer Serial or Static

OBSERVATIONS

Radar DataMobile Mesonets

Surface ObservationsUpper-Air BalloonsCommercial Aircraft

Geostationary and Polar Orbiting Satellite

Wind ProfilersGPS Satellites

Page 12: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

12

The Value of Being Able to Respond to

the Weather: Dynamic Adaptivity

Page 13: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

13

Radar Radar ObservationsObservations

of aof aStorm SystemStorm SystemIn Kansas onIn Kansas on20 June 200120 June 2001

Page 14: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

14

11-hr Forecast 11-hr Forecast

Page 15: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

15

9-hr Forecast 9-hr Forecast

Page 16: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

16

5-hr Forecast 5-hr Forecast

Page 17: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

17

3-hr Forecast 3-hr Forecast

Moral: Need to do more short forecasts, because they are more accurate

Page 18: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

18

The Value of Local Observations

Page 19: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

19

What Do Operational Forecast Models Currently Predict?

Bands of rain, and high and low pressure, but that’s about it.

Page 20: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

20

What Causes the Problems?

Do we really understand the conditionsthat result in a funnel cloud?

Page 21: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

21

Why the Lack of Detail in Current Forecasts?

This ThunderstormFalls Through the Cracks

Page 22: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

22

Why the Lack of Detail in Current Forecasts?

Page 23: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

23

The Solution….

Fine-Scale Local Observations

Fine Grid Spacingin Forecast Models+

Page 24: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

24

Example: The March 28, 2000 Fort Worth

Tornado

Page 25: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

25

TV Radar Image of the Hook Echo

Page 26: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

26

NWS 12-hr Forecast Valid Near Tornado Time(shading indicates precipitation)

Page 27: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

27

6 pm 7 pm 8 pmR

adar

Hourly Radar Observations(Fort Worth Shown by the Pink Star)

Page 28: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

28

6 pmR

adar

Com

pu

ter

For

ecas

t

2 hr

Page 29: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

29

6 pm 7 pmR

adar

Com

pu

ter

For

ecas

t

2 hr 3 hr

Page 30: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

30

6 pm 7 pm 8 pmR

adar

Com

pu

ter

For

ecas

t

2 hr 3 hr 4 hr

Page 31: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

31

Fcs

t w

/o R

adar 2 hr 3 hr 4 hr

Rad

ar6 pm 7 pm 8 pm

Page 32: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

32

Outline• The Weather

– Why cyberinfrastructure is needed– LEAD project – addressing the problem

• Cyberinfrastructure based on a web service architecture for the Grid

• Prototype demo

Page 33: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

33

What is the Grid?• A collection of resources (computers, databases,

telescopes, etc.) that can be used by a wide range of users with a wide range of skills.

• More than the Internet– Built on top of the Internet

• The “Grid” is a collection of web services layered on top of the Internet.

SecuritySecurityData Management

Service

Data ManagementService

AccountingService

AccountingServiceLogging

Logging

Event ServiceEvent Service

PolicyPolicy

Administration& Monitoring

Administration& Monitoring

Grid OrchestrationGrid Orchestration

RegistriesRegistries

Reservations And Scheduling

Reservations And Scheduling

Web Services layer

Internet

Physical Resource Layer

Page 34: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

34

Predicting Severe Storms

Lightning Data Server

NEXRAD Radar

Data Server

SatelliteData Server

Surface and Upper-Air

Data Server

SUNY AlbanySUNY Albany

Wisconsin/SSECWisconsin/SSECNASA, NOAAPortNASA, NOAAPortEROS Data CenterEROS Data Center

I D D

I D DI D D

I D D

Historical Observations and

Model Output

Operational Model Grids and Server

Project Project CONDUITCONDUIT

I D D

NOMADSNOMADSNCDCNCDC

HydrologicData Server

I D D

NWS RiverNWS RiverForecast CentersForecast Centers

Air Quality Data Server

EPAEPA

I D D

GPS Meteorological

Data Server

SuomiNetSuomiNet I D D

Oceanographic Data

DODSDODS

Digital Library Holdings

DLESEDLESE

DemographicData Server

Field Program & User Generated

Data

UCAR/JOSSUCAR/JOSSIndividual InvestigatorsIndividual Investigators

Abilene/NGI

I D D

I D D

I D

D

Large scale, real-timeSimulation Grid

The LEAD projectUniv. of Oklahoma

Page 35: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

35

Very Simple Scenario to Run Forecast

• Search for data set, run simulation, and catalog results.– Query metadata catalog for dataset– Use result of query a large WRF simulation– Allocate storage on remote resource– Move WRF output to that allocated space– Record output location and computation history in a metadata

catalog.

• How does a user describe such a scenario as a workflow or distributed application?

• How do we free the user from details of distributed computing in a service oriented architecture?

• What does a service architecture mean in this context?• Can it be done by a component composition approach?

Page 36: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

36

Web Services• Why does the web work?

– A language with few verbs (get, put, post) and many nouns (documents).

• Corba & Java RMI are object models which present a problem. – Object identity and lifetime is bound to its container, – Whereas a web address is persistent.

• RPC/RMI requires too much synchronization– For reliability make “connections” implicit.– Communicate with simple “standard” message

exchanges.

Page 37: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

37

So what is a web service?• A network “endpoint”, i.e. server, that implements one or

more “ports”– Each port is defined by the message types that accepts and the

messages it returns.

• A Web Service is specified by a “Web Service Definition Language” xml document.– Given the WSDL for a web service you know all you need to interact

with it.

• Web Service Standards exist for security, policy, reliability, addressing, notification, choreography and workflow.– It is the basis for MS .NET, IBM Websphere, SUN, Oracle, BEA,

HP, …– It is the basis for the new Grid standards like WSRF and OGSA.

Page 38: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

38

Web Site vs Web Service• The Web Site

– Designed to pass http get/post/put request to between a browser and a web server.

– Google has a web site.

• The Web Service– Designed for services to talk

to other services by exchanging xml messages

– Google also provides a web service so Google may be used in distributed apps

Client’s Browser

WebServer

WebServer

WebService

WebService

WebService

WebService

WebService

WebService

Page 39: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

39

An Example

• The program:– Run a query against a metadata catalog and

extract simulation boundary conditions– Allocate storage for simulation output– Run the simulation– Save result metadata reference for output to

the metadata catalog.– Record event log of execution to the catalog.

• Services/components in our example are– Metadata catalog– Storage Allocator– WRF Simulation Engine– Execution history recorder

Metadata Catalog

Metadata Catalog

query

input

output

Query results

Metadata Catalog

Metadata Catalog

referenceinput

output

notification

mdata

Page 40: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

40

The Workflow – as specified by the scientist

WRFFactory

Storage requirements SpaceAllocator

SpaceAllocator

File MoverFile Mover

“done”

“done”

Metadata Catalog

Metadata Catalog

“done”

Resource info

Experiment Name(Notification Topic)

Output URL

NotificationBroker

Final URL

Parameter file

EventListener

EventListener

“done”

Metadata Catalog

Metadata Catalog

query

Page 41: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

41

The Portal

• User’s View of the Grid

• A very sophisticated web browser.

• Lets a classroom teacher create an experiment (to run a forecast model for Hurricane Ivan), then submit the experiment to the “Grid” for computing. The results can be viewed graphically within the portal.

Page 42: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

42

Portal as Point of Access to Grid

SecuritySecurityData Management

Service

Data ManagementService

AccountingService

AccountingServiceLogging

Logging

Event ServiceEvent Service

PolicyPolicy

Administration& Monitoring

Administration& Monitoring

Grid OrchestrationGrid Orchestration

Registries andName binding

Registries andName binding

Reservations And Scheduling

Reservations And Scheduling

Open Grid Service Architecture Layer

Web Services Resource Framework – Web Services Notification

Grid Portal Server

Grid Portal Server

https

Physical Resource Layer

SOAP & WS-Security

Keeps informationabout all thedifferent users

Page 43: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

43

Portal Architecture (OGCE)• Building on Standard Technologies

– Portlet Design (JSR-168) IBM, Oracle, Sun, BEA, Apache

– Grid standards: Java CoG, Web/Grid Services• User configurable, Service Oriented• Based on Portlet Design

– A portlet is a component within the portal that provides the interface between the user and some service

– Portlets can be exchanged, interoperate

Po

rta

l co

nta

ner

LocalPortlets

Grid Service Portlets

JavaCOGAPI

Java CoGKit

Grid Services

GridProtocols

GRAM,MDS-LDADMyProxy

SOAP ws call Grid Services

Web Services

Client’s Browser

Page 44: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

44

FactoryFactory

myLEADagent

myLEADagent

WRF modelWRF modelData miningtask

Data miningtask

workflowworkflow

myLEADservice

myLEADservice

LEADPortal service

LEADPortal service

Storage Repository

service

Storage Repository

service

myLEAD portlet

/var/tmp/wrf_tmp

IU NCSA

1

4

32

2

8

9

3

6

7

5

Putting it together

Page 45: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

45

Managing Workflow

1. Portlets exist to submitjobs to a condor web-service and monitorresults

2. BPEL4WS is web-serviceworkflow standard. Interface is underdevelopment.

3. CCA componentscan also be managedfrom the portal.

Page 46: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

46

Science Portal Deployments in Collaboration with OGCE, DOE Fusion Portal, NCSA,NPACI/SDSC and others

Page 47: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

47

Page 48: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

48

Page 49: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

49

Page 50: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

50

Page 51: 1 Using the Weather to Teach Computing Topics B. Plale, Sangmi Lee, AJ Ragusa Indiana University

51

Thank You