SITools2 as VO service provider: an example with Herschel - - PowerPoint PPT Presentation

sitools2 as vo service provider an example with herschel
SMART_READER_LITE
LIVE PREVIEW

SITools2 as VO service provider: an example with Herschel - - PowerPoint PPT Presentation

SITools2 as VO service provider: an example with Herschel at IDOC (Integrated Data and Operation Center) K. Dassas CoSADIE Astronomical Data Center Forum 2013 SITools 2 SITools2 is a


slide-1
SLIDE 1

SITools2 ¡as ¡VO ¡service ¡provider: ¡an ¡example ¡with ¡ Herschel ¡at ¡IDOC (Integrated Data and Operation Center)

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-2
SLIDE 2

SITools 2

  • SITools2 ¡is ¡a ¡CNES ¡generic ¡tool ¡performed ¡by ¡a ¡joint ¡effort ¡

between ¡CNES ¡and ¡scienEfic ¡laboratories. ¡ ¡

  • It ¡offers ¡common ¡services ¡through ¡an ¡“easy-­‑to-­‑use” ¡open ¡

source ¡web ¡plaLorm. ¡

  • The ¡aim ¡of ¡SITools ¡is ¡to ¡provide ¡a ¡self-­‑manageable ¡data ¡access ¡

layer ¡deployed ¡on ¡already ¡exisEng ¡scienEfic ¡laboratory ¡

  • databases. ¡
  • hMp://sitools2.sourceforge.net/ ¡
  • ¡hMps://github.com/SITools2 ¡ ¡
  • Contact: ¡jean-­‑christophe.malapert@cnes.fr ¡

3

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-3
SLIDE 3

SITools2 General Architecture

4

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-4
SLIDE 4

Herschel in a nutshell

  • Herschel ¡ ¡ was ¡ the ¡ fourth ¡ cornerstone ¡ mission ¡ in ¡ the ¡ European ¡

Space ¡Agency ¡science ¡programme. ¡ ¡It ¡has ¡performed ¡photometry ¡ and ¡spectroscopy ¡in ¡the ¡far ¡infrared ¡and ¡submillimetre ¡part ¡of ¡the ¡ spectrum, ¡covering ¡approximately ¡the ¡55-­‑672 ¡µm ¡range. ¡

  • Objec3ves: ¡ the ¡ formaEon ¡ of ¡ stars ¡ and ¡ galaxies, ¡ and ¡ the ¡

interrelaEon ¡ between ¡ the ¡ two, ¡ the ¡ physics ¡ of ¡ the ¡ interstellar ¡ medium, ¡astrochemistry, ¡and ¡solar ¡system ¡studies. ¡

  • Two ¡ cameras ¡ and ¡ two ¡ medium ¡ resoluEon ¡ spectrometers ¡ (PACS ¡

and ¡ SPIRE) ¡ and ¡ a ¡ very ¡ high ¡ resoluEon ¡ heterodyne ¡ spectrometer ¡ (HIFI) ¡ ¡

  • It ¡was ¡launched ¡in ¡mai ¡2009, ¡and ¡run ¡out ¡of ¡helium ¡in ¡april ¡2013. ¡
  • K. Dassas CoSADIE Astronomical Data Center Forum 2013

5

slide-5
SLIDE 5

HESIOD (HErSchel IdOc Database) Portal

IDOC = Integrated Data and Operation Center

http://idoc-herschel.ias.u-psud.fr/sitools/client-user/

6

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-6
SLIDE 6

Interstellar medium guaranteed time key project (SAG-4) in HESIOD

7

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-7
SLIDE 7

Interstellar medium guaranteed time key project (SAG-4) from HESIOD in VO

  • Level ¡2 ¡and ¡L2.5 ¡ ¡PACS ¡(60 ¡or ¡100 ¡170) ¡and ¡

SPIRE ¡(250, ¡350, ¡500 ¡micrometers) ¡Public ¡ Maps ¡

  • Reprocessed ¡at ¡IAS ¡with ¡the ¡latest ¡ESA ¡

pipeline ¡(last ¡release ¡only) ¡and ¡with ¡home ¡ made ¡pipeline ¡(SANEPIC) ¡

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013

8

slide-8
SLIDE 8

pipelines ¡ HIPE ¡(ESA) ¡ Jython ¡ pipeline ¡ SANEPIC ¡ ¡ (IAS) ¡C++ ¡

¡

SPIRE ¡ Photometer ¡ PACS ¡ Photometer ¡ PACS ¡ Spectrometer ¡ SPIRE ¡ Spectrometer ¡

Fichiers ¡FITS ¡

9 ¡

BDD ¡ METADATA ¡ IDOC BDD FITS

psycopg2 ¡ Pywcs ¡ pyfits ¡

HESIOD General Architecture

slide-9
SLIDE 9

SITools2 SIAP Module

10

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013

http://idoc-herschel.ias.u-psud.fr/ds/pub/spirephotol2/services/sia? http://voparis-validator.obspm.fr

slide-10
SLIDE 10

SITools2 SIA Module – dataset columns

11

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-11
SLIDE 11

SITools2 SIA Module – dictionnary

12

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-12
SLIDE 12

HESIOD through Aladin

13

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-13
SLIDE 13

HESIOD through Aladin

14

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-14
SLIDE 14

VO Issues or questions

  • RegistraEon ¡was ¡not ¡so ¡straighLorward ¡
  • Not ¡always ¡easy ¡to ¡know ¡which ¡fields ¡to ¡fill ¡in ¡

to ¡display ¡informaEon ¡in ¡Aladin ¡(for ¡instance ¡ sortorder ¡in ¡the ¡votable) ¡

  • CommunicaEon ¡between ¡euroVO ¡and ¡VAO? ¡

15

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-15
SLIDE 15

To be done

  • Extension ¡of ¡SIAP ¡to ¡other ¡HESIOD ¡programs ¡
  • CuLits ¡
  • SSAP ¡(cubes?) ¡
  • Stats ¡on ¡Data ¡usage ¡(disEncEon ¡from ¡VO ¡and ¡ ¡

from ¡direct ¡access) ¡

16

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-16
SLIDE 16

ANNEXES ¡

17

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-17
SLIDE 17

SITools2 General Architecture: REST

18

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-18
SLIDE 18

SITools2 SIA Module spoly

19

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013

def calculateSpoly(filepath=""): hdulist=pyfits.open(filepath) try: Image = hdulist['Image'] wcs = pywcs.WCS(Image.header) hdr1=hdulist[1].header except: try: ###### for SCANAMORPHOS fits files Image=hdulist['PrimaryImage'] PrimaryHeader=hdulist['Primary'].header wcs = pywcs.WCS(PrimaryHeader) hdr1=Image.header print wcs print hdr1 except KeyError: print "EE - No 'Image' extension in "+os.path.basename(inputImage) return 2 poly1=wcs.wcs_pix2sky([[0.5,0.5]],0) print poly1 poly2=wcs.wcs_pix2sky([[0.5+hdr1['NAXIS1'],0.5]],0) print poly2 poly3=wcs.wcs_pix2sky([[0.5+hdr1['NAXIS1'],0.5+hdr1['NAXIS2']]],0) print poly3 poly4=wcs.wcs_pix2sky([[0.5,0.5+hdr1['NAXIS2']]],0) print poly4 poly1="("+str(poly1[0,0])+"d,"+str(poly1[0,1])+"d)" poly2="("+str(poly2[0,0])+"d,"+str(poly2[0,1])+"d)" poly3="("+str(poly3[0,0])+"d,"+str(poly3[0,1])+"d)" poly4="("+str(poly4[0,0])+"d,"+str(poly4[0,1])+"d)" poly="{"+poly4+","+poly3+","+poly2+","+poly1+"}" #poly="("+poly1+","+poly3+")" return poly

slide-19
SLIDE 19

SIA EuroVO registry

20

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013
slide-20
SLIDE 20

SIA EuroVO registry

http://idoc-herschel.ias.u-psud.fr/ds/pub/spirephotol2/services/sia?

21

  • K. Dassas CoSADIE Astronomical Data Center Forum 2013