+ All Categories
Home > Documents > NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1...

NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1...

Date post: 24-Dec-2015
Category:
Upload: franklin-hodges
View: 216 times
Download: 0 times
Share this document with a friend
Popular Tags:
21
NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith June 2004 Algorithm Services Data Services Control Services Display Services Security Services
Transcript
Page 1: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

1

Community Hydrologic Prediction SystemCHPS

George Smith June 2004

AlgorithmServices

DataServices

ControlServices

DisplayServices

SecurityServices

Page 2: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

2

CHPS – Why?• Enable new science into operations• Allow access to expanded model suite• Enable distributed hydrologic modeling• Provide flexible access to data• Enable ensemble processing• Support parallel processing• Support distributed development• Support scientific collaboration

Page 3: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

3

Service Oriented Architecture (SOA)

• In an SOA, data, algorithm, and infrastructure assets are accessed by routing messages between network interfaces

• Services encapsulate complex processes and systems, permitting controled change and continuous improvement of the underlying implementations

• Addresses challenge of leveraging and managing software assets across an organization

Page 4: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

4

SOA - continued

• An SOA can operate on a single platform or, to realize its full potential, across platforms

• Not something we're inventing – SOA is the basis of Internet development and web services

• Contrast with NWSRFS, a procedural, monolithic application• NWSRFS traded architectural flexibility for

performance

• CHPS will attempt to attain both

Page 5: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

5

SOA - benefits

• Encapsulation of data and algorithms makes it simpler to replace or insert new modules

• No central recompiling of entire system needed

• Provides more streamlined process to work with outside groups on new capabilities

Page 6: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

6

SOA – benefits (continued)

• Data and algorithms are structured and identified through service protocols • NWS could become a data or algorithm provider

because CHPS services can be accessed by whomever has appropriate rights

• Explicitly supports distributed processing

• Time from research to operations is reduced because adding new algorithm or data service does not impact existing services – regression testing minimized

Page 7: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

7

CHPS – How?• Adapt SOA to support NWS Hydrologic Forecasting business• Incremental development/deployment

• Overall architectural design

• Proof-of-concept build/test

• RFS continues every day while evolving to CHPS architecture• Expand design element by element

• Deliver new functional/data components as soon as they’re ready

Page 8: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

8

CHPS – When?• Develop Vision for evolving NWSRFS – November 2002• Proof-of-concept workflow management service demonstrated – August 2003• Architectural overview – January 2004• RRS data service design – May 2004• RRS prototype development – completed Fall 2004 (negotiating task now)• Deploy of CHPS-RRS for RFC beta testing – 2005• Find opportunities to add new algorithm services (i.e., USACE ResSIM) – as resources allow

Page 9: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

9

Schematic Architecture Overview

Display Applications

Algorithm Services

Control Services- Workflow management

- Load management- Logging and diagnostic capabilities

- Directory management

Algorithm Services Algorithm Services

Display Applications

Security Services

Algorithm Services Algorithm Services

Display applications may use any number of services

Some algorithm services may run in the background,

i.e., without a display application

Security services are required for each component

that participates in the architecture

N O A A: N W S - O H D Conceptual Applicat ion Architec ture (January 9, 2003 )

Data ServicesData ServicesData ServicesData Services

Control Services

Control Services

Note: All components shown above reside in one or more application servers. Application servers may be located at NWS headquarters, any RFC or WFOs, and each application server may be configured with any combination of display applications , algorithm services and data services . Control services will have to be deployed uniformly across all application servers who participate in the OHD operational environment.

CHPS – Architectural overview

Page 10: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

10

CHPS – Display, Algorithm, Control, SecurityAlgorithm Services

Local Directory Agent(LDA)

Local Directory Data Repository

(XML)

If requested directoryentry not available,

pass request to remote service

Remote Directory Data

Repository(RDBMS)

Control Services

Workflow Service(WS)

Local Workflow Agent(LWA)

Logging & Diagnostic Service

(LDS)

LDS provides and WS may request

process state information

WS provides AS launch request with parameters

(asynchronous)

WA provides: Local load data

LMS provides load distribution data to WMS

WA provides: execution activity data

Display Applications

Remote Directory Service(RDS)

Central Authentication Controller

(CAC)

Security Services

Authentication Database (registered

services and components)

Example authenticationconnection

Security ServicesEach component or service is required to authenticate itself before communicating with another service or component. This communication occurs through a separate communication layer that is wrapped around each component and communicates synchronously with the central authentication controller.

DA requests execution of one or more

Algorithm Services

AS provides Data Space IDDS returns Service Name

WA provides AS launch request with parameters. AS provides execution

data to WA for Logging and Diagnostic Service

User

Primary User Interaction

DA provides data in stand-alone execution of algorithm services

Load Management Service(LMS)

Extended Control Modules may be added to manage increasing complexity in

multi-process environment

Users must register newcomponents and receive strong

name or certificate for authorized system interaction

Registering additional components1. Adding a Data Service

- Provide data service name to local directory agent- Optionally provide data service name to remote directory service- Provide data space identification to local directory agent- Provide strong name or registration certificate to authentication controller

2. Adding an Algorithm Service- Provide algorithm service name to local directory agent- Optionally provide algorithm service name to remote directory service- Define data spaces used by algorithm service (see above)- Provide strong name or registration certificate to authentication controller

User

Data Services Interface

Data Services Interface

Data Services Interface Data Services Interface

Data Services Interface

Data Services Interface

Data Services Interface

Display Application(DA)

Data Services Interface

Algorithm Service(AS)

Data Services Interface

Workflow Agent and Local Directory Agent run on local CPU

New components must be registered locally as well

Console Application

Diagnostic Application

