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.

Slides:



Advertisements
Similar presentations
IVOA Registry WG, IVOA Registry WG Pune, 28 Sept 2004.
Advertisements

European Space Astronomy Centre (ESAC) Villafranca del Castillo, MADRID (SPAIN) Pedro OSUNA ESAC ADT Team VOSpec IVOA Poona Sep 2004 VOSpec: A Tool to.
Characterisation of observations François Bonnarel, Mireille Louys, Anita Richards, Alberto Micol, Jonathan McDowell, Igor Chilingarian, et al.
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.
European Space Astronomy Centre (ESAC) Villafranca del Castillo, MADRID (SPAIN) Jesús Salgado SLAP Implementations Sep 2006, Moscow, Russia Simple Line.
IVOA, Pune India September Data Access Layer Working Group Pune Workshop Summary Doug Tody National Radio Astronomy Observatory International.
28 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE TAP/VOTable Registry Interface Reg 1 – G.
SSA Query Interface M. Dolensky, ESO Data Access Layer Working Group Interoperability Workshop, Pune, India 27-Sep-2004.
Interop May 2007 Spectrum Data Model Jonathan McDowell.
16 October 2003IVOA Interoperability Conference Registry Working Group VOResource (v0.8.4) XML Schema defining core metadata applicable to all resources.
19 May 2008 IVOA Interoperability Meeting -- Trieste T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE Registry Extension Schemas VODataService VOStandard.
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)
27 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE Resource Registries Opening Plenary Registry.
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.
8 September 2006NVO Summer School Aspen1 Publishing and Resource Discovery with Registries Ray Plante Gretchen Greene T HE US N ATIONAL V IRTUAL.
NVO Summer School, Aspen Center for Physics1 Publishing and Resource Discovery with Registries Ray Plante Gretchen Greene.
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.
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.
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.
Sep 8, NVO Summer School1 WCSFixer A Web-Enabled IRAF Plate Solver Mike Fitzpatrick, NOAO T HE US N ATIONAL V IRTUAL O BSERVATORY.
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.
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.
NVOSS 2008 Santa Fe1 Space Time Coordinates Gretchen Greene (many thanks to Arnold Rots) T HE US N ATIONAL V IRTUAL O BSERVATORY Sept 2008.
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.
Sept NVO Summer School1 The NVO DataScope: Internals Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
CASDA Virtual Observatory CSIRO ASTRONOMY AND SPACE SCIENCE Arkadi Kosmynin 11 March 2014.
14 October 2003ADASS 2003 – Strasbourg1 Resource Registries for the Virtual Observatory R.Plante (NCSA), G. Greene (STScI), R. Hanisch (STScI), T. McGlynn.
October 12, 2003ADASS NVO Tutorial1 How-To Implement Cone and SIA Services Gretchen Greene Space Telescope Science.
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
2003 April 151 Data Centres: Connecting to the Real World Clive Page.
Astronomical Data Query Language Simple Query Protocol for the Virtual Observatory Naoki Yasuda 1, William O'Mullane 2, Tamas Budavari 2, Vivek Haridas.
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.
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.
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.
IVOA Interop, SL de El Escorial, Oct IVOA DAL - Madrid DAL WG Summary October 7, 2005.
30 October 2008 IVOA Interoperability Meeting -- Baltimore T HE I NTERNATIONAL V IRTUAL O BSERVATORY ALLIANCE VOTable interface with Registry Joint Apps/DM/Registry.
The International Virtual Observatory Alliance (IVOA) interoperability in action.
ADQL/s Syntax (Proposal) -- towards unification of ADQL, SIAP, SSAP, SXAP Yuji SHIRASAKI National Astronomical Observatory.
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
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.
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
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.
Coordination Portal/Data sources L2:Data access & Handling Points to be raised : - Downloading data sources/data via the Portal…keeping visibility of data.
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.
Simple Image Access International VIRTUAL OBSERVATORY
Standard Query Language for VO
Accomplishments RSM v0.7 First draft XML Schema completed: VOResource.xsd NVO: Working prototype resource using VOResource as format for metadata exchange.
By Matthew J. Graham (Caltech, NVO)
Google Sky.
Presentation transcript:

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

6 September 2008NVO Summer School 2008 – Santa Fe2 The Data Access Layer: from data discovery to data retrieval Standard interfaces for finding and retrieving particular types of data –Simple Cone Search (object catalog data) –Simple Image Access Protocol (SIAP) –Simple Spectral Access Protocol (SSAP) –Table Access Protocol (TAP)* –Simple Line Access Protocol (SLAP)* *not covered here Common mechanisms accessing data –Search query returns matching items Simple: Query expressed as a URL (a base URL + name=value arguments) Result returned as a VOTable –SIAP/SSAP: record includes URL for downloading data item –Bridge from discovery to retrieval –Differences reflect maturing interface designs 2 nd generation will have more unified behavior

