vamdc infrastructure vamdc 7th developer’s workshop guy rixon

17
VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Upload: harriet-blake

Post on 04-Jan-2016

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

VAMDC infrastructure

VAMDC 7th Developer’s workshopGuy Rixon

Page 2: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Project goals

•Easier to get data out of DBs

•Easier to read data got from DBs

•Easier to make new DBs

Page 3: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

“ Easier to get data out of DBs”

•Everything on the WWW

•Queryable via the web

•Common terms for query

•Single UI for all DBs

Page 4: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

“Easier to read data got from DBs”

•Same format for all DBs: XSAMS

•Self-describing: lots of metadata

•Inclusive and general:

•Can express most data

•Leave out the parts that don’t apply

Page 5: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

“Easier to make new DBs”

•Tools provided to ingest data from ASCII

•Code provided to connect DBs to WWW

•Guidelines to schema of DBs

Page 6: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

WWWWWW

Web-service network

Web browserWeb browser GUI applicationGUI application ScriptScript Modelling codeModelling code

Data serviceData serviceData serviceData serviceData serviceData service

Page 7: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

WWWWWW

One service per DB

Data service(“Node

Software”)

Data service(“Node

Software”)

e.g. VALD Chianti HITRAN CDMS

ApplicationApplication

Data service(“Node

Software”)

Data service(“Node

Software”)

Data service(“Node

Software”)

Data service(“Node

Software”)

Data service(“Node

Software”)

Data service(“Node

Software”)

Page 8: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Data URLs

http://cdms.ph1.uni-koeln.de:8090/DjCDMS/tap/sync?REQUEST=doQuery&LANG=VSS1&FORMAT=XSAMS&QUERY=SELECT+ALL+WHERE+MoleculeStoichiometricFormula+%3D+%27CO%27

The address of the service(this one for CDMS)

The data to be extracted

Call these with HTTP GET

Page 9: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Service model

ApplicationApplication

Data serviceData service

VA

MD

CV

AM

DC

-TA

P-T

AP

VA

MD

CV

AM

DC

-TA

P-T

AP

Qu

ery

in V

SS

1/V

SS

2 Resu

lts

in X

SA

MS

HTTP

VAMDC-TAP

VSS1/2 XSAMS

Dictionary

Page 10: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

HTTP HEAD for preview

Choose queryChoose query

HTTP HEAD(quick)

HTTP HEAD(quick)

These numbers;no data

These numbers;no data

HTTP HEAD(slow)

HTTP HEAD(slow)

Data

Data

Page 11: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

UI = web portal

Data serviceData serviceData serviceData serviceData serviceData service

Web portalWeb portal

VA

MD

C-

VA

MD

C-

TA

PTA

PV

AM

DC

-V

AM

DC

-TA

PTA

P

Query

in V

SS1

/VSS2 R

esu

lts

in X

SA

MS

Web browserWeb browser

WWWWWW

Sci

en

cey

Geeky

Page 12: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

ApplicationApplication

VAMDC registryVAMDC registry

IVO

AIV

OA

Regis

trR

egis

tryy

IVO

AIV

OA

Regis

trR

egis

tryy

Query

in X

Query

Meta

data

in

XM

L

Which nodes, and where?

• Description

• Owner contact

• Service URL

• Version of standards

• Version of node software

• Sample queries

• “Returnables”: returned in a query

• “Restrictables”: constrained in query

{

Page 13: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

XSAMS consumers

Web portalWeb portal

VAMDC registryVAMDC registry

Consumerweb-serviceConsumer

web-service

Visualizations

MergersFiltered XSAMS

Other formats

Look u

p se

rvice

s

Data serviceData serviceData serviceData serviceData serviceData service

Find data (HEAD)

Load

data

(G

ET)

Data URLs

(These still to be made -see later in this w/s)

Consumerweb-serviceConsumer

web-serviceConsumer

web-serviceConsumer

web-service

Page 14: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Connecting your code: 1

1.Select data using VAMDC portal

2.Download data to desktop using portal

3.Possibly translate to other format using XSAMS-consumer service

4.Run your code on downloaded/translated data

Page 15: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Connecting your code: 2

• Get data URLs, possibly from portal

• Adapt/wrap your code to call those URLs directly

Page 16: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Connecting your code: 3

•Adapt your code to find VAMDC nodes via VAMDC registry

•⇒ no need to use VAMDC portal

Page 17: VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon

Connecting your code: 4

1.Write an XSAMS-consumer service that runs your code

2.Publish the service

3.Users can then route data direct from portal to your code