VAMDC tutorial for prospective data-providers Guy Rixon meeting, IPR, November 2013.

Slides:



Advertisements
Similar presentations
Siebel Web Services Siebel Web Services March, From
Advertisements

A Prototype Implementation of a Framework for Organising Virtual Exhibitions over the Web Ali Elbekai, Nick Rossiter School of Computing, Engineering and.
VAMDC Registry Portal Proof of Concept. Registry VAMDC Registry is available at – ex.jsp
DT211/3 Internet Application Development Active Server Pages & IIS Web server.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Input Validation For Free Text Fields ADD Project Members: Hagar Offer & Ran Mor Academic Advisor: Dr Gera Weiss Technical Advisors: Raffi Lipkin & Nadav.
Crawler-Based Search Engine By: Bryan Chapman, Ryan Caplet, Morris Wright.
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
Dataface API Essentials Steve Hannah Web Lite Solutions Corp.
Collaborating with VAMDC Guy Rixon RADAM database workshop, Caen, October 2013.
Submitted by: Madeeha Khalid Sana Nisar Ambreen Tabassum.
Classroom User Training June 29, 2005 Presented by:
GIS technologies and Web Mapping Services
Kuali Rice at Indiana University Rice Setup Options July 29-30, 2008 Eric Westfall.
Server-side Scripting Powering the webs favourite services.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
ADC Meeting ICEO Standards Working Group Steven F. Browdy, Co-Chair ADC Workshop Washington, D.C. September, 2007.
Using XML technologies to implement complex tables in short- term statistics Francesco Rizzo
Building Search Portals With SP2013 Search. 2 SharePoint 2013 Search  Introduction  Changes in the Architecture  Result Sources  Query Rules/Result.
OracleAS Reports Services. Problem Statement To simplify the process of managing, creating and execution of Oracle Reports.
An Introduction to Designing and Executing Workflows with Taverna Katy Wolstencroft University of Manchester.
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1 Quick Tutorial – Part 2 Open Data Web Services for Oracle BPM August, 2013 Forms.
Introduction to Apache OODT Yang Li Mar 9, What is OODT Object Oriented Data Technology Science data management Archiving Systems that span scientific.
Virtual Observatory Interfaces reused in the Virtual Atomic and Molecular Data Centre Guy Rixon Institute of Astronomy University of Cambridge September.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Website Development with PHP and MySQL Saving Data.
VAMDC use-case for the RDA Data Citation Working Group C.M. Zwölf and VAMDC consortium 6 th RDA Plenary PARIS September 2015.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
VAMDC infrastructure VAMDC 7th Developer’s workshop Guy Rixon.
A radiologist analyzes an X-ray image, and writes his observations on papers  Image Tagging improves the quality, consistency.  Usefulness of the data.
Solutions using Microsoft Content Management Server 2002 Connector for SharePoint Technologies Sue Corke Mark Harrison Microsoft UK.
Working with Feature Services Gary MacDougall Russell Brennan.
Page 1 Envisat Validation Workshop, Campaign Database, 12/12/2002 Envisat Validation Workshop Atmospheric Chemistry Validation Team Ground-Based Measurements.
VAMDC technology Guy Rixon Innsbruck, February 2013.
SimDB Implementation & Browser IVOA InterOp 2008 Meeting, Theory Session 1. Baltimore, 26/10/2008 Laurent Bourgès This work makes use of EURO-VO software,
MDPHnet & ESP Data Partner Participation Overview The following slides describe the necessary steps for a data partner to participate in the MDPHnet Network.
UCL DEPARTMENT OF SPACE AND CLIMATE PHYSICS MULLARD SPACE SCIENCE LABORATORY Taverna Plugin VAMDC and HELIO (part of the ‘taverna-astronomy’ edition) Kevin.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
System/SDWG Update Management Council Face-to-Face Flagstaff, AZ August 22-23, 2011 Sean Hardman.
Query Health Technical WG Update 1/12/2011. Agenda TopicTime Slot Administrative stuff and reminders2:00 – 2:05 pm Specification Updates QRDA HQMF Query.
Feb 24-27, 2004ICDL 2004, New Dehli Improving Federated Service for Non-cooperating Digital Libraries R. Shi, K. Maly, M. Zubair Department of Computer.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
Using VAMDC: tutorial introduction Guy Rixon VAMDC annual meeting 2013, Open University.
Hydroinformatics Lecture 15: HydroServer and HydroServer Lite The CUAHSI HIS is Supported by NSF Grant# EAR CUAHSI HIS Sharing hydrologic data.
Dynamic/Deferred Document Sharing (D3S) Profile for 2010 presented to the IT Infrastructure Technical Committee Karen Witting February 1, 2010.
Open Solutions for a Changing World™ Eddy Kleinjan Copyright 2005, Data Access WordwideNew Techniques for Building Web Applications June 6-9, 2005 Key.
Business rules.
Integrating ArcSight with Enterprise Ticketing Systems
Integrating ArcSight with Enterprise Ticketing Systems
Section 13 - Integrating with Third Party Tools
CUAHSI HIS Sharing hydrologic data
Steering Group Member, Link Digital
PHP / MySQL Introduction
Analysis models and design models
Rational Publishing Engine RQM Multi Level Report Tutorial
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
Plug-In Architecture Pattern
SDMX IT Tools SDMX Registry
Presentation transcript:

