20
AstroGrid: Virtual AstroGrid: Virtual Observatory Service Observatory Service Nicholas Walton Nicholas Walton AstroGrid and Euro-VO Technology Centre Project Scientist (Institute of Astronomy, University of Cambridge)

AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Embed Size (px)

Citation preview

Page 1: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

AstroGrid: Virtual AstroGrid: Virtual Observatory ServiceObservatory Service

Nicholas WaltonNicholas WaltonAstroGrid and Euro-VO Technology Centre

Project Scientist (Institute of Astronomy,

University of Cambridge)

Page 2: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p2 Printed: 31/01/07

OutlineOutline

Online Demo of AG system Practical Session Discussion Session

the good the bad suggestions and lessons learned

Page 3: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p3 Printed: 31/01/07

http://www.astrogird.org/launch

AstroGrid 2006.3 Release: Aug 2006AstroGrid 2006.3 Release: Aug 2006

Page 4: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p4 Printed: 31/01/07

Image Discovery with AstroScopeImage 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

Page 5: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p5 Printed: 31/01/07

Catalogue AccessCatalogue Access Catalogue data available both as FITS

tables on a per pointing basis In release – unified object catalogues

List of tables inthe database

Selected tableTable DescriptionTable Columns

Query being built

Dialog to insert selectedcolumns into selectedsection of the query

Page 6: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p6 Printed: 31/01/07

Examples to follow:Examples to follow:

http://www2.astrogrid.org/science/data-access http://www2.astrogrid.org/science/data-access/data-access-worksheet http://www2.astrogrid.org/science/science-examples-stars/iphas-catalogue-image

s/

Page 7: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p7 Printed: 31/01/07

Python ScriptingPython Scripting

Command line access to Astrogrid Utilises python Slides: Eduardo Gonzalez Gonzales

AstroGrid science team [email protected]

Page 8: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p8 Printed: 31/01/07

What is Python?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

Page 9: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p9 Printed: 31/01/07

What is Python?What is Python?

Page 10: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p10 Printed: 31/01/07

CapabilitiesCapabilities

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

Page 11: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p11 Printed: 31/01/07

Connecting to the ACR serverConnecting to the ACR server

This can be added into a module astrogrid.py and imported from other scripts.

Page 12: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p12 Printed: 31/01/07

Getting helpGetting help

Page 13: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p13 Printed: 31/01/07

Getting helpGetting help

Page 14: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p14 Printed: 31/01/07

Getting helpGetting help

Page 15: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p15 Printed: 31/01/07

Querying the registryQuerying the registry

Page 16: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p16 Printed: 31/01/07

Querying the registryQuerying the registry

Page 17: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p17 Printed: 31/01/07

Running an applicationRunning an application

Page 18: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p18 Printed: 31/01/07

More ExamplesMore Examples

Save to / load from MySpace List MySpace contents Return status of submitted jobs

See more examples in:http://wiki.astrogrid.org/pub/Astrogrid/AcrRecipes/examples.zip

Page 19: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p19 Printed: 31/01/07

Suggested Python ExercisesSuggested 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

Page 20: AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid: Virtual Observatory Service Nicholas Walton AstroGrid and Euro-VO Technology Centre Project

Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p20 Printed: 31/01/07

Suggested Python ExercisesSuggested 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