6 September 2008NVO Summer School 2008 – Santa Fe3 Simple Cone Search (SCS) Retrieve a table of objects located within a given distance from a sky position Ultra-simple interface: RA= &DEC= &SR= –RA – right ascension of central search position in degrees –DEC – declination of central search position in degrees –SR – search radius in degrees –Optional argument: VERB= 1=minimum # of columns, 3=maximum # Examples: Just want the table metadata? –Use SR=0 –Service will return VOTable header with no rows

6 September 2008NVO Summer School 2008 – Santa Fe4 Simple Cone Search (SCS) VOTable results –Only one RESOURCE element with one TABLE –Each record represents an object found within the cone –Must contain columns with the following UCDs*: ID_MAIN – a name for the object RA_POS_EQ_MAIN – the objects J2000 RA DEC_POS_EQ_MAIN – the objects J2000 Dec *Note: these are Version 1.0 UCDs

6 September 2008NVO Summer School 2008 – Santa Fe5 Simple Image Access (SIA) Retrieve a table of available images that intersect a rectangular region of sky Pretty simple interface: POS=, &SIZE= [, ][…] –POS – R.A. and dec. in degrees, separated by a comma –SIZE – width & height in degrees One value: square region –INTERSECT – restrict how image intersects the region COVERS, ENCLOSED, CENTER, or OVERLAPS –FORMAT – restrict the types of images returned Mime types: e.g. image/fits or image/jpeg ALL – all available types GRAPHIC – any computer graphics format (JPEG, GIF, PNG,…) –Image generation parameters –Anything else: service-specific parameters Just want metadata? –Use FORMAT=METADATA –Service will return VOTable header with no rows

6 September 2008NVO Summer School 2008 – Santa Fe6 Simple Image Access (SIA) VOTable results –RESOURCE element with attribute type="results" Contains exactly one TABLE element –Each record represents an available image –Must contain columns with the following UCDs*: VOX:Image_Title – a concise description of the image RA_POS_EQ_MAIN – the RA of the image center DEC_POS_EQ_MAIN – the Dec of the image center VOX:Image_Naxes – the # of axes in image VOX:Image_Naxis – the # pixels along each axis (comma-separated) VOX:Image_Scale – the pixel size along each axis, in degrees VOX:Image_Format – the MIME type of the image –E.g. image/fits, image/gif VOX:Image_AccessReference – the URL for retrieving the image –Other columns are recommended World Coordinate System (WCS) metadata Spectral information

6 September 2008NVO Summer School 2008 – Santa Fe7 Simple Spectral Access Retrieve a table of available spectra that intersect a rectangular region of sky Fairly simple interface: REQUEST=queryData&POS=, &SIZE= […] –REQUEST – what to do with inputs Other operations coming: e.g. getData, stageData, getAvailability, … –POS – R.A. and dec. in degrees, separated by a comma –SIZE – width & height in degrees –FORMAT – restrict to spectra encoded particular format –BAND – restrict to wavelength range Range format: 2.7E-7/0.13 (optical to radio) –TIME – restrict to observation time range Range format: /1999 (May 21, 1998 to 1999) –Other metadata parameters –Anything else: service-specific parameters Just want metadata? –Use FORMAT=METADATA –Future: will be replaced by REQUEST=getCapabilities

6 September 2008NVO Summer School 2008 – Santa Fe8 Simple Spectral Access (SSA) VOTable results –RESOURCE element with attribute type="results" Contains exactly one TABLE element –Each record represents an available image –Semantic meaning of a column identified by its UTYPE More specific in meaning than UCD –Must contain columns with the following UTYPEs: Dataset.Length – # of values in spectrum DataID.Title – dataset name Curation.Publisher – name of the spectrums publisher Char.SpatialAxis.Coverage.Location.Value – observed position for the spectrum (RA & Dec.) Char.SpatialAxis.Coverage.Bounds.Extent – angular diameter of spectrums apeture Char.TimeAxis.Coverage.Location.Value – midpoint of observation time Char.SpectralAxis.Coverage.Location.Value – wavelength spectrum midpoint Char.SpectralAxis.Coverage.Bounds.Extent – wavelength bandwidth of spectrum –UTYPEs are available for many columns of spectrum metadata

6 September 2008NVO Summer School 2008 – Santa Fe9 Caution: pre-v1.0 SSA SSA is relatively new –Fairly few, fully compliant services Majority of currently registered SSAs pre- date the final v1.0 version of standard –Registered as version 0.5 compliant See interfaceVersion column in Registry Results browser

6 September 2008NVO Summer School 2008 – Santa Fe10 What is simple anyway? With a simple DAL service, –You can express the query as a single URL Can be easily submitted via a web browser Easy to call via a scripting language –Results are returned as a VOTable Can use any XML or VOTable viewer/parser to open it up