AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project Scientist (Institute of Astronomy, University of Cambridge)
Nicholas Walton: Groningen: Jan 26, 2007 p2 Printed: 31/01/07 Outline Online Demo of AG system Practical Session Discussion Session the good the bad suggestions and lessons learned
Nicholas Walton: Groningen: Jan 26, 2007 p3 Printed: 31/01/07 AstroGrid Release: Aug 2006
Nicholas Walton: Groningen: Jan 26, 2007 p4 Printed: 31/01/07 Image Discovery with AstroScope Workbench AstroScope Heliscope for solar Search on a position RA, Dec Object Name Investigate and explore data sources images:Aladin catalogues:TopCat spectra:Splat, VOSpec Try: Arp 220
Nicholas Walton: Groningen: Jan 26, 2007 p5 Printed: 31/01/07 Catalogue Access Catalogue data available both as FITS tables on a per pointing basis In release – unified object catalogues List of tables in the database Selected table Table Description Table Columns Query being built Dialog to insert selected columns into selected section of the query
Nicholas Walton: Groningen: Jan 26, 2007 p6 Printed: 31/01/07 Examples to follow: images/ images/
Nicholas Walton: Groningen: Jan 26, 2007 p7 Printed: 31/01/07 Python Scripting Command line access to Astrogrid Utilises python Slides: Eduardo Gonzalez Gonzales AstroGrid science team
Nicholas Walton: Groningen: Jan 26, 2007 p8 Printed: 31/01/07 What is Python? Programming language: interpreted, object oriented, high- level, dynamic semantics Simple, easy to learn, read, use Short code (compared to e.g. C/Java) Extensible in C/C++/Fortran/Java/anyother Extremely portable (PalmOS, WindowsCE, OS/2, PlayStation, BeOS, VMS,...) PRODUCTIVITY
Nicholas Walton: Groningen: Jan 26, 2007 p9 Printed: 31/01/07 What is Python?
Nicholas Walton: Groningen: Jan 26, 2007 p10 Printed: 31/01/07 Capabilities MySpace read, write, list, delete Registry query, xquery, resolve CEA & JES: query, execute, monitor SIAP, SSAP, SkyQuery PLASTIC Simbad resolver, Vizier, NED Control workbench UI from command line
Nicholas Walton: Groningen: Jan 26, 2007 p11 Printed: 31/01/07 Connecting to the ACR server This can be added into a module astrogrid.py and imported from other scripts.
Nicholas Walton: Groningen: Jan 26, 2007 p12 Printed: 31/01/07 Getting help
Nicholas Walton: Groningen: Jan 26, 2007 p13 Printed: 31/01/07 Getting help
Nicholas Walton: Groningen: Jan 26, 2007 p14 Printed: 31/01/07 Getting help
Nicholas Walton: Groningen: Jan 26, 2007 p15 Printed: 31/01/07 Querying the registry
Nicholas Walton: Groningen: Jan 26, 2007 p16 Printed: 31/01/07 Querying the registry
Nicholas Walton: Groningen: Jan 26, 2007 p17 Printed: 31/01/07 Running an application
Nicholas Walton: Groningen: Jan 26, 2007 p18 Printed: 31/01/07 More Examples Save to / load from MySpace List MySpace contents Return status of submitted jobs See more examples in:
Nicholas Walton: Groningen: Jan 26, 2007 p19 Printed: 31/01/07 Suggested Python Exercises Given an input list of coordinates (or object names): Search selected services (SDSS,...) for images, retrieve results and images to MySpace. Search for catalogues (SDSS, 2MASS,...) and query them returning results to MySpace Run SExtractor on images, cross match catalogues
Nicholas Walton: Groningen: Jan 26, 2007 p20 Printed: 31/01/07 Suggested Python Exercises Backup contents of MySpace to local disk Batch upload directory contents to MySpace List submitted jobs, delete those canceled or terminated in error Send a VOTable to TOPCAT using PLASTIC