DateADASS 20031 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.

Slides:



Advertisements
Similar presentations
Registries Work Package 2 Requirements, Science Cases, Use Cases, Test Cases Charter: Focus on science case scenarios, and use cases related specifically.
Advertisements

May IVOA Interop Meeting1 STScI/JHU Registry Status Gretchen Greene Wil OMullane T HE US N ATIONAL V IRTUAL O BSERVATORY.
NVO Summer School VO Protocols and Jargon 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.
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.
9 September 2005NVO Summer School Aspen Astronomical Dataset Query Language (ADQL) Ray Plante T HE US N ATIONAL V IRTUAL O BSERVATORY.
The NVO Data Discovery Portal Tom McGlynn NASA/GSFC.
2008 NVO Summer School1 Data Access Layer Services Doug Tody (NRAO) T HE US N ATIONAL V IRTUAL O BSERVATORY.
September 13, 2004NVO Summer School1 Exploring VO Registries, Resources and Software with The NVO DataScope and Other VO Tools Tom McGlynn NASA/GSFC T.
Sept NVO Summer School1 Cone, SIAP, and OpenSkyQuery Client Development Gretchen Greene, Maria Nieto-Santisteban T HE US N ATIONAL V IRTUAL O.
Sept NVO Summer School1 The NVO DataScope: Internals Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
Metadata in the TAP context (1) The Problem: learn about which tables, tablesets,... are available from a TAP server for each of the tables / tablesets,
CASDA Virtual Observatory CSIRO ASTRONOMY AND SPACE SCIENCE Arkadi Kosmynin 11 March 2014.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
MAST-VizieR/NED cross correlation tutorial 1. Introduction Figure 1: Screenshot of the MAST VizieR Catalog Search Form. or enter here as object class:
Chapter 6 UNDERSTANDING AND DESIGNING QUERIES AND REPORTS.
14 October 2003ADASS 2003 – Strasbourg1 Resource Registries for the Virtual Observatory R.Plante (NCSA), G. Greene (STScI), R. Hanisch (STScI), T. McGlynn.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
October 12, 2003ADASS NVO Tutorial1 How-To Implement Cone and SIA Services Gretchen Greene Space Telescope Science.
PHP (2) – Functions, Arrays, Databases, and sessions.
Microsoft ® Official Course Interacting with the Search Service Microsoft SharePoint 2013 SharePoint Practice.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
2003 April 151 Data Centres: Connecting to the Real World Clive Page.
S. Derriere et al., ESSW03 Budapest, 2003 May 20 UCDs - metadata for astronomy Sébastien Derriere François Ochsenbein Thomas Boch CDS, Observatoire astronomique.
Web Services for Earth Science Data Edward Armstrong, Thomas Huang, Charles Thompson, Nga Quach, Richard Kim, Zhangfan Xing Winter ESIP 2014 Washington.
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.
Using SAS® Information Map Studio
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
1 Collection Specific Vocabularies March Terminology CB - abbreviation for collection builder CV - abbreviation for controlled vocabulary.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Bookkeeping Tutorial. Bookkeeping & Monitoring Tutorial2 Bookkeeping content  Contains records of all “jobs” and all “files” that are created by production.
1 Design Issues in XML Databases Ref: Designing XML Databases by Mark Graves.
JDBC Java and Databases. RHS – SOC 2 JDBC JDBC – Java DataBase Connectivity An API (i.e. a set of classes and methods), for working with databases in.
Federation and Fusion of astronomical information Daniel Egret & Françoise Genova, CDS, Strasbourg Standards and tools for the Virtual Observatories.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
3-Tier Client/Server Internet Example. TIER 1 - User interface and navigation Labeled Tier 1 in the following graphic, this layer comprises the entire.
30 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE VOTable interface with Registry Joint Apps/DM/Registry.
16 October 2003Registry Interface CallsIVOA Interoperability, Strasbourg IVOA Interoperability Elizabeth Auden & Registry Workgroup 16 – 17 October 2003.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
The International Virtual Observatory Alliance (IVOA) interoperability in action.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Workshop on How to Publish Data in VO ESAC, June 25-June DAL (Data Access Layer) protocols Jesus Salgado
Database Basics BCIS 3680 Enterprise Programming.
Distributed Data Analysis & Dissemination System (D-DADS ) Special Interest Group on Data Integration June 2000.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Session 1 Module 1: Introduction to Data Integrity
April , 2006 HEASARC Users Group Tom McGlynn The HEASARC On-line Services Tom McGlynn.
Publishing Combined Image & Spectral Data Packages Introduction to MEx M. Sierra, J.-C. Malapert, B. Rino VO ESO - Garching Virtual Observatory Info-Workshop.
21 Copyright © 2009, Oracle. All rights reserved. Working with Oracle Business Intelligence Answers.
Manipulating Data Lesson 3. Objectives Queries The SELECT query to retrieve or extract data from one table, how to retrieve or extract data by using.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Oracle Business Intelligence Foundation – Testing and Deploying OBI Repository.
JDBC Java and Databases. SWC – JDBC JDBC – Java DataBase Connectivity An API (i.e. a set of classes and methods), for working with databases in.
DAY 14: ACCESS CHAPTER 1 RAHUL KAVI October 8,
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
February 12, 2002Tom McGlynn ADEC Interoperability Technical Working Group Report.
DEPTT. OF COMP. SC & APPLICATIONS
Data Virtualization Tutorial: Introduction to SQL Script
Accomplishments RSM v0.7 First draft XML Schema completed: VOResource.xsd NVO: Working prototype resource using VOResource as format for metadata exchange.
JDBC.
Data Virtualization Tutorial: JSON_TABLE Queries
Searching Business Data with MOSS 2007 Enterprise Search
MANAGING DATA RESOURCES
Lecture 5: Functions and Parameters
Advanced Database Concepts: Reports & Views
Manipulating Data Lesson 3.
Presentation transcript:

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 O BSERVATORY