Diagnostic application provides access to log information to users

Console application provides workflow management

interface for users

Example Applications:

LWA requests directorydata from LDA

ECM: Prioritizer

ECM: Scheduling

ECM ECM

Component Registration

Data Services Interface

Page 11: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

11

CHPS – Data Services

Legend

Web Service traffic(synchronous)

Messaging traffic(asynchronous)

RDBMS-based Database

Native data traffic(synchronous)

Terms- “Agent”: component that executes on a local CPU- “Service”: component that executes within one or more application servers- “Local”: within one system, or on local LAN- “Remote”: on a LAN not physically connected to a local CPUText-based

file (config, data)

Component Name

Security wrapper

System Component

DB/Repository(remote)

FS5 Files(remote)

XML, NetCDF, etc

(remote)

Local Data Access Agent

(LDAA)

Local Data Format Agent (LDFA)

Data Control Access Agent

(DCAA)

Use remote data via web services

Data Control Access Manager

(DCAM)

LDFA manages: data access to specific format(XML, CSV, etc)

Other ASCII formats(remote)

DCAM manages native data source access and transport (e.g., JDBC)

LDAA requests logical location

Local Data Location Agent

(LDLA)

Use local data via direct file access

LDLA requests physical location

CPU local data source configuration

Load config

DB/Repository(Local)

FS5 Files(Local)

XML, NetCDF, etc.

(Local)

Other ASCII formats(Local)

Data Service(DS)

Data Services Interface- Processes requests for data- Processes data to be stored

Use local or remote data?

DCAM and DCAA provide the same function. DCAM

operates in a remote environment, DCAA

operates locally

Remote Operation

Directory Agent or Service

Data Services

Page 12: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

12

CHPS – RRS Data Service● Design the details of Data Service by using the River, Reservoir, and Snow (RRS) Preprocessor as an example of CHPS architecture evolution● Intentionally simple – to test viability of access to data currently in fs5files structure● Deliver an NWSRFS AWIPS version with RRS data from CHPS Data Service and the rest of the RFS functions (MAP, MAT, FCEXEC, etc.) accessing data as they are presently (fs5files)

Page 13: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

13

RRS Data Services API options

www.nws.noaa.gov/oh/hrl/hseb/hseb_pdf_links.htm

Page 14: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

14

ScienceApplication

ScienceApplication

Interface (SAI)

Data ServiceAdapter (DSA)

Data ServiceAdapter Factory

(DSAF)

Data LocationInterrogator (DLI)

Data ServiceAdapter (DSA)

Lock ManagementService (LMS)

Data AccessController (DAC)

DataSource

LoadsCalls to read or write data

DLI ConfigurationFile

One or moreDirectory Services

(DS)

DACConfiguration File

Requests adapter information

Requests and receives adapter

Loads adapter

Loads directoryconfiguration

Instantiates Optional WebServicesInterface

Communicates readand write requests

Instantiates

Loads databaseconfiguration

Reads and writesdata

Retrieves adapterinformation

Note: both symbols referto the same adapter

Requestslock session

Validates lock session

Web ServicesInterface

Legend:

Component Interface DataSource

File

NWS OHD Proposed Data Service Component Architecture Version 2.1, June 1, 2004

Code: Fortran

Code: C++

Direct communicationDirect communication

Web ServicesInterface

Web ServicesInterface

RRS Data Services Components Overview

Page 15: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

15

ScienceApplication

ScienceApplication

Interface (SAI)

Data ServiceAdapter (DSA)

Data ServiceAdapter Factory

(DSAF)

Data LocationInterrogator (DLI)

Loads

Calls to read or write data

Requests adapter information

Requests and receives adapter

Loads adapter

Code: Fortran

Code: C++

RRS Data ServicesScience Application Interfacecomponent interactions

Page 16: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

16

CHPS – Expanded opportunities● When converting functions to CHPS structure can simply retain existing functionality (as with RRS) or modify to add desired functionality (as with MAP)● Once SOA strategy is proven in RFC operations can support concurrent development of new algorithm, data, or display services

● Additional opportunities for RDM activities● Additional opportunities for collabortion with

Federal water or University partners

Page 17: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

17

RRS Data Service Details

CHPS

Page 18: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

18

ScienceApplication

Interface (SAI)

Data LocationInterrogator (DLI)

DLI ConfigurationFile

One or moreDirectory Services

(DS)

Requests adapter information

Loads directoryconfiguration

Retrieves adapterinformation

Web ServicesInterface

RRS Data ServicesData Location Interrogatorcomponent interactions

Page 19: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

19

ScienceApplication

Interface (SAI)

Data ServiceAdapter (DSA)

Data ServiceAdapter Factory

(DSAF)

Data ServiceAdapter (DSA)

Data AccessController (DAC)

Requests and receives adapter

Loads adapter

Instantiates Optional WebServicesInterface

Communicates readand write requests

Instantiates

RRS Data ServicesData Service Adaptercomponent interaction

Page 20: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

20

ScienceApplication

Interface (SAI)

Data ServiceAdapter Factory

(DSAF)

Data ServiceAdapter (DSA)

Requests and receives adapter

Instantiates

RRS Data ServicesData Service Adapter Factorycomponent interaction

Page 21: NOAA National Weather Service Water Predictions for Life Decisions DOH/RDM Science Workshop 1 Community Hydrologic Prediction System CHPS George Smith.

NOAA National Weather Service

Water PredictionsforLife Decisions

DOH/RDM Science Workshop

21

Data AccessController (DAC)

DataSource

DACConfiguration File

Optional WebServicesInterface

Instantiates

Loads databaseconfiguration

Reads and writesdata

RRS Data ServicesData Access Controllercomponent interaction


Recommended