ExoDat

Exodat web services


Description :

  • Return CoRoT-id corresponding to a target-id

Input parameters :

  • Runid : ID of run (mandatory)
  • Ccdid : ID of ccd [E1 or E2] (mandatory)
  • Winid : ID of window (mandatory)

Example :

  • http://lamwws.oamp.fr/exoservices/exodatquery/get/corotid/IRa01/E1/1000


Description :

  • Return True if the CoRoT-id exists in the exodat database, else False

Input parameter :

  • CoRoT-id : CoRoT-id to be tested (mandatory)

Example :

  • http://psi1.lam.fr/exodat/web-services/is-exists-corot-id?corotid=102762433


Description :

  • Return data from specified catalog for one CoRoT-id

Input parameters :

  • Catalog name : name of catalogue (?) (mandatory)
  • CoRoT-id : CoRoT-id to retrieve (mandatory)
  • CSV Header : columns name for csv output format
  • Format : output format (by default csv)

Examples :

  • http://psi1.lam.fr/exodat/web-services/get-data-by-corot-id?catalog=exo2mass&corotid=102657154&format=csv
  • http://psi1.lam.fr/exodat/web-services/get-data-by-corot-id?catalog=observations&corotid=102762433&format=votable


Description :

  • Return data from specified catalog for whole run

Input parameters :

  • Catalog name : name of catalogue (?) (mandatory)
  • Runid : ID of run (mandatory)
  • Ccdid : ID of CCD [E1 or E2] (output limited for one CCD)
  • Winid : ID of window (output limited for one window)
  • CSV Header : columns name for csv output format
  • Format : output format (default csv)

Examples :

  • http://psi1.lam.fr/exodat/web-services/get-data-by-target-id?catalog=observations&runid=LRc07&format=votable
  • http://psi1.lam.fr/exodat/web-services/get-data-by-target-id?catalog=observations&runid=IRa01&ccdid=E2&format=votable
  • http://psi1.lam.fr/exodat/web-services/get-data-by-target-id?catalog=observations&runid=IRa01&ccdid=E1&winid=1000


Description :

  • Return data around a cone search from specified catalog

Input parameter :

  • Catalog name : name of catalog (mandatory) (mandatory)
  • Ra : right ascension of the cone search in degrees (mandatory) (mandatory)
  • Dec : declination of the cone search in degrees (mandatory) (mandatory)
  • Radius : radius of the cone in degrees (mandatory) (mandatory)
  • CSV Header : columns name for csv output format
  • Format : output format (by default csv)

Example :

  • http://psi1.lam.fr/exodat/web-services/get-data-by-cone-search?catalog=exo2mass&ra=102.5&dec=0.0&radius=0.01


Description :

  • Return data around a box search from specified catalog

Input parameter :

  • Catalog name : name of catalog (mandatory) (mandatory)
  • Ra : right ascension of the box search in degrees (mandatory) (mandatory)
  • Dec : declination of the box search in degrees (mandatory) (mandatory)
  • Radius : radius of the box in degrees (mandatory) (mandatory)
  • CSV Header : columns name for csv output format
  • Format : output format (by default csv)

Example :

  • http://psi1.lam.fr/exodat/web-services/get-data-by-box-search?catalog=exo2mass&ra=102.5&dec=0.0&radius=0.01


Description :

  • Return metadata for specified catalog (csv format)

Input parameters :

  • Catalog name : name of catalogue (?) (mandatory)

Example :

  • http://psi1.lam.fr/exodat/web-services/get-metadata-catalog?catalog=planet

How use exodat web services

Description :

  • Wget save a resource in your computer
  • Curl read a resource in your terminal

Prerequisites :

  • To use wget or curl you must have a computer running linux or mac os x
  • You must have a terminal open

Wget example command :

  • wget -O exo_cat_metadata.csv --user dis_vip --ask-password http://psi1.lam.fr/exodat/web-services/web-services/get-metadata-catalog?catalog=exo2mass

Curl example command :

  • curl -u dis_vip http://psi1.lam.fr/exodat/web-services/web-services/get-metadata-catalog?catalog=exo2mass