Upload
daniela-paul
View
233
Download
0
Tags:
Embed Size (px)
Citation preview
AstroGrid: Virtual AstroGrid: Virtual Observatory ServiceObservatory Service
Nicholas WaltonNicholas WaltonAstroGrid and Euro-VO Technology Centre
Project Scientist (Institute of Astronomy,
University of Cambridge)
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
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
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
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
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/
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]
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
Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p9 Printed: 31/01/07
What is Python?What is Python?
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
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.
Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p12 Printed: 31/01/07
Getting helpGetting help
Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p13 Printed: 31/01/07
Getting helpGetting help
Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p14 Printed: 31/01/07
Getting helpGetting help
Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p15 Printed: 31/01/07
Querying the registryQuerying the registry
Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p16 Printed: 31/01/07
Querying the registryQuerying the registry
Nicholas Walton: AstroGrid @ Groningen: Jan 26, 2007 p17 Printed: 31/01/07
Running an applicationRunning an application
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
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
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