1 / 10

How to adapt existing archives to SIAP: XMM-Newton and ISO cases

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

lan
Download Presentation

How to adapt existing archives to SIAP: XMM-Newton and ISO cases

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to adapt existing archives to SIAP: XMM-Newton and ISO cases Pedro Osuna (Pedro.Osuna@esa.int) Villafranca del Castillo, Madrid, Spain

  2. Presentation Overview Already existing links: External Archives to XMM-Newton/ISO Pre-AIO architecture VO-AIO Architecture VO-AIO Implementation Translation Layers Conclusions

  3. From ADS From IRSA From CDS/VizieR From HEASARC ISO Postcard Server ISO Postcard Server

  4. XMM-Newton Postcard and Product Servers Postcard Server Product Server

  5. 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

  6. 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

  7. 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

  8. 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"/>

  9. 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

  10. 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

More Related