World Wide Telescope mining the Sky using Web Services Information At Your Fingertips for astronomers Jim Gray Microsoft Research Alex Szalay Johns Hopkins.

Slides:



Advertisements
Similar presentations
Microsoft Research Microsoft Research Jim Gray Distinguished Engineer Microsoft Research San Francisco SKYSERVER.
Advertisements

The World Wide Telescope – a Digital Library Prototype Jim Gray, Microsoft Research Alex Szalay, Johns Hopkins University Talk at Dublin, OH, 17.
Trying to Use Databases for Science Jim Gray Microsoft Research
Online Science -- The World-Wide Telescope Archetype
OSIsoft Talk May Real Web Services Jim Gray Microsoft Research 455 Market St, SF, CA, 94105
Building Petabyte Databases SQL+.Net
1 Store Everything Online In A Database Jim Gray Microsoft Research
Web Services for the Virtual Observatory Alex Szalay, Tamas Budavari, Tanu Malik, Jim Gray, and Ani Thakar SPIE, Hawaii, 2002 (Living in an exponential.
1 Online Science the New Computational Science Jim Gray Microsoft Research Alex Szalay Johns Hopkins.
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research Talk at
1 Experience Building The World Wide Telescope aka: The Virtual Observatory Jim Gray Alex Szalay.
1 Online Science -- The World-Wide Telescope as an Archetype Jim Gray Microsoft Research Collaborating with: Alex Szalay, Peter Kunszt, Ani
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
Global Hands-On Universe meeting July 15, 2007 Authentic Data in the Classroom with the Sloan Digital Sky Survey Jordan Raddick (Johns Hopkins University)
John Cunniffe Dunsink Observatory Dublin Institute for Advanced Studies Evert Meurs (Dunsink Observatory) Aaron Golden (NUI Galway) Aus VO 18/11/03 Efficient.
Astronomy Data Bases Jim Gray Microsoft Research.
Grid Astronomy with Image Federation Roy Williams Michael Feldmann California Institute of Technology.
Scientific Collaborations in a Data-Centric World Alex Szalay The Johns Hopkins University.
Tuesday, June 10, 2003 Web Services Brief Overview & Security Assertion Coordinator Pattern by Mohammad Abushadi & Riaz Ahmed for Security Group CSE -
Development of China-VO ZHAO Yongheng NAOC, Beijing Nov
1 Understanding Web Services Presented By: Woodas Lai.
How special are brightest group and cluster galaxies? Anja von der Linden et al., 2007, MNRAS, 379, 867 On the prevalence of radio-loud active galactic.
Desperately Trying to Cope with the Data Explosion in Astronomical Sciences Ray Norris CSIRO Australia Telescope National Facility.
Virtual Observatory & Grid Technique ZHAO Yongheng (National Astronomical Observatories of China) CANS2002.
1 Online Science The World-Wide Telescope Jim Gray Microsoft Research Collaborating with: Alex Szalay, Tamas Budavari, Tanu Malik Ani JHU George.
20 Spatial Queries for an Astronomer's Bench (mark) María Nieto-Santisteban 1 Tobias Scholl 2 Alexander Szalay 1 Alfons Kemper 2 1. The Johns Hopkins University,
A Web service for Distributed Covariance Computation on Astronomy Catalogs Presented by Haimonti Dutta CMSC 691D.
The aims of SC4DEVO and SC4DEVO-1 Bob Mann Institute for Astronomy and National e-Science Centre, University of Edinburgh.
Teaching Science with Sloan Digital Sky Survey Data GriPhyN/iVDGL Education and Outreach meeting March 1, 2002 Jordan Raddick The Johns Hopkins University.
Requirements from astronomy in the Virtual Observatory era Bob Mann Institute for Astronomy & NeSC University of Edinburgh.
eScience -- A Transformed Scientific Method"
1 Where The Rubber Meets the Sky Giving Access to Science Data Jim Gray Microsoft Research Alex.
Introduction to Sky Survey Problems Bob Mann. Introduction to sky survey database problems Astronomical data Astronomical databases –The Virtual Observatory.
Supported by the National Science Foundation’s Information Technology Research Program under Cooperative Agreement AST with The Johns Hopkins University.
Alex Szalay, Jim Gray Analyzing Large Data Sets in Astronomy.
Radio Galaxies and Quasars Powerful natural radio transmitters associated with Giant elliptical galaxies Demo.
1 The World Wide Telescope an Archetype for Online-Science Jim Gray (Microsoft) Alex Szalay (Johns Hopkins University) Microsoft Academic Days in Silicon.
Public Access to Large Astronomical Datasets Alex Szalay, Johns Hopkins Jim Gray, Microsoft Research.
The Data Avalanche Jim Gray Microsoft Research Talk at HP Labs/MSR: Research Day July 2004.
Science In An Exponential World Alexander Szalay, JHU Jim Gray, Microsoft Reserach Alexander Szalay, JHU Jim Gray, Microsoft Reserach.
Source: Alex Szalay. Example: Sloan Digital Sky Survey The SDSS telescope array is systematically mapping ¼ of the entire sky Discoveries are made by.
Federation and Fusion of astronomical information Daniel Egret & Françoise Genova, CDS, Strasbourg Standards and tools for the Virtual Observatories.
Wiss. Beirat AIP, ClusterFinder & VO-Methods H. Enke German Astrophysical Virtual Observatory ClusterFinder VO Methods for Astronomical Applications.
1 Online Science The World-Wide Telescope Jim Gray Microsoft Research Collaborating with: Alex Szalay, Tamas Budavari, Tanu Malik Ani JHU George.
The Sloan Digital Sky Survey ImgCutout: The universe at your fingertips Maria A. Nieto-Santisteban Johns Hopkins University
NVO Review -- San Diego Jan The VO compared to Other O‘s Jim Gray Microsoft T HE US N ATIONAL V IRTUAL O BSERVATORY.
SkyServer: Public Access to the Sloan Digital Sky Survey Alex Szalay, Jim Gray, Ani Thakar, Peter Kunszt, Tanu Malik, Tamas Budavari, Jordan Raddick, Chris.
Sky Survey Database Design National e-Science Centre Edinburgh 8 April 2003.
The International Virtual Observatory Alliance (IVOA) interoperability in action.
Real Web Services Jim Gray Microsoft Research 455 Market St, SF, CA, Talk at Charles Schwab.
German Astrophysical Virtual Observatory Overview and Results So Far W. Voges, G. Lemson, H.-M. Adorf.
Grids 2003 The Great Academia/Industry Grid Debate Dan Fay | Microsoft Research Grid, grid, everywhere a Grid Blocking out the scenery, breaking my mind.
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
Microsoft “information at your fingertips” for scientists Collaborating with Scientists to build better ways to organize, analyze, and understand.
1 Where The Rubber Meets the Sky Giving Access to Science Data Jim Gray Microsoft Research Alex.
An Automated Classification Algorithm for Multi-wavelength Data Yanxia Zhang, Ali Luo,Yongheng Zhao National Astronomical Observatories, China ,
Microsoft Research San Francisco (aka BARC: bay area research center) Jim Gray Researcher Microsoft Research Scalable servers Scalable servers Collaboration.
Online Science -- The World-Wide Telescope Archetype
Moving towards the Virtual Observatory Paolo Padovani, ST-ECF/ESO
Mining the Sky The World-Wide Telescope
Online Science -- The World-Wide Telescope as an Archetype
Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
Planning Observations
Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
Rick, the SkyServer is a website we built to make it easy for professional and armature astronomers to access the terabytes of data gathered by the Sloan.
Jim Gray Researcher Microsoft Research
Jim Gray Microsoft Research
Google Sky.
Presentation transcript:

World Wide Telescope mining the Sky using Web Services Information At Your Fingertips for astronomers Jim Gray Microsoft Research Alex Szalay Johns Hopkins University

How to build the World Wide Telescope? Web Services & Grid Enable Virtual Observatory The Internet will be the worlds best telescope: –It has data on every part of the sky –In every measured spectral band: optical, x-ray, radio.. –As deep as the best instruments (2 years ago). –It is up when you are up. The seeing is always great (no working at night, no clouds no moons no..). –Its a smart telescope : links objects and data to literature on them. W3C & IETF standards Provide –Naming –Authorization / Security / Privacy –Distributed Objects Discovery, Definition, Invocation, Object Model –Higher level services: workflow, transactions, DB,.. A great test bed for.NET ideas

Steps to World Wide Telescope Define a set of Astronomy Objects and methods. –Based on UDDI, WSDL, XSL, SOAP, dataSet Use them locally to debug ideas –Schema, Units,… –Dataset problems –Typical use scenarios. Federate different archives –Each archive is a web service –Global query tool accesses them Working on this with –Sloan Digital Sky Survey and CalTech/Palomar. Especially Alex Szalay et. al. at JHU

Why Astronomy Data? It has no commercial value –No privacy concerns –Can freely share results with others –Great for experimenting with algorithms It is real and well documented –High-dimensional data (with confidence intervals) –Spatial data –Temporal data Many different instruments from Many different places and Many different times Federation is a goal The questions are interesting –How did the universe form? There is a lot of it (petabytes) IRAS 100 ROSAT ~keV DSS Optical 2MASS 2 IRAS 25 NVSS 20cm WENSS 92cm GB 6cm

Step1 Putting SDSS online Scenario Design Astronomers proposed 20 questions –Typical of things they want to do –Each would require a week of programming in tcl / C++/ FTP Goal, make it easy to answer questions DB and tools design motivated by this goal –Implemented utility procedures –JHU Built GUI for Linux clients Q11: Find all elliptical galaxies with spectra that have an anomalous emission line. Q12: Create a grided count of galaxies with u-g>1 and r<21.5 over 60<declination<70, and 200<right ascension<210, on a grid of 2, and create a map of masks over the same grid. Q13: Create a count of galaxies for each of the HTM triangles which satisfy a certain color cut, like 0.7u-0.5g-0.2i<1.25 && r<21.75, output it in a form adequate for visualization. Q14: Find stars with multiple measurements and have magnitude variations >0.1. Scan for stars that have a secondary object (observed at a different time) and compare their magnitudes. Q15: Provide a list of moving objects consistent with an asteroid. Q16: Find all objects similar to the colors of a quasar at 5.5<redshift<6.5. Q17: Find binary stars where at least one of them has the colors of a white dwarf. Q18: Find all objects within 30 arcseconds of one another that have very similar colors: that is where the color ratios u-g, g-r, r-I are less than 0.05m. Q19: Find quasars with a broad absorption line in their spectra and at least one galaxy within 10 arcseconds. Return both the quasars and the galaxies. Q20: For each galaxy in the BCG data set (brightest color galaxy), in 160<right ascension<170, -25<declination<35 count of galaxies within 30"of it that have a photoz within 0.05 of that galaxy. Q1: Find all galaxies without unsaturated pixels within 1' of a given point of ra=75.327, dec= Q2: Find all galaxies with blue surface brightness between and 23 and 25 mag per square arcseconds, and -10<super galactic latitude (sgb) <10, and declination less than zero. Q3: Find all galaxies brighter than magnitude 22, where the local extinction is >0.75. Q4: Find galaxies with an isophotal surface brightness (SB) larger than 24 in the red band, with an ellipticity>0.5, and with the major axis of the ellipse having a declination of between 30 and 60arc seconds. Q5: Find all galaxies with a deVaucouleours profile (r ¼ falloff of intensity on disk) and the photometric colors consistent with an elliptical galaxy. The deVaucouleours profile Q6: Find galaxies that are blended with a star, output the deblended galaxy magnitudes. Q7: Provide a list of star-like objects that are 1% rare. Q8: Find all objects with unclassified spectra. Q9: Find quasars with a line width >2000 km/s and 2.5<redshift<2.7. Q10: Find galaxies with spectra that have an equivalent width in Ha >40Å (Ha is the main hydrogen spectral line.)

Two kinds of SDSS data in an SQL DB (objects and images all in DB) 15M Photo Objects ~ 400 attributes 50K Spectra with ~30 lines/ spectrum

Spatial Data Access – SQL extension (Szalay, Kunszt, Brunner) Added Hierarchical Triangular Mesh (HTM) table-valued function for spatial joins. Every object has a 20-deep Mesh ID. Given a spatial definition: Routine returns up to ~10 covering triangles. Spatial query is then up to ~10 range queries. Very fast: 10,000 triangles / second / cpu. Based onSQL Server Extended Stored Procedure 2

Find near earth asteroids: Finds 3 objects in 11 minutes –(or 52 seconds with an index) Ugly, but consider the alternatives (c programs an files and…) – Q15: Fast Moving Objects SELECT r.objID as rId, g.objId as gId, dbo.fGetUrlEq(g.ra, g.dec) as url FROM PhotoObj r, PhotoObj g WHERE r.run = g.run and r.camcol=g.camcol and abs(g.field-r.field)<2 -- nearby -- the red selection criteria and ((power(r.q_r,2) + power(r.u_r,2)) > ) and r.fiberMag_r between 6 and 22 and r.fiberMag_r < r.fiberMag_g and r.fiberMag_r < r.fiberMag_i and r.parentID=0 and r.fiberMag_r < r.fiberMag_u and r.fiberMag_r < r.fiberMag_z and r.isoA_r/r.isoB_r > 1.5 and r.isoA_r> the green selection criteria and ((power(g.q_g,2) + power(g.u_g,2)) > ) and g.fiberMag_g between 6 and 22 and g.fiberMag_g < g.fiberMag_r and g.fiberMag_g < g.fiberMag_i and g.fiberMag_g < g.fiberMag_u and g.fiberMag_g < g.fiberMag_z and g.parentID=0 and g.isoA_g/g.isoB_g > 1.5 and g.isoA_g > the matchup of the pair and sqrt(power(r.cx -g.cx,2)+ power(r.cy-g.cy,2)+power(r.cz-g.cz,2))*(10800/PI())< 4.0 and abs(r.fiberMag_r-g.fiberMag_g)< 2.0

Demo

Performance (on current SDSS data) Run times: on 15k$ COMPAQ Server (2 cpu, 1 GB, 8 disk) Some take 10 minutes Some take 1 minute Median ~ 22 sec. Ghz processors are fast! –(10 mips/IO, 200 ins/byte) –2.5 m rec/s/cpu ~1,000 IO/cpu sec ~ 64 MB IO/cpu sec

Sequential Scan Speed is Important In high-dimension data, best way is to search. Sequential scan covering index is 10x faster –Seconds vs minutes SQL scans at 2M records/s/cpu (!)

yea r decade week day month Cosmo: 64-bit SQL Server & Windows Computing the Cosmological Constant Compares simulated & observed galaxy distribution Measure distance between each pair of galaxies A lot of work (10 8 x 10 8 = steps) Good algorithms make this ~Nlog 2 N Needs LARGE main memory Using Itanium donated by Compaq 64-bit Windows & SQL server (Alex Szalay, Adrian JHU).

Where We Are Today One Astronomy Archive Web Service works Federating 3 Web Services (JHU, Cal Tech, Space Telescope) WWT is a great.Net application –Federating heterogeneous data sources. –Cooperating organizations –An Information At Your Fingertips challenge. SDSS DB is a data mining challenge: get your personal copy at Papers about this at: – – (see paragraph 1) DB available for experiments

Sloan Digital Sky Survey For the last 12 years astronomers have been building a telescope (with funding from Sloan Foundation, NSF, and a dozen universities). 90M$. Y2000: engineer, calibrate, commission: now public data. –5% of the survey, 600 sq degrees, 15 M objects 60GB, ½ TB raw. –This data includes most of the known high z quasars. –It has a lot of science left in it but…. New the data is arriving: –250GB/nite (20 nights per year) = 5TB/y. –100 M stars, 100 M galaxies, 1 M spectra.

What we learned from the 20 Queries All have fairly short SQL programs -- a substantial advance over (tcl, C++) Many are sequential one-pass and two-pass over data Covering indices make scans run fast Table valued functions are wonderful but limitations are painful. Counting, Binning, Histograms VERY common Spatial indices helpful, Materialized view (Neighbors) helpful.

An easy one Q7: Find rare star-like objects. Found 14,681 buckets, first 140 buckets have 99% time 62 seconds CPU bound 226 k records/second (2 cpu) 250 KB/s. Selectcast((u-g) as int) as ug, cast((g-r) as int) as gr, cast((r-i) as int) as ri, cast((i-z) as int) as iz, count(*) as Population from stars group bycast((u-g) as int), cast((g-r) as int), cast((r-i) as int), cast((i-z) as int) order by count(*)

An Easy One Q15: Find asteroids Sounds hard but there are 5 pictures of the object at 5 different times (color filters) and so can see velocity. Image pipeline computes velocity. Computing it from the 5 color x,y would also be fast Finds 1,303 objects in 3 minutes, 140MBps. (could go 2x faster with more disks) selectobjId, dbo.fGetUrlEq(ra,dec) as url --return object ID & url sqrt(power(rowv,2)+power(colv,2)) as velocity fromphotoObj -- check each object. where (power(rowv,2) + power(colv, 2)) -- square of velocity between 50 and huge values =error