sitools2 architecture user web server applications...

1
Data Access Layer for Scientific Archive, Web 2.0 platform architecture REST Example with HESIOD cosmological data at IDOC (Integrated Data and Operation Center) Marc Nicolas*, Karin Dassas*, Hervé Ballans*, Jean-Christophe Malapert** * IAS (Institut d'Astrophysique Spatiale) ** CNES (Centre National d'Etudes Spatiales) http://idoc-herschel.ias.u-psud.fr/ SITools2 architecture User Web applications Application web project Portal web P Server REST API Security Registry Applications Request filters Data Converter P P Dynamic applications Projects P Datasets P Datasources Data storage User storage User management P Scientific Data SITools2 Database Local Repository Administration Web Application Other SITools2 instances : medoc-dem medoc-sdo sz-clusterdb IRIS Idoc-herschel's portal Desktop of Herschel's Project Resource Download on the fly Forms + Resource Cut FITS VO SIAP Resource Choose one or more data, click on download button. Then you can choose the extension and the name of the downloaded files in a pop-up windows. When you have chosen your options, you just have to click on the submit button to download your selected FITS in an archive file (tar, tar.gz or zip file). HESIOD VO through Aladin ( CDS's software ) HESIOD VO through Internet browser You can use the VO service directly in a web browser (see picture on the right). The service's response is in XML format. The request is based on the url of the service here, http://idoc- herschel.ias.u-psud.fr/ds/pub/spirephotol2/services/sia? There are two keywords to fulfill the request : - POS : it's the coordinates (RA, DEC) of the target in degree. - SIZE : the radius of the conesearch. So for example a complete request is : http://idoc-herschel.ias.u-psud.fr/ds/pub/spirephotol2/services/sia? POS=37.9,89&SIZE=0.5 VO tools allow to easily retrieve public data and, for instance, to compare Herschel maps to other instruments maps and to overlay sources catalogs. The following picture gives a comparison in Aladin between Planck and Herschel maps, with SIMBAD sources present in the Polaris field. Protocol used : * RESTLET HTTP method : * GET There are 3 steps to use the Cut FITS resource : 1) In the first step, the user selects the FITS file to cut. He can either choose a known source name, whose coordinates will be given by a resolver name, or he can directly put its coordinates (RA and DEC) in degrees. The user also has to give the radius in degree (it's a cone search research). The form returns the corresponding files. 2) The user chooses the file to cut among the answers from the previous search. Then he has to fill in the field “Sr to cut FITS”, which is the size of radius cut (in degree). 3) A pop-up window appears to download the cut FITS (tar file) The HTTP request methods involved in this resource are GET Methods. Some examples of development at IDOC SITools2 ( http://sourceforge.net/projects/sitools2/ ) is an open source framework for scientific archives. It provides both search capabilities, data access and web services integration. It is based upon a RESTLET API for server side and EXTJS for client side.

Upload: others

Post on 24-Mar-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SITools2 architecture User Web Server applications ...devlog.cnrs.fr/_media/jdev2013/sitools2_nicolas_poster_jdev2013.pdf · Idoc-herschel's portal Desktop of Herschel's Project Resource

Data Access Layer for Scientific Archive,Web 2.0 platform architecture REST

Example with HESIOD cosmological data at IDOC (Integrated Data and Operation Center)Marc Nicolas*, Karin Dassas*, Hervé Ballans*, Jean-Christophe Malapert**

* IAS (Institut d'Astrophysique Spatiale) ** CNES (Centre National d'Etudes Spatiales)

http://idoc-herschel.ias.u-psud.fr/

SITools2 architecture

User Web applications

Application web project

Portal web

P

Server

RE

ST

AP

I

Security Registry

Applications

Requestfilters

DataConverter

P

P

Dynamic applications

ProjectsP

DatasetsP

Datasources

Data storage

User storage

User management

P

Scientific Data

SITools2Database

LocalRepository

Administration WebApplication

Other SITools2 instances :

medoc-demmedoc-sdo sz-clusterdb IRIS

Idoc-herschel's portal Desktop of Herschel's Project

Resource Download on the fly

Forms + Resource Cut FITS

VO SIAP Resource

Choose one or more data, click on download button. Then you can choose the extension and the name of the downloaded files in a pop-up windows.

When you have chosen your options, you just have to click on the submit button to download your selected FITS in an archive file (tar, tar.gz or zip file).

● HESIOD VO through Aladin ( CDS's software )

● HESIOD VO through Internet browser

You can use the VO service directly in a web browser (see picture on the right).The service's response is in XML format.

The request is based on the url of the service here, http://idoc-herschel.ias.u-psud.fr/ds/pub/spirephotol2/services/sia?

There are two keywords to fulfill the request :

- POS : it's the coordinates (RA, DEC) of the target in degree.- SIZE : the radius of the conesearch.

So for example a complete request is :http://idoc-herschel.ias.u-psud.fr/ds/pub/spirephotol2/services/sia?POS=37.9,89&SIZE=0.5

VO tools allow to easily retrieve public data and, for instance, to compare Herschel maps to other instruments maps and to overlay sources catalogs. The following picture gives a comparison in Aladin between Planck and Herschel maps, with SIMBAD sources present in the Polaris field.

Protocol used : * RESTLET

HTTP method : * GET

There are 3 steps to use the Cut FITS resource :

1) In the first step, the user selects the FITS file tocut. He can either choose a known source name, whose coordinates will be given by a resolver name, or he can directly put its coordinates (RA and DEC) in degrees. The user also has to give the radius in degree (it's a cone search research). The form returns the corresponding files.

2) The user chooses the file to cut among the answers from the previous search. Then he has to fill in the field “Sr to cut FITS”, which is the size of radius cut (in degree).

3) A pop-up window appears to download the cut FITS (tar file)

The HTTP request methods involved in this resource are GET Methods.

Some examples of development at IDOC

SITools2 ( http://sourceforge.net/projects/sitools2/ ) is an open source framework for scientific archives. It provides both search capabilities, data access and web services integration. It is based upon a RESTLET API for server side and EXTJS for client side.