100 likes | 196 Views
How to adapt existing archives to SIAP: XMM-Newton and ISO cases Pedro Osuna ( Pedro.Osuna@esa.int ) Villafranca del Castillo, Madrid, Spain. Presentation Overview. Already existing links: External Archives to XMM-Newton/ISO Pre-AIO architecture VO-AIO Architecture VO-AIO Implementation
E N D
How to adapt existing archives to SIAP: XMM-Newton and ISO cases Pedro Osuna (Pedro.Osuna@esa.int) Villafranca del Castillo, Madrid, Spain
Presentation Overview Already existing links: External Archives to XMM-Newton/ISO Pre-AIO architecture VO-AIO Architecture VO-AIO Implementation Translation Layers Conclusions
From ADS From IRSA From CDS/VizieR From HEASARC ISO Postcard Server ISO Postcard Server
XMM-Newton Postcard and Product Servers Postcard Server Product Server
Meta Data in Database Postcard Handler Other Services Product Handler Data Products on hard disks Pre-AIO Architecture Project Specific Business logic / Middle-Tier Client Client Client Project Client
Meta Data in Database Data Products on hard disks VO-AIO Architecture Translation Layer Translation Layer SIAP Image Request Project Request Client 1 t=t1 Database Request AIO System VOTable Result Project Result Database Result SIAP Product Request Client 1 t=t2 Product Info Product Request Product Project Business Logic Product Request Project Request Project Result Product Client 1 t=t3 ucdToDb.xml siapController.xml
Translation Layer Translation Layer siapController.xml ucdToDb.xml VO-AIO Implementation Tomcatserver Siap.jsp SiapHandler.java Database Request aio Product.jsp ProductHandler.java Request.java Postcard.jsp PostcardHandler.java AIO System Project Business Logic
Bussiness Logic DB Translation Layers Translation Layer Translation Layer <?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"/> <?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> ucdToDb.xml 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"/>
Conclusion • You can adapt your existing archive to IVOA-SIAP and other IVOA protocols (1D Spectrum?,…) • Easiness depends on archive architecture: three-tier 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
Demo booth http://isopmastand.vilspa.esa.es:8080/aio/jsp/siap.jsp?POS=13.5,47.1 http://xsa.vilspa.esa.es:8080/aio/jsp/siap.jsp?POS=0.7,41.2 • 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