water web services. connecting a catalog with users and servers server user catalog data services...

21
Water Web Services

Upload: arthur-fowler

Post on 04-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Services

Page 2: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Connecting a Catalog withUsers and Servers

Server User

Catalog

Data Services

Search ServicesMetadata Service

s HydroServer HydroDesktop

HIS Central

Data Services

Search ServicesMetadata Service

s

WISKI ArcGIS Desktop

HIS Central

Data Services

Search ServicesMetadata Services

A general pattern ….

is implemented in different ways ….

Page 3: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Mapping the Catalogs

Server User

Catalog

Server User

Catalog

Server User

Catalog

Server User

Catalog

Server User

Catalog

Data Services

Search ServicesMetadata Service

s

Water observation sites in a catalog are mapped …..

….. a map in ArcGIS Online serves as an integrating mechanism for water observations over the earth

Mapping Services

Page 4: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Original Water Web Service

• Get Sites• Get Site Info (Series)• Get Variables• Get Values

Page 5: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

More than just time series over SOS

• Services/Data Sources– 10’s to 1000’s

• Sites– 1 to 1 million

• Phenomena– 1 to 10,000

• Series– 10’s to millions– Site, Phenomena, Data Type, statistics, Time Range, Count– quality control level (1+) source (1+), method (1+)

• Domain– Organizations, Methods, QC, Units

• Data– date, value, censored, quality control level, source, method, qualifier (1+), sample code

• Analytical Chemistry Details– WQX

Page 6: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Services (1/2)• Sites

– Map them• WFS• WMS – too many to send over wfs• Together. WMS with paged WFS

• Phenomena– Describe

• What variables are available

– Discover• What sites in area have this phenomena

• Series– Discover them

• CSW• What sites in area have this phenomena

– With this time period– Spacing– Squlity, method

• Show me the best quality

– Map them• WFS+WMS

– Give me all

Page 7: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Services (2/2)• Domain– Organizations, Methods, QC, Units, Ontologies

• Data– SOS– WaterML 2

• Analytical Chemistry Details– Fixed URL reference?– WQX

Page 8: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Possible Method Naming Convention

• List• Describe• Get

Page 9: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Services

Page 10: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Mega Server

Page 11: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Data Services Client

Water Web Catalog Service

Data Services

Search ServicesList, Describe

Metadata Services

Get

Water QualityExchange Services

Utilizing WQX

Refe

renc

e to

An

alyti

cal

Met

adat

a

Analytical Chem Details

Page 12: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Data Services Client

Water Web Catalog Service

Data Services

Search ServicesMetadata Services

Mapping Services

Authorization Service

Additional Components

User Authorized

Can User Access Item

Login

(Aut

henti

cate

)Us

er A

utho

rizati

on To

kenUser Authorization Token

Search ResultsIm

age of Search Results

Page 13: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Service Capability

• Describes Services– Water Web Data Services– Water Web Catalog Service– Water Quality Exchange Service– Water Web Ontology Service– Map Services

Page 14: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Data Service

• Harvest (List) • Single object access (Describe)• Basic query (Get)• Objects

– Services– Domains– Series– Sites– Variables– Data Values

• Pointer to Map Service (optional)

Page 15: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Quality Exchange

• Standardized access to Water Quality Exchange Services

• Utilize WQX standard for the details of analytical chemistry observations

• Organizations– Projects• Activities

– Methods» Results

Page 16: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Catalog Services

• Search interface, not a harvest interface• Utilize same queries to retrieve “objects”• Return reference to map services for appropriate object

queries (features and series) • Objects

– Services– Domains– Series– Features– Variables

• Provide Map Services for services

Page 17: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Catalog Query Parameters

• Paging: count, startindex• Location: box, siteCode, polygon• Variables: VariableCode• Ontology: conceptCode• Series: SeriesCode• Time: BeginTIme, EndTime• Updated: lastmodified• DataService: DataService• DataType: DataType• Theme: Theme Code, Theme Name• Search by name: SearchTerms

Page 18: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Queries• Variable– For box, pass a bbox– For a set of sites or series, pass multiple site or series

codes• Series– For box, pass a bbox– For a set of a concept, pass a concept code from the

ontology• Services– For box, pass a bbox– For a set of a concept, pass a concept code from the

ontology

Page 19: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Water Web Ontology Services

• Handle Multiple Ontologies• List Terms for an ontology (domains)• Provide hierarchies/relationships for an

ontology (conceptTree).• Provide method for user interfaces • Provide method to assist with matching

variable name to concept(s)

Page 20: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Map Services

• Data Services should provide a Web Map Service to plot their location on a map.

• Well known features need to provide Web Map Service, and Web Feature Services. Examples of this would be HUC’s, and state and county boundaries.

Page 21: Water Web Services. Connecting a Catalog with Users and Servers Server User Catalog Data Services HydroServerHydroDesktop HIS Central Data Services WISKI

Authentication and Authorization

• Use standards– OpenId for Authentication

• We don’t store passwords, in general

– Oauth for Authorization• Servers needing restricted data provide authorization

service– Level is up to server. Auth service should only know about Object

Identifiers• Clients

– When access is rejected, clients need to know how to authenticate to an authorization service

– Pass authorization