DateADASS Summary Data Discovery: Using the VO Registry Data Recovery: –Protocols –VOTable –UCDs

DateADASS Example Using the Registry use SOAP::Lite; # Install the Perl SOAP library. my $soap = SOAP::Lite # Locate the SOAP service -> uri(' -> on_action( sub { join '/', ' $_[1]} ) -> proxy(' my $method = SOAP::Data->name('QueryRegistry') # The method to invoke ->attr({xmlns=> ' # Specify the parameters of the method call = (SOAP::Data->name("predicate" => "ServiceType LIKE 'SIAP%' and ContentLevel='Research'") ); my $result = $soap->call($method # Query the remote service.... # Loop over the results foreach ($result->valueof('//SimpleResource')) {... if($$_{ServiceType} eq "SIAP/Cutout"){... Handle a cutout service } elsif (($$_{ServiceType} eq "SIAP/Archive") && ($$_{Title} eq $cxc)){... Handle an Archive service } else {... Default; }

DateADASS Registry usage issues Straightforward, fast and flexible access. Using Registry as Web service. –Need to install SOAP for environment to be used. –Interface is not yet standardized, so details of specific implementation are exposed. –SQL style query (i.e., SQL WHERE clause). The ultimate syntax may use something more like XQuery –Cryptic magic in some calls needs to be done properly (e.g., on_action argument in the constructor). Users need to copy from working examples. Content of Registry still in some flux –Detailed and final specification of service metadata. –Hierarchical database issues.

DateADASS Querying the registry we can easily obtain lists of various kinds of resources and use the associated metadata to organize them however we wish.

DateADASS Protocols Cone search provides access to anything that returns a table regarding a position. –Object tables: Lists of distinct astronomical objects –Observation tables: Lists of pointed observations No standard link from observation tables to archival data yet, but data set ID’s may provide such. SIAP Archives –Users get static, often ‘rawish’, data (Chandra, ADIL) –May get many images returned from the same dataset (i.e., lots of Chandra images of a given field). SIAP Services –Users get data customized to their invocation (DPOSS, SkyView) –Typically get only one or a few images from a given service but several different services may be returned by the same SIAP server. E.g., SkyView returns images from many different surveys – but only one of each. SIAP retrievals are a two step process. The SIAP server is in essence a registry service giving data available at a given location.

