NVO Summer School, Aspen 9-Sep-20051 Data Access Layer Doug Tody (NRAO) US N ATIONAL V IRTUAL O BSERVATORY.

Slides:



Advertisements
Similar presentations
13/4/20051 Alaa Sadik Ph.D., University of Hull, UK Faculty of Education in Qena جامعة جنوب الوادي مركز تنمية قدرات أعضاء هيئة التدريس Effective Presentation.
Advertisements

Registries Work Package 2 Requirements, Science Cases, Use Cases, Test Cases Charter: Focus on science case scenarios, and use cases related specifically.
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.
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.
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.
Interop May 2007 Spectrum Data Model Jonathan McDowell.
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.
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.
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.
NVO Summer School, Aspen 9-Sep TimeServer Andrew Drake Robyn Allsman David Gasson Mark Huber Kathy Vivas 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.
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.
Lia Toledo Moreira Mota, Alexandre de Assis Mota, Wu, Shin-Ting
VGISCs view VGISC Uses Cases Geneva October 2005.
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.
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.
1 HTML and CGI Scripting CSC8304 – Computing Environments for Bioinformatics - Lecture 10.
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.
Diversity of domain descriptions in natural science: virtual observatory as a case study Briukhov D.O., Kalinichenko L.A., Zakharov V.N. Institute of Informatics.
Characterisation Data Model applied to simulated data Mireille Louys, CDS and LSIIT Strasbourg.
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.
Functions and Demo of Astrogrid 1.1 China-VO Haijun Tian.
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.
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.
EÖTVÖS UNIVERSITY BUDAPEST Department of Physics of Complex Systems VO Spectroscopy Workshop, ESAC Spectrum Services 2007 László Dobos (ELTE)
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.
May 2003National Coastal Data Development Center Brief Introduction Two components Data Exchange Infrastructure (DEI) Spatial Data Model (SDM) Together,
The International Virtual Observatory Alliance (IVOA) interoperability in action.
Workshop on How to Publish Data in VO ESAC, June 25-June DAL (Data Access Layer) protocols Jesus Salgado
UCL DEPARTMENT OF SPACE AND CLIMATE PHYSICS MULLARD SPACE SCIENCE LABORATORY Taverna Plugin VAMDC and HELIO (part of the ‘taverna-astronomy’ edition) Kevin.
Discussed in Kyoto Schema changes for the next version (Gerard Lemson)  will be included in VOTable1.2 Schema changes for the next version (Gerard Lemson)
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.
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.
IVOA Interop, Beijing, China, May IVOA Data Access Layer Working Group Sessions Doug Tody (NRAO/NVO ) Markus Dolensky (ESO/EuroVO) Data Access Layer.
16 May 2006IVOA Interoperability – Registries WG1 VOResource Schema v1.0 Release 6 Ray Plante NCSA T HE I NTERNATIONAL V IRTUAL O BSERVATORY A LLIANCE.
Geospatial metadata Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Simple Image Access International VIRTUAL OBSERVATORY
Michael Morahan CEOS WGISS-43 Meeting
Standard Query Language for VO
PDAP Query Language International Planetary Data Alliance
Google Sky.
Presentation transcript:

NVO Summer School, Aspen 9-Sep Data Access Layer Doug Tody (NRAO) US N ATIONAL V IRTUAL O BSERVATORY

NVO Summer School, Aspen 9-Sep Data Access Layer What does it do? –Provides access to data data discovery mediation to a standard model data retrieval on-demand data generation server-side computation (subsetting, filtering) What is it for? –Supports client data analysis distributed, multiwavelength How does it work? –Object (dataset) oriented catalog, image, spectrum, time series, SED, etc. –Services cone search (also SkyNode), SIA, SSA

NVO Summer School, Aspen 9-Sep Cone Search

NVO Summer School, Aspen 9-Sep Cone Search Provides basic catalog access –Query by position and aperture (cone in space) –Query consists of base-URL (service endpoint) plus parameters e.g., %RA=12.0&DEC=0.0&SR=1.0http://base-url –Catalog returned as a VOTable Advantages –Simple but powerful, provides standard interface –Easy to implement and use Limitations –Catalog metadata is not defined –No data model support Future –Supplanted by basic SkyNode (Greene, Saturday) –Supports metadata discovery, SQL-like syntactical queries –We will continue to support the basic cone search query however!

NVO Summer School, Aspen 9-Sep Simple Image Access

NVO Summer School, Aspen 9-Sep Simple Image Access (SIA) Basic Usage, Highest Level –Client queries Registry to find interesting services –Each service is queried (in turn or simultaneously) for data –Client collates and analyzes results –Selected datasets are retrieved

NVO Summer School, Aspen 9-Sep Simple Image Access (SIA) Basic Usage, Single Service –Query find data of interest from a single service %POS=12.0,0.0&SIZE=0.2&FORMAT=image/fitshttp://base-url –Query response VOTable, one row per candidate dataset "access reference" (a URL) points to data –Data selection Performed by the client using query response metadata –Dataset retrieval Retrieve actual datasets, if any

NVO Summer School, Aspen 9-Sep Service Capabilities Types of Services –AtlasPrecomputed survey image (entire image) –PointedImage from pointed observation (entire image) –CutoutCutout existing image (pixels unchanged) –MosaicReprojected image (pixels resampled) Virtual Data –Data model mediation –Subsetting, filtering, etc. on the fly –Possible to view same data in different ways Interface –RESTful interface currently (HTTP GET) –Document oriented (VOTable, FITS, JPEG, etc.)

NVO Summer School, Aspen 9-Sep Data Model SIA data model is the familiar "astronomical image" –Generally this means a 2D sky projection –Data array is logically a regular grid of pixels –Encoded as a FITS image, GIF/JPEG, etc. Standardized dataset metadata –Provenance –Image geometry –Scale –Format –Position, WCS –Time of observation –Spectral bandpass –Access information

NVO Summer School, Aspen 9-Sep Input Parameters Required parameters –POScenter of ROI (ra, dec decimal degrees ICRS) –SIZEwidth; or width, height –FORMAT ALL, GRAPHIC, image/fits, image/jpeg, text/html,… Optional parameters –INTERSECTvalues: covers, enclosed, center, overlaps –VERBtable verbosity Service-defined parameters –used to further refine queries, but not yet standardized e.g., BAND, SURVEY, etc. Image generation parameters –NAXIS, CFRAME, EQUINOX, CRPIX, CRVAL, CDELT, ROTANG, PROJ used for cutout/mosaic services to specify image to be generated

NVO Summer School, Aspen 9-Sep Query Response Output is a VOTable –Must contain a RESOURCE element with tag="results", containing the results of the query. The results resource contains a single table –Each row of the table describes a single data object which can be retrieved. The fields of the table describe the attributes of the dataset –These are the attributes of the SIA data model –In SIA 1.0, the UCD is used to identify the data model attribute e.g., POS_EQ_RA_MAIN, VOX:Image_Scale, etc.

NVO Summer School, Aspen 9-Sep Query Response Image metadata –Describes the image object (required) Coordinate system metadata –Image WCS Spectral bandpass metadata –Prototype data model describing spectral bandpass of image Processing metadata –Tells whether the service modified the image data Access metadata –Tells client how to access the dataset (required) Resource-specific metadata –Additional optional service-defined metadata describing image

NVO Summer School, Aspen 9-Sep Image Metadata VOX:Image_TitleBrief description of image POS_EQ_RA_MAINRa (ICRS) POS_EQ_DEC_MAINDec (ICRS) INST_ID Instrument name VOX:Image_MJDateObsMJD of observation VOX:Image_Naxes Number of image axes VOX:Image_Naxis Length of each axis VOX:Image_Scale Image scale, deg/pix VOX:Image_Format Image file format

NVO Summer School, Aspen 9-Sep

NVO Summer School, Aspen 9-Sep Image Retrieval Completely optional –Typically only a fraction of the available images are retrieved Query response –If an access reference is provided, the data can be retrieved –SIAP can also be used to describe data which is not online –The same data may be available in multiple formats Image retrieval –Very simple; access reference is a URL –Standard tools can be used to fetch the data (browser, wget, curl, i/o library, etc.) –Data is often computed on-the-fly –All retrieval is synchronous (currently) –No provision for restricting access (currently)

NVO Summer School, Aspen 9-Sep Service Registration

NVO Summer School, Aspen 9-Sep Future Development SIA V1.1 –Based on work done on SSA –Expanded query interface no longer limited to positional queries –Much richer query response generic dataset identification, characterization, etc. metadata extension mechanism –Selected features VOTable 1.1 with UCD 1+, GROUP, UTYPE query response can be ordered by "score" logical groupings of related query records compression support –Versioning required to make protocol upgrades manageable

NVO Summer School, Aspen 9-Sep

NVO Summer School, Aspen 9-Sep

NVO Summer School, Aspen 9-Sep Future Development Service verification –for testing at development time –when registered; level of compliance metric Grid capabilities –Data staging asynchronous image generation (long running jobs) batch generation of images (multiple images) –Data management support for single sign-on authentication, authorization network data caching, third party delivery (VOStore etc.) –Web service interface resource metadata service availability (etc.) ADQL integration –Capability to use query language for queries

NVO Summer School, Aspen 9-Sep Simple Spectral Access

NVO Summer School, Aspen 9-Sep Simple Spectral Access (SSA) What is it? –Provides access to 1D spectra, time series, SEDs –Tabular spectrophotometric data (photometry points) –Represents second generation, data model-based DAL interfaces Status –Draft V0.9 query interface reviewed in Kyoto (May 05) –Revisions in progress; draft PR targeted for Madrid (Oct 05) –Much work on data models however still being revised –Some initial prototypes already exist (services, client apps) IVOA/Madrid discussions will be held immediately after the ADASS and are open to all

NVO Summer School, Aspen 9-Sep Basic Usage SSA specification may be complex, but basic usage is simple Simple query –POS, SIZE, FORMAT - like cone search, SIA –Possibly refined by spectral or time bandpass, etc. –Most metadata in query response is optional Data retrieval –Simple retrieval is again URL-based –Get back a dataset "document" (VOTable, FITS, JPEG, etc.) –In simplest case could be wavelength, flux as text (for Spectrum) –Pass-through of external data is permitted Data Analysis –Standard data model isolates application from quirks of –external project data

NVO Summer School, Aspen 9-Sep Concepts - Dataset-oriented Data object type –Spectrum, TimeSeries, SED Dataset creation type –AtlasWhole datasets, uniform survey data –Pointed Whole datasets, variable instrumental data –Cutout Subset, data samples are not modified –Resampled Subset, data samples computed by service Dataset derivation –Observed An observation –Composite Combination of several observations –Simulated Simulated observation made from real data –Synthetic Data from a theoretical model

NVO Summer School, Aspen 9-Sep Data Models Data models used in SSA –Spectral dataSpectrum, TimeSeries, SED –Dataset Generic dataset descriptor –Target Astronomical target observed –Curation Origin of data –CharacterizationPhysical characteristics of data –Provenance Instrument which generated the data User defined data models –Metadata extension mechanisms additional data model attributes (table fields) additional resources in VOTable, linked back to main table –Provide a mechanism to "subclass" dataset to tailor it for a given data collection

NVO Summer School, Aspen 9-Sep Spectral Data (SED) spectrum segment Photometry point

NVO Summer School, Aspen 9-Sep Spectral/SED Data Model

NVO Summer School, Aspen 9-Sep

NVO Summer School, Aspen 9-Sep Query Interface Mandatory query parameters –POSRA, DEC (ICRS) –SIZEdiameter (decimal degrees) –TIME data1,date2 (epoch in decimal years UTC) –BANDwave1,wave2 (meters in vacuum; source or observer) –FORMATVOTable, fits, xml, text, graphics, html, external

NVO Summer School, Aspen 9-Sep Query Interface Recommended query parameters –APERTURE approx spatial resolution (decimal degrees) –SPECRES spectral resolution (meters) –TOP number of top-ranked records to return –OBJTYPEmandatory if service returns multiple object types –COLLECTIONdata collection identifier

NVO Summer School, Aspen 9-Sep Query Interface Optional parameters –CREATORID creator-assigned dataset identifier (at most 1) –PUBIDpublisher-assigned dataset identifier (at most N) –COMPRESSenable compression (for both data _and_ queries?) –SNR signal-to-noise ratio –REDSHIFT redshift range (dlambda/lambda) –TARGETCLASSstar, galaxy, pulsar, PN, QSO, AGN, etc.

NVO Summer School, Aspen 9-Sep Query Response Classes of query metadata –Query metadataDescribes the query itself –Dataset metadataDescribes data object; object-specific –Target metadata Astronomical target –Curation metadata External identification of dataset –Characterization Coverage, Accuracy, Frame, etc. –Instrument metadata Service-defined; hard to standardize –Access metadata Describes how to access the dataset

NVO Summer School, Aspen 9-Sep Query Response Query Metadata –Query.ScoreHow well object matches query –Query.LNameLogical name (identifier) –Query.LNameKeyLogical name key (id-ref) Example: LName="MyObj123" LNameKey="server,format"

