2008 NVO Summer School1 Data Access Layer Services Doug Tody (NRAO) T HE US N ATIONAL V IRTUAL O BSERVATORY.

Slides:



Advertisements
Similar presentations
Characterisation of observations François Bonnarel, Mireille Louys, Anita Richards, Alberto Micol, Jonathan McDowell, Igor Chilingarian, et al.
Advertisements

IVOA Interop, Cambridge UK, IVOA Data Access Layer Table Access Protocol Analysis Doug Tody (NRAO/NVO ) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE.
European Space Astronomy Centre (ESAC) Villafranca del Castillo, MADRID (SPAIN) Aurélien Stébé DALToolKit Ingestor & Server September 2006, Moscow DALToolKit.
TAP Meeting, JHU Nov IVOA Data Access Layer Table Access Protocol Doug Tody (NRAO/NVO ) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE US National.
IVOA, Pune India September Data Access Layer Working Group Pune Workshop Summary Doug Tody National Radio Astronomy Observatory International.
IVOA, Kyoto May Simple Spectral Access SSA Query Interface Doug Tody (NRAO) Markus Dolensky (ESO) Et. al. International V IRTUAL O BSERVATORY.
28 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE TAP/VOTable Registry Interface Reg 1 – G.
Victoria, May Session III Theory Interest Group Session III Victoria, May
SSA Query Interface M. Dolensky, ESO Data Access Layer Working Group Interoperability Workshop, Pune, India 27-Sep-2004.
IVOA, Pune September Data Access Layer Working Group SSA Overview and Status Doug Tody National Radio Astronomy Observatory International V.
IVOA Interop meeting 05/17/2006 Victoria F.Bonnarel (CDS) Generic Data discovery, Cube acces: CGPS Archive browser F.Bonnarel,T.Boch,D.Durand (CDS, CADC)
SLAP: Simple Line Access Protocol v0.5
IVOA, Kyoto May Data Access Layer Working Group Working Group Report and Summary Doug Tody National Radio Astronomy Observatory International.
NVO Summer School VO Protocols and Jargon Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
NVO Summer School, September Desktop Integration with VO VOClient, DALClient NVO Summer School, Aspen Sept 2006 Doug Tody (NRAO), Mike Fitzpatrick.
September 13, 2004NVO Summer School1 VO Protocols Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
September 13, 2004NVO Summer School1 VO Protocols Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
6 September 2008NVO Summer School 2008 – Santa Fe1 DAL Clients: Scripting Data Access with Python Ray Plante T HE US N ATIONAL V IRTUAL O BSERVATORY.
2008 NVO Summer School1 Finding Services in the NVO Registry Gretchen Greene T HE US N ATIONAL V IRTUAL O BSERVATORY.
NVO Summer School, Santa Fe Sept Access to Spectroscopic Data In the VO Doug Tody (NRAO/US-NVO ) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE.
September 7, 2005NVO Summer School1 Building a SkyNode Server Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
2008 NVO Summer School1 Image Visualization in the VO Doug Tody (NRAO) Francois Bonnarel (CDS) T HE US N ATIONAL V IRTUAL O BSERVATORY.
Sept NVO Summer School1 Cone, SIAP, and OpenSkyQuery Client Development Gretchen Greene, Maria Nieto-Santisteban T HE US N ATIONAL V IRTUAL O.
NVO Summer School, Aspen Sept Data Access Layer Working Group Image and Spectral Access Doug Tody National Radio Astronomy Observatory National.
8 September 2008NVO Summer School 2008 – Santa Fe1 Publishing Data and Services to the VO Ray Plante Gretchen Greene T HE US N ATIONAL V IRTUAL O BSERVATORY.
NVO Summer School, September Data Access Layer Servers NVO Summer School, Aspen Sept Doug Tody (NRAO) US National Virtual Observatory.
14 Sep 2006NVO Summer School T HE US N ATIONAL V IRTUAL O BSERVATORY Simple SSA Query Kelly McCusker Amy Kimball Mike Koss Phil Warner Melinda Mello.
Sep 6, NVO Summer School1 Using IRAF in the VO Mike Fitzpatrick, NOAO T HE US N ATIONAL V IRTUAL O BSERVATORY.
CASDA Virtual Observatory CSIRO ASTRONOMY AND SPACE SCIENCE Arkadi Kosmynin 11 March 2014.
Lessons learnt with Aladin and characterization experience for SIA2.0 F.Bonnarel, CDS (credit to Aladin developpers, CADC,ECF,ESAC, ESO VO people, DAL.
October 12, 2003ADASS NVO Tutorial1 How-To Implement Cone and SIA Services Gretchen Greene Space Telescope Science.
Numerical Grid Computations with the OPeNDAP Back End Server (BES)
European Space Astronomy Centre (ESAC) Villafranca del Castillo, MADRID (SPAIN) Aurélien Stébé Homogeneous Access to Tabular Data Beijing, China - May.
2003 April 151 Data Centres: Connecting to the Real World Clive Page.
Chenzhou CUI National Astronomical Observatory of China.
VO Data Access Layer Working Group Summary IVOA Cambridge, UK 16 May 2003 Doug Tody, NRAO.
Characterisation Data Model applied to simulated data Mireille Louys, CDS and LSIIT Strasbourg.
F. Genova, VOTECH kickoff meeting, 2004/11/ Interoperability standards F. Genova, M. Allen, T. Boch, F. Bonnarel, S. Derriere, P. Fernique, F. Ochsenbein,
DateADASS How to Navigate VO Datasets Using VO Protocols Ray Plante (NCSA/UIUC), Thomas McGlynn and Eric Winter NASA/GSFC T HE US N ATIONAL V IRTUAL.
IVOA Interop, Victoria Canada, May IVOA Data Access Layer Closing Plenary Summary, Victoria May 2006 Doug Tody (NRAO/NVO/IVOA) I NTERNATIONAL V IRTUAL.
Last News of and
16-17 Oct 2003IVOA Data Access Layer, Strasbourg IVOA Data Access Layer (DAL) Working Group Doug Tody National Radio Astronomy Observatory International.
29-30 April 2004NVO Team Meeting NCSA1 Data Access Layer (DAL) SSA, SIA Enhancement Doug Tody National Radio Astronomy Observatory National Virtual Observatory.
Scalable Metadata Definition Frameworks Raymond Plante NCSA/NVO Toward an International Virtual Observatory How do we encourage a smooth evolution of metadata.
Spectroscopy in VO, ESAC Mar Access to Spectroscopic Data In the VO Doug Tody (NRAO/US-NVO ) for the IVOA DAL working group I NTERNATIONAL.
Virtual Observatory Interfaces reused in the Virtual Atomic and Molecular Data Centre Guy Rixon Institute of Astronomy University of Cambridge September.
JVO JVO Portal Japanese Virtual Observatory (JVO) Prototype 2 Masahiro Tanaka, Yuji Shirasaki, Satoshi Honda, Yoshihiko Mizumoto, Masatoshi Ohishi (NAOJ),
IVOA Interop, SL de El Escorial, Oct IVOA DAL - Madrid DAL WG Summary October 7, 2005.
IVOA, Kyoto May Data Access Layer Working Group Status and Plans for this Workshop Doug Tody National Radio Astronomy Observatory International.
IVOA, Kyoto May Data Access Layer Thoughts on ADQL/DAL Integration Doug Tody (NRAO) International V IRTUAL O BSERVATORY.
30 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE VOTable interface with Registry Joint Apps/DM/Registry.
PhotDM implementation feedback | Jesus Salgado | ESAC | 18 October 2011 | IVOA Pune 2011 | Pag. 1 Photometry DM implementation feedback Jesus.
Workshop on How to Publish Data in VO ESAC, June 25-June DAL (Data Access Layer) protocols Jesus Salgado
Archibald Warnock FGDC Activities CIP/INFEO Interoperability and ISO CD2 Metadata Activities.
21-jun-2009 IVOA Standards Pedro Osuna ESA-VO Project Science Archives and Computer Support Engineering Unit (SRE-OE) Science Operations Department (SRE-O)
UCL DEPARTMENT OF SPACE AND CLIMATE PHYSICS MULLARD SPACE SCIENCE LABORATORY Taverna Plugin VAMDC and HELIO (part of the ‘taverna-astronomy’ edition) Kevin.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
IVOA Interop, SL de El Escorial, Oct IVOA Data Access Layer Doug Tody (NRAO/NVO/IVOA) I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE.
European Space Astronomy Centre (ESAC) Villafranca del Castillo, MADRID (SPAIN) Aurélien Stébé DALToolKit Ingestor & Server January 2008, VODay, Sofia.
Publishing Combined Image & Spectral Data Packages Introduction to MEx M. Sierra, J.-C. Malapert, B. Rino VO ESO - Garching Virtual Observatory Info-Workshop.
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
VO Data Access Layer IVOA Cambridge, UK 12 May 2003 Doug Tody, NRAO.
© Roy Williams 2002 The Uphill Battle of Semantic Interoperability Roy Williams California Institute of Technology.
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
End of the Beginning for IVOA is now Roy Williams IVOA Technical Lead.
Simple Image Access International VIRTUAL OBSERVATORY
PDAP Query Language International Planetary Data Alliance
Google Sky.
Presentation transcript:

2008 NVO Summer School1 Data Access Layer Services Doug Tody (NRAO) T HE US N ATIONAL V IRTUAL O BSERVATORY

Data Access Layer (DAL) Servers Scope –This talk is about serving data to the VO Publishing catalogs, image and spectral data collections –Client side data analysis merely uses the services End user does not see any of this Those developing data analysis s/w will however Audience: data service and client s/w developers Topics –Part 1: Data services (presentation) –Part 2: The DALServer framework (hands-on)

Why a Service Framework? Not required –DAL protocols are open separation of interface from implementation –Building from scratch is always permitted Sometimes one needs to do this However... –This often results in minimal or noncompliant services –Increasingly impractical as VO protocols mature and become more complex –Use of a service framework can make service construction easier while providing more complete, robust service implementations.

Service Frameworks Examples –Apache Web server, Tomcat, etc. are non-astro examples Basic Concept –Framework provides all the generic functionality –You provide the data and metadata - the content Other –Also provides a reference implementation for a standard –Service verification is also an important issue

DAL Data Service Classes Generic Dataset –Table SCS, TAP –Image SIAV1, SIAV2 –Spectrum observational (SSAP) synthetic spectrum (TSAP) –SED based upon SSA Generic Dataset –TimeSeries based upon SSA –Spectral line list SLAP –Theory data model data –Instrumental data any observatory instrument Aggregations –Complex data

DAL Services Share Common Elements Common Service Elements –Query parameters (POS, SIZE, BAND, TIME, etc.) –Generic dataset metadata (ident, curation, char, etc.) –Service methods (queryData, getData, getCapabilities, etc.) –Form of interface (operations, parameters, errors, etc.) –Usage of VOTable, UTYPE, etc. for query response Other Common Elements –Output serializations (VOTable, CSV, text, FITS, etc.) –Region specification, STC-based coordinates –Grid capabilities (async, auth, vospace, etc.)

Service Profile Operations –REQUEST, VERSION parameters –queryData, getData, getCapabilities, getAvailability Params –Semantics, e.g., no repeated params –Syntax, e.g., range list syntax Errors –use of VOTable for errors

Data Models Query response –each service type defines a query response data model –standard metadata for a class of data Dataset (image, spectrum, etc.) –dataset also defines a data model part of this is common with the query response –Spectrum is a good example UTYPE usage –tag elements of a data model –"flattens" a hierarchical data model –separation of model from representation

DAL Service Functionality Service Architecture –Data query data discovery metadata retrieval iterative specification of virtual data –Data access data retrieval virtual data generation data staging (async, vospace) Advanced Capabilities –getCapabilities, getAvailabilty –authentication, asynchronous processing, vospace

The DALServer Framework Unifies all DAL services within a consistent framework –common mechanisms, framework elements, semantics –maximizes code sharing and reuse Provides a reference implementation of all DAL services –required as part of the standards development process –augments specification with a working implementation example Separates external concerns from service implementation –service code does not know how it is being called –service code can focus on data manipulation –framework deals with external interface (HTTP, servlets, etc.)

Framework Elements Service Implementations –base class for each service protocol (SIA, SSA, etc.) –often a real working service, e.g. echo/test or builtin data Input Parameters –standard input parameter set for each class of service –facilities for parameter management, parsing, and access Keyword Dictionary –standard keyword dictionary for each class of service –defines standard metadata including UCD, UTYPE, etc. Data Model –Service code writes to the data model –Does not deal directly with VOTable etc. (unless it needs to) –Framework responsible for serializing model in various formats

Data Model Usage Example RequestResponse r = new RequestResponse(); SsapKeywordFactory ssap = new SsapKeywordFactory(r); r.addGroup(ssap.newGroup("Access)); r.addField(ssap.newField("AcRef)); r.addField(ssap.newField("Format)); r.addRow(); r.setValue("AcRef, r.setValue("Format, "image/fits);

Adding a New Data Service Configurable Service –Service functionality provided by DALServer –Configure service to access local data cone search example illustrates this Custom Service –Subclass base class and provide custom methods (queryData etc.) –Custom service functionality provided by the new class –Much of the generic framework is still inherited servlet code, paramset, keyword dictionary, data model, etc. –More work, but more adaptable

SCS support Provided –Working service using built-in copy of Messier table –Service user-configurable to access any DBMS table New Services –Configure generic service –Subclass dalserver.ScsService to make custom service

SIA support Provided –Echo/test service implementing protocol including metadata –Service user-configurable to access a local image collection DBMS table required to provide SIAP metadata for collection getData operation provided to access image data Image data accessed by local URL (file or network-based) New Services –Configure generic service, provide SIAP metadata in a table –Subclass dalserver.SiapService to make custom service

SIA Image Index Table Metadata (for each image) –ra RA in degrees (ICRS) –decl DEC in degrees (ICRS) –title Short descriptive title –instr Instrument description –dateobs Date of observation (MJD) –naxes Number of image axes –naxis1, naxis2 Size of each axis (pixels) –scale1, scale2 Scale of each axis (deg) –format Image format (MIME type) –fpath File path relative to dataDirURL –cframe Spatial coord frame as in FITS –equinox Equinox of spatial coords, if used –proj Celestial projection –crpix Coordinates of reference pixel –crval WCS coords of reference pixel –cd CD matrix as in FITS WCS

SSA support Provided –Echo/test service implementing protocol including all metadata –Demonstration proxy service for JHU/SDSS spectra working SSA service with access to ~1 million SDSS DR6 spectra example of a complex custom subclassed service New Services –Subclass dalserver.SsapService to make custom service