DateADASS Cone Search and SIAP Examples BEGIN { # Avoid HTTP 2.0 chunking (Perl doesn’t like it!) $ENV{PERL_LWP_USE_HTTP_10} = 1; } use LWP::UserAgent; # Standard Perl libraries from CPAN use URI::URL; use Set up a base URL for the service $url.= "POS=$ra,$dec&SIZE=$size"; # SIAP # "RA=$ra&DEC=$dec&SR=$size; # Cone search my $u = URI::URL->new($url); my $req = $url); my $ua = LWP::UserAgent->new(); my $resp = $ua->request($req);... Process the response...

DateADASS Protocol Issues SIAP and Cone Search are invoked almost identically for minimal interface. –Lots of additional capabilities may be available in SIAP, but very few are required to be supported by the server. –Metadata queries use special forms. SR=0 for Cone search asks for metadata on returned table. FORMAT=METADATA keyword used to get metadata from SIAP. Both return VOTables. –In SIAP this describes available images. SIAP may return multiple entries for same image in different formats. Links between these are not standardized.

DateADASS Reading VOTables use VOTable::Document; # VOTable library.... my $doc = VOTable::Document->new_from_string($xstring); = $doc->get_votable(); my $vot = $votarr[0]; = $vot->get_resource(); foreach my $res { # Loop over the resources in the VOTable = $res->get_table(); foreach my $tab { # Loop over the tables within the Resource my $data = $tab->get_data(); if ($data) { $nRow = $data->get_num_rows(); } my $ra = $tab->get_field_position_by_ucd("POS_EQ_RA_MAIN"); # Find RA/Dec columns my $dec = $tab->get_field_position_by_ucd("POS_EQ_DEC_MAIN"); = $tab->get_field(); for ($i = 0; $i < $nRow; $i += 1) {# Loop over the rows within the table = $tab->get_row($i); for ($j=0; $j <= $#rowdata; $j += 1) {# Loop over the columns within the row my $element = $rowdata[j];... This is the the row_i, column_j element in the table. }

DateADASS VOTable Issues VOTables can be complex –Most current tables are simple but ID attribute may be useful for complex VOTables. –Need to handle arrays of resources and tables. –Formats of SIAP and Cone search results are better constrained. Streaming versus trees –Most libraries support one paradigm easily and the other with some difficulty. Trees are easier but run into limits handling > 10 5 rows. UCDs versus column names –Protocols refer to UCDs but particular applications may require specific columns. Support for aggregate quantities (e.g., ra,dec->position) likely in updates.

DateADASS Target Data Correlator Results (VOTABLE) Remote catalogs A A B B C C D D ClassX Correlation Defines the services to be queried or UCDs we are interested in. What fields are need in the results? Single query results Join criteria and output filter The ClassX cross-correlator uses small XML files to describe what VOTable enabled services to query, what fields to extract, and how to combine information from multiple tables. With consistently defined protocols and output formats, only these small control files need to be changed to correlate tables from VizieR, the HEASARC and many other sites.

DateADASS UCDs SIAP and Cone search protocols levy requirements that columns with certain UCDs are present. –Position –Links to actual data file and format for SIAP –These UCDs are pretty much the only thing you are guaranteed to get in the output. UCDs may indicate appropriate candidates for cross-correlation UCD structure likely to change in the near term. –Modifiers like ‘main’, ‘error’ –UCDs for aggregate quantities Use UCDs for column discovery (i.e., when the structure of the returned table is unknown), use column names for column query.

DateADASS Summary Use registries to find resources –Example: Use standard protocols to query resources –Cone search : –SIAP : Descend the hierarchical structure of the VOTable –VOTable specification : –Libraries : Perl : Java : C/C++: Use UCDs to find columns of interest. –UCD info and tools: