An International Virtual Observatory data exchange format VOTable Roy Williams François Ochsenbein Clive Davenhall Daniel Durand Pierre Fernique David.

Slides:



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

IVOA, Pune India September Data Access Layer Working Group Pune Workshop Summary Doug Tody National Radio Astronomy Observatory International.
VOTable 2005 Applications. Agenda Description of some applications Description of some applications Nilesh UrunkarAbout C++ Parser and CONVOT Nilesh UrunkarAbout.
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.
VO Standards and Protocols XML VOTable UCD ConeSearch Roy Williams California Institute of Technology NVO co-director.
Requirements. UC&R: Phase Compliance model –RIF must define a compliance model that will identify required/optional features Default.
Introduction to the BinX Library eDIKT project team Ted Wen Robert Carroll
Data Format Description Language (DFDL) WG Martin Westhead EPCC, University of Edinburgh Alan Chappell PNNL
Datatypes for OGSA Dr Martin Westhead Principal Consultant, EPCC Telephone: Fax:
STRING AN EXAMPLE OF REFERENCE DATA TYPE. 2 Primitive Data Types  The eight Java primitive data types are:  byte  short  int  long  float  double.
Sue Wills July Objects The JavaScript language is completely centered around objects, and because of this, it is known as an Object Oriented Programming.
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
E-Science Data Information and Knowledge Transformation The BinX Language.
The Future of NetCDF Russ Rew UCAR Unidata Program Center Acknowledgments: John Caron, Ed Hartnett, NASA’s Earth Science Technology Office, National Science.
XML Parsing Using Java APIs AIP Independence project Fall 2010.
Representing Data Elements Gayatri Gopalakrishnan.
1 CMSC 132: Object-Oriented Programming II Java Constructs Department of Computer Science University of Maryland, College Park.
BinX and Astronomy Bob Mann Institute for Astronomy and National e-Science Centre.
HDF 1 NCSA HDF XML Activities Robert E. McGrath Mike Folk National Center for Supercomputing Applications.
Robert Fourer, Jun Ma, Kipp Martin Optimization Services Instance Language (OSiL), Solvers, and Modeling Languages Kipp Martin University of Chicago
Data Formats CMSC 491 Hadoop-Based Distributed Computing Spring 2015 Adam Shook.
Avro Apache Course: Distributed class Student ID: AM Name: Azzaya Galbazar
VOTable: Tabular Data for Virtual Observatory François Ochsenbein Roy Williams Clive Davenhall, Daniel Durand, Pierre Fernique, Robert Hanisch, David Giaretta,
S. Derriere et al., ESSW03 Budapest, 2003 May 20 UCDs - metadata for astronomy Sébastien Derriere François Ochsenbein Thomas Boch CDS, Observatoire astronomique.
12-Oct-03ADASS VO Tutorial 1 VOTable Format, I/O Libraries & Tools Participants- Francois Ochsenbein (CDS, Strasbourg) Mark Taylor (Starlink, UK) Pallavi.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
3D Spectroscopy in the Virtual Observatory: Current Status Igor Chilingarian (Observatoire de Paris, France/SAI MSU, Russia) Ivan Zolotukhin (SAI MSU,
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.
SAX Parsing Presented by Clifford Lemoine CSC 436 Compiler Design.
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
AVO Status June 2002 Status M. Dolensky. AVO Status June 2002 WA0 - European Initiatives Enabling a Virtual Observatory for Europe EVOE –Submitted expression.
Web Services for Satellite Emulation Development Kathy J. LiszkaAllen P. Holtz The University of AkronNASA Glenn Research Center.
The netCDF-4 data model and format Russ Rew, UCAR Unidata NetCDF Workshop 25 October 2012.
 JAVA Compilation and Interpretation  JAVA Platform Independence  Building First JAVA Program  Escapes Sequences  Display text with printf  Data.
Data Structure & File Systems Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
Data types  CHAR (size): This data type is used to store character strings values of fixed length. The size in brackets determines the number of characters.
WIRED Detector Description in XML Mark Dönszelmann, Applications for Physics and Infrastructure, IT, CERN XML Detector Description Workshop CERN, 14 April,
SAX2 and DOM2 Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
XML and SAX (A quick overview) ● What is XML? ● What are SAX and DOM? ● Using SAX.
Starlink VOTable software Author: Mark Taylor Open source Java software for table manipulation STIL:
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
When we create.rtf document apart from saving the actual info the tool saves additional info like start of a paragraph, bold, size of the font.. Etc. This.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
PQDIF PQDIF: A Technical Overview Prepared by: Erich Gunther, Bill Dabbs, and Rob Scott Electrotek Concepts, Inc. NEW! IMPROVED!
Martin Kruliš by Martin Kruliš (v1.1)1.
E-Science Data Information and Knowledge Transformation BinX – A Tool for Binary File Access eDIKT project team Ted Wen
VOTable agenda Current VOTable status Current VOTable status News from Applications News from Applications Questions about VOTable schema Questions about.
 Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. 
© Roy Williams 2002 The Uphill Battle of Semantic Interoperability Roy Williams California Institute of Technology.
The HDF Group Introduction to HDF5 Session Two Data Model Comparison HDF5 File Format 1 Copyright © 2010 The HDF Group. All Rights Reserved.
Apache Avro CMSC 491 Hadoop-Based Distributed Computing Spring 2016 Adam Shook.
Unidata Infrastructure for Data Services Russ Rew GO-ESSP Workshop, LLNL
NetCDF Data Model Details Russ Rew, UCAR Unidata NetCDF 2009 Workshop
Scalar and composite data Programming Language Design and Implementation (4th Edition) by T. Pratt and M. Zelkowitz Prentice Hall, 2001 Section
XML Parsers Overview Types of parsers Using XML parsers SAX DOM
JavaIOC Overview and Update
XML Schema for WIRED XML Detector Description Workshop
XML QUESTIONS AND ANSWERS
Accomplishments RSM v0.7 First draft XML Schema completed: VOResource.xsd NVO: Working prototype resource using VOResource as format for metadata exchange.
What is FITS? FITS = Flexible Image Transport System
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
CHAPTER 9 JAVA AND XML.
XML Parsers Overview Types of parsers Using XML parsers SAX DOM
Chapter 9 Web Services: JAX-RPC, WSDL, XML Schema, and SOAP
XML Problems and Solutions
Data Model.
Introduction to Data Structure
OPeNDAP/Hyrax Interfaces
Presentation transcript:

an International Virtual Observatory data exchange format VOTable Roy Williams François Ochsenbein Clive Davenhall Daniel Durand Pierre Fernique David Giaretta Robert Hanisch Tom McGlynn Alex Szalay Andreas Wicenec

XML: Structured Information Antonio Stadivarius Domenico Scarlatti Io bisogno una appartamento acoglienti a Cremona … 4/13/23 April 13, iv.1723 Separation of structure from presentation The computer can read the document: Find all memos from April 1723

VOTable Full metadata representation Hierarchy of RESOURCEs containing PARAMs and TABLEs UCD (unified content descriptor) –a has unit meter –a has UCD ORBIT_SIZE_SMAJ (Semi-major axis of the orbit ) Can reference remote and/or binary streams Table can be –Pure XML –"Simple Binary" –FITS Binary Table

VOTable Parentage Astrores XML format for tables Developed at CDS Strasbourg Presented at ADASS 1999 Vizier implementation XSIL XML format for Tables and Arrays Developed at LIGO Caltech 2000 Extensible through Type-Class dynamic loading Java parsing, browsing, editing Matlab interface

Sample VOTable This parameter is designed to store the observer's name Some bright stars <FIELD name="RA" ucd="POS_EQ_RA" ref="myJ2000" unit="deg" datatype="float" precision="F3" width="7"/> <FIELD name="Dec" ucd="POS_EQ_DEC" ref="myJ2000" unit="deg" datatype="float" precision="F3" width="7"/> Procyon Vega <STREAM href="ftp://server.com/mydata.fits" expires=" " actuate="onRequest"/>

Table Cell scalar arrays variable length arrays etc boolean bit unsignedByte short int long char unicodeChar float double floatComplex doubleComplex Primitives

VOTable is Flexy eg Table of images UCD="JPEG_IMAGE" datatype="unsignedByte" arraysize="*" eg Table of URL links UCD=DATA_LINK" datatype="char" arraysize="*"

VOTable Schema (xsd)

Table Data Model Metadata Class definition for Row FIELD –data type –semantic type Data Each Row is a list of Cells Each Cell is an array of Primitives –may be variable length

Table Data Layout All metadata first –small, complex, XML Class definition for table record + params, description, etc etc Then data –(may be) large, remote –XML | binary | FITS Instantiations of table record All records MUST have same format

Param Data Model Param is Table with one cell Like a FIELD value But with a value attribute

Primitives All have fixed binary length Same as FITS primitives Except Unicode datatype Meaning FIT S Bytes "boolean"Logical"L""L"1 "bit"Bit"X""X"* "unsignedByte"Byte (0 to 255)"B""B"1 "short"Short Integer"I""I"2 "int"Integer"J""J"4 "long"Long integer"K""K"8 "char"ASCII Character"A""A"1 "unicodeChar"Unicode Character 2 "float"Floating point"E""E"4 "double"Double"D""D"8 "floatComplex"Float Complex"C""C"8 "doubleComplex"Double Complex"M""M"16

Multidimensional Array Cell A table cell can have lots of Primitives Example: WCS parameters are arrays – Example: up to 10 images, each 64x64 –

Hierarchy A VOTable contains RESOURCES –RESOURCE can contain: TABLE RESOURCE etc Usage example Many observations in the file, –each is a RESOURCE Each observation is –Parameters –Calibration table –Raw data table

Hierarchy New feature: GROUP

Unified Content Descriptors UCD is a semantic type PHOT.INT-MAG.B Integrated total blue magnitude ORBIT.ECCENTRICITYOrbital eccentricity STAT.MEDIANStatistics Median Value INST.QEDetector's Quantum Efficiency Can be resolved by web service –to description, examples, etc Base + Specifiers eg error in default right ascension POS.EQ.RA, MAIN, ERROR

VOTable Friends XMLBinary Streaming TableDatacubeSemantics VOTable BinX MS Dataset HDF XDF Some self-describing file formats

XML Parsing SAX : Event-Based Handlers for StartElement, Text, EndElement, etc. Found element BookCatalogue Found element Book Found Element Title Found Text The Cambridge Star Atlas Found End Element Title ….

Parsing DOM : Document Object Model Returns a tree-like Document object with data attached BookCatalogue Book Title ISBNParallel Computing Works! Cambridge Star Atlas Title Author Wil Tirion

Binding to make a Parser for(int i=0; i<table.getFieldCount(); i++){ Field field = (Field)table.getFieldAt(i); String u = field.getUcd(); if(u != null && u.equals("POS_EQ_RA_MAIN")) System.out.println("Field " + i + " is for RA"); } From the Schema an API and library is generated JAXB Breeze Castor This is JAVOT (Caltech)

VOTable Software Treeview from UK-VO

VOTable Software VOPlot from India-VO

VOTable Software VOTool from US-VO

VOTable software Mirage from Bell Labs