XMM-Newton and ISO cases

Download Report

Transcript XMM-Newton and ISO cases

How to adapt existing archives to SIAP:
XMM-Newton and ISO cases
Pedro Osuna ([email protected])
Villafranca del Castillo, Madrid, Spain
IVOA Tutorial Strasbourg 2003 1
Pedro OSUNA
Science Operations & Data Systems Division
Research & Scientific Support Department
Presentation Overview
Already existing links: External Archives to XMM-Newton/ISO
Pre-AIO architecture
VO-AIO Architecture
VO-AIO Implementation
Translation Layers
Conclusions
IVOA Tutorial Strasbourg 2003 2
Pedro OSUNA
Science Operations & Data Systems Division
Research & Scientific Support Department
ISO Postcard Server
From IRSA
From CDS/VizieR
From ADS
From HEASARC
IVOA Tutorial Strasbourg 2003 3
ISO Postcard Server
Science Operations & Data Systems Division
Pedro OSUNA
Research & Scientific Support Department
XMM-Newton Postcard and Product Servers
Postcard Server
Product Server
IVOA Tutorial Strasbourg 2003 4
Pedro OSUNA
Science Operations & Data Systems Division
Research & Scientific Support Department
Pre-AIO Architecture
Project Specific
Business logic / Middle-Tier
Client
Postcard
Handler
Meta Data
in Database
Client
Product
Handler
Client
Other
Services
Data Products
on hard disks
Project
Client
IVOA Tutorial Strasbourg 2003 5
Pedro OSUNA
Science Operations & Data Systems Division
Research & Scientific Support Department
VO-AIO Architecture
SIAP Image
Request
Project Request
VOTable
Result
Product
Client 1
t=t3
Project Result
AIO System
Client 1
t=t2
SIAP Product
Request
Project Request
Project Result
ucdToDb.xml
IVOA Tutorial Strasbourg 2003 6
Translation
Layer
Pedro OSUNA
Database Request
Project Business Logic
Client 1
t=t1
Translation
Layer
Database Result
Meta Data
in Database
Product
Info
Product
Request
Product Request
Product
Data Products
on hard disks
siapController.xml
Science Operations & Data Systems Division
Research & Scientific Support Department
VO-AIO Implementation
Translation
Layer
Translation
Layer
Tomcat server
aio
Siap.jsp
SiapHandler.java
Product.jsp
ProductHandler.java
Postcard.jsp
PostcardHandler.java
AIO
System
Project
Business Logic
ucdToDb.xml
IVOA Tutorial Strasbourg 2003 7
Database
Request
Request.java
Pedro OSUNA
siapController.xml
Science Operations & Data Systems Division
Research & Scientific Support Department
Translation Layers
Translation
Layer
Translation
Layer
<?xml version='1.0‘/>
<!DOCTYPE ucdToDb SYSTEM
'ucdToDb.dtd'>
<ucdToDb>
<ucd name="POS_EQ_RA_MAIN"
table="OBS_TABLE“
col="RA_FIELD" />
<ucd name="POS_EQ_DEC_MAIN"
table="OBS_TABLE"
col="DEC_FIELD" />
</ucdToDb>
Bussiness
Logic
ucdToDb.xml
<?xml version="1.0"?>
<!DOCTYPE displayController SYSTEM
"displayController.dtd">
<displayController>
<view name = "Observations">
<field table="OBS_TABLE" column="OBSNO"/>
<field table="OBS_TABLE"
column="TARGET_NAME_FIELD"/>
<field table="OBS_TABLE" column="RA_FIELD"/>
<field table="OBS_TABLE" column="DEC_FIELD"/>
<field table="OBS_TABLE" column="REVNO"/>
<field table="OBS_TABLE" column="UTC_START"/>
<field table="OBS_TABLE" column="UTC_END"/>
<field table="OBS_TABLE" column="DURATION"/>
siapController.xml
<?xml version="1.0"?>
<!DOCTYPE dataBase SYSTEM "dataBase.dtd">
<dataBase>
<table name="OBS_TABLE" dbname="xsadb..observations">
<column name="OBSID_FIELD" dbname="obsid"/>
<column name="OBSNO" dbname="obsno"/>
<column name="RA_FIELD" dbname="ra"/>
<column name="DEC_FIELD" dbname="dec"/>
IVOA Tutorial Strasbourg 2003 8
Pedro OSUNA
DB
Science Operations & Data Systems Division
Research & Scientific Support Department
Conclusion
•You can adapt your existing archive to IVOA-SIAP
and other IVOA protocols (1D Spectrum?,…)
•Easiness depends on archive architecture: threetier architecture is a good approach
•Use Translation Layers: they are worth for
flexibility and adaptability.
•Do not need to force your database to use UCDs
but you ought to translate to them (see Unified
Content Descriptor v2.0 document)
•Jsp/Servlets/Java has proven to be a good suite for
developing this type of application
IVOA Tutorial Strasbourg 2003 9
Pedro OSUNA
Science Operations & Data Systems Division
Research & Scientific Support Department
Demo booth
http://xsa.vilspa.esa.es:8080/aio/jsp/siap.jsp?POS=0.7,41.2
http://isopmastand.vilspa.esa.es:8080/aio/jsp/siap.jsp?POS=13.5,47.1
•Jesus Salgado (Archive Development Team Software Engineer)
•Christophe Arviset (Archive Development Team Leader)
•Matteo Guainazzi (XMM-Newton Archive Scientist)
•Alberto Salama (ISO Project Scientist)
More info can be found at:
http://xsa.vilspa.esa.es:8080/aio/doc/
http://isopmastand.vilspa.esa.es:8080/aio/doc
IVOA Tutorial Strasbourg 2003 10
Pedro OSUNA
Science Operations & Data Systems Division
Research & Scientific Support Department