NVO Summer School, Aspen 9-Sep Query Response Dataset Metadata –Dataset.Type Spectrum, TimeSeries, SED, etc. –Dataset.DataModel DM name, e.g., "SSA-V0.90" –Dataset.Title Brief descriptive title of dataset –Dataset.SSA.NSamples Total samples in dataset Dataset.SSA.Aperture Characteristic aperture diameter –Dataset.SSA.TimeAxis TimeCoord axis (external data) –.SSA.SpectralAxis SpectralCoord axis (external data) –Dataset.SSA.FluxAxis Flux axis (external data) –Dataset.CreationType atlas, pointed, cutout, resampled –Dataset.Derivation observed, composite, simulated, synthetic

NVO Summer School, Aspen 9-Sep Query Response Target Metadata –Target.NameName of astronomical object –Target.Class Target class (star, galaxy, QSO, etc.) –Target.SpectralClassSpectral class (e.g., 'O', 'B', etc.) –Target.Redshift Nominal redshift for object –Derived.VarAmpl Variability amplitude (fraction 0-1) –Derived.SNR Observed signal to noise ratio

NVO Summer School, Aspen 9-Sep Query Response Curation Metadata –Curation.CollectionData collection name (identifier) –Curation.Creator Creator identify (identifier) –Curation.CreatorID Creator-assigned dataset identifier –Curation.PublisherID Publisher-assigned dataset identifier –Curation.Date Dataset creation date (ISO date string) –Curation.Version Dataset version (within same ID)

NVO Summer School, Aspen 9-Sep Query Response Characterization1 - Coverage –.Location.SpatialPosition (e.g., RA, DEC) –.Location.Time Observation time characteristic value –.Location.Spectral Spectral bandpass characteristic value –.Location.Spectral.BandID Bandpass ID (band or filter name) –.Bounds.Spatial Aperture footprint (polygon on sky) –.Bounds.Time Low/High time values –.Bounds.Spectral Low/High spectral values –.Bounds.Flux Limiting flux, saturation limit (Jansky) –.Fill.Spatial Spatial sampling filling factor (0-1) –.Fill.Time Time sampling filling factor (0-1) –.Fill.Spectral Spectral sampling filling factor (0-1)

NVO Summer School, Aspen 9-Sep Query Response Characterization2 - Accuracy –Accuracy.*.Calibrateduncalibrated, relative, absolute –Accuracy.*.Resolution Resolution of measured signal –Accuracy.*.StatErr Statistical error (measured) –Accuracy.*.SysErr Systematic error (estimated) ('*' = Spatial, Time, Spectral, Flux)

NVO Summer School, Aspen 9-Sep Query Response Characterization3 - Reference Frames –Frame.Spatial.TypeCoordinate frame (default ICRS) –Frame.Spatial.Equinox Coordinate system equinox (J2000) –Frame.Time.System Timescale (TT) –Frame.Time.SIDim SI factor and dimension –Frame.Spectral.SIDim SI factor and dimension –Frame.Flux.SIDim SI factor and dimension –Frame.Flux.UCD UCD of flux value (flux type) (These apply only to the query response) (SIDim metadata still under construction)

NVO Summer School, Aspen 9-Sep Query Response Instrument Metadata –Instrument.NameInstrument name (identifier) –Instrument.Exposure Total exposure time (seconds) –Instrument. Service-defined Notes –Optional; provided for instrumental data collections –In general, Collection, Bounds.Time, etc. are preferred –In general Instrument metadata is service-defined –Use Observation model as a starting point

NVO Summer School, Aspen 9-Sep Query Response Access Metadata –Access.ReferenceData access URL –Access.Format MIME type of returned dataset –Access.Size Approximate dataset size (bytes) –Access.Server Server endpoint URL Staging support goes here in the future –e.g., will dataset access require asynchronous staging –estimated cost to construct dataset

NVO Summer School, Aspen 9-Sep Service Metadata Usage –Describe service type and capabilities –Characterize service (data resources served, coverage, etc.) –Describe interface (optional query parameters) Interface –Requires new service metadata query method –Returns resource metadata descriptor (XML) Format –Registry resource descriptor (XML)

NVO Summer School, Aspen 9-Sep Data Retrieval Based on GET as with SIA –Variety of formats available –Compression supported Data representation –Data model defines logical content of data –The same data object may be represented in various formats –Hence we need to specify both the data model, and the file format

NVO Summer School, Aspen 9-Sep Data Retrieval Data models –SSA data model for fully-compliant data –Provider-defined data model for external data Data formats –VOTable (a container), native XML (direct serialization) –FITS binary table (another container; uses FITS spectral WCS) –Text, e.g., CSV –Graphics (JPEG etc.) –text/html (rendered into browser page)