VAMDC tutorial for prospective data-providers Guy Rixon meeting, IPR, November 2013

2 VAMDC orientation Introduction to node building (technical) Self-paced investigation with on-line tutorial material Agenda

3 Orientation

4 Query Extract VAMDC is in the cloud

5 A flock of databases Science application VAMDC data nodes

6 For list of databases see:

7 Two-stage selection SelectSelect XSAMS Filter and extract Science code OR

8 XSAMS XML Schema for Atoms, Molecules and Solids IAEA originally; developed by VAMDC Rich ⇒ good for transforming to other formats See taModel/vamdcxsams/index.html taModel/vamdcxsams/index.html

9 E.g. XSAMS for phys. chem.

10 Many UIs web sitesVAMDC web-portal scriptsapplications Your software here

11 Some UIs and applications VAMDC web portal - the starting point SpectCol - combine spectroscopy and collisions Specview - STScI’s spectrum viewer with VAMDC support Query Builder - app to generate queries for scripting VAMDC as IVOA PDL service - astronomy integration Taverna - workflow engine with VAMDC plug-in Selection of Python scripts from VAMDC Various XSAMS-processing web-services

12 Finding things: registry ApplicationApplication Registry web- service Data node 1: Register 2: Discover 3: Query Avoids hard-coding addresses: data nodes may move

13 VAMDC web portal: query

14 VAMDC web-portal: results

15 VAMDC web-portal: display

16 Portal, nodes & processors PortalPortal Data node ProcessorProcessor XSAMS RegistryRegistry Independent services, can be used with any UI

17 SpectCol application Implements the original use case for matching spectroscopic and collisional data See

18 Specview application This query UI available as a Java library Line IDs for astronomy: VAMDC data added to existing application See

19 Introduction to node building

20 Options for data providers Publish your data into VAMDC by: adding your data to an existing node, or build a new node around your data and run it, and host the node at your site or have the node hosted at another VAMDC site

21 Database → data node Science application (e.g. portal) VAMDC data nodes

22 == Web server Node software Database Web service, runs in web server Parts of a data node VAMDC standard Database specific

23 Qualifying as a data node A web service is a VAMDC node if it: implements the VAMDC-TAP protocol is publicly visible on port 80 is registered in the VAMDC registry actually emits data (No constraint on how you achieve that)

24 VAMDC-TAP VAMDC Table Access Protocol Based on IVOA Table Access Protocol Specifies a facade for queries to DB via web service Also ancillary interfaces for registration, availability checks Science application (e.g. portal) Synchronous query Capabilities Availability

25 VAMDC-TAP: query LANG=VSS2&FORMAT=XSAMS&QUERY=SELECT+*+... Synchronous-query URL within TAP service HTTP HEAD → statistics, no data raised HTTP GET, POST → data raised, returned in HTTP response Query language, result format variable VAMDC requires VSS2 and XSAMS could add others

26 VSS2 query-language VAMDC SQL Sub-set #2 ANSI SQL with much of the detail excluded E.g. SELECT * WHERE collider.AtomSymbol=’He’ AND target.MoleculeInchiKey=... Operates on a virtual, single table with columns defined by VAMDC dictionary See

27 VAMDC dictionary Lists, defines: RESTRICTABLES: columns to constraints in query RETURNABLES: columns that can be in the results REQUESTABLES: columns/structures desired in results See

28 VAMDC-TAP: capabilities Describes service interfaces in a form that the registry understands Responds to HTTP GET XML document Capability for VAMDC-TAP lists: version of standards version of software search terms supported in query sample queries E.g.

29 VAMDC-TAP: availability Check that web-service is up XML document (XSL for browser display) E.g.

30 MySQL Django Custom code for DB Python httpd/ WSGI Common node software From VAMDC; code in GitHub; docs on vamdc.eu site Readily available; usually as optional package in Linux distro You write this bit See VAMDC standard “stack” for node

31 What does Django do? Represents DB tables as “Model” objects Handles joins E.g. Represents queries as “Q” objects E.g. Represents query results as “query-set objects” Cursors on DB query ⇒ lazy evaluation E.g.

32 Extract VSS2 from URL Extract VSS2 from URL VSS2 → Django Q VSS2 → Django Q Apply Q → main result set Apply Q → main result set Derive subsidiary result-sets result-sets Truncate main result-set result-set Processing a query Extract stats Generate and stream XML Nestresult-setsNestresult-sets Set HTTP status & headers Set HTTP status & headers Common part using dictionary from custom part Custom part Common part Common part, using dictionary from custom part

33 Therefore, you write: models.py: define table structure to Django dictionaries.py: define mappings to VAMDC RESTRICTABLES: VSS2 → Django Q RETURNABLES: Django query-set → XSAMS queryfunc.py: implement query flow as per previous slide

34 Pause to digest that information......possibly reviewing examples: y es.pyttp://ag02.ast.cam.ac.uk/tutorials/_downloads/dictionari

35 Design sequence Choose DB tables; define as Django models Design query strategy (queryfunc.py) for models Choose search terms (RESTRICTABLES dictionary) “Wire up” models to XSAMS (RETURNABLES dictionary) Test; iterate, refine

36 Database ingestion Node software doesn’t care how you load data MySQL can read either SQL scripts or ASCII files ASCII inputs have to match chosen DB-schema Node software includes code to re-arrange ASCII files: see imptools package: docs at

37 Testing sequence Define DB Code Python modules Test with internal server + TAP validator Deploy on server Tweaka ble? Workin g? Re- evaluation N Y N Y Test with portal Workin g? Register N Done Y

38 TAP validator See Enter Capabilities URL for your node in settings page... Download and run locally

39 TAP validator (2) XSAMS results Query Validity report here

40 Registration, step 1 Go to and select production* registryhttp://registry.vamdc.eu Select “create entry” from side-bar Fill out name of service; select “catalog service” type *or use dev registry for practice:

41 Registration, step 2 Fill out “core information” on next form

42 Registration, step 3 Select “edit” for this registry entry (use “browse registry” to search for entry if necessary) Select “Edit metadata... by VOSI” Paste in the capabilities URL for your node and submit

43 More information Node-software manual: VAMDC standards: Node-software video tutorials: provider-self-study/index.html provider-self-study/index.html

44 Self paced tutorials using VAMDC’s on-line material

45 On-line tutorial suite

46 Self-paced tutorials

47 Examples of node building