Besançon photometric database for Kuiper-Belt Objects and Centaurs

Observatory of Besançon
UTINAM institute

Documentation of SOAP webservice on TNO orbital database

 

Source

// This sample lists all objects avialable
$client = new SoapClient('http://bdp.obs-besancon.fr/soap/ws_bdp.wsdl', array('trace' => 1, 'exceptions' => 1));
if ($client->getAvailability()) {
  var_dump($client->getRawData(array('2005 TV189', '2003 TG58')));
} else {
  echo 'Database is temporarily unavailable';
}

Result

array(2) {
  ["2003 TG58 (183595)"]=>
  array(11) {
    [0]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "52989.3165"
      ["Magnitude"]=>
      string(6) "23.491"
      ["Sigma"]=>
      string(5) "0.105"
      ["Filter"]=>
      string(1) "g"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [1]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "52989.3430"
      ["Magnitude"]=>
      string(6) "23.686"
      ["Sigma"]=>
      string(5) "0.120"
      ["Filter"]=>
      string(1) "g"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [2]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "52989.3694"
      ["Magnitude"]=>
      string(6) "23.451"
      ["Sigma"]=>
      string(5) "0.110"
      ["Filter"]=>
      string(1) "g"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [3]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "52990.4211"
      ["Magnitude"]=>
      string(6) "23.605"
      ["Sigma"]=>
      string(5) "0.133"
      ["Filter"]=>
      string(1) "g"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [4]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "53350.3647"
      ["Magnitude"]=>
      string(6) "22.888"
      ["Sigma"]=>
      string(5) "0.095"
      ["Filter"]=>
      string(1) "r"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [5]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "53350.3935"
      ["Magnitude"]=>
      string(6) "22.711"
      ["Sigma"]=>
      string(5) "0.076"
      ["Filter"]=>
      string(1) "r"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [6]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "53350.4230"
      ["Magnitude"]=>
      string(6) "22.767"
      ["Sigma"]=>
      string(5) "0.079"
      ["Filter"]=>
      string(1) "r"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [7]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "53351.2880"
      ["Magnitude"]=>
      string(6) "22.844"
      ["Sigma"]=>
      string(5) "0.108"
      ["Filter"]=>
      string(1) "r"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [8]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "52915.4438"
      ["Magnitude"]=>
      string(6) "22.563"
      ["Sigma"]=>
      string(5) "0.097"
      ["Filter"]=>
      string(1) "i"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [9]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "52915.4950"
      ["Magnitude"]=>
      string(6) "22.461"
      ["Sigma"]=>
      string(5) "0.086"
      ["Filter"]=>
      string(1) "i"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [10]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "216"
      ["MJD"]=>
      string(10) "52915.5562"
      ["Magnitude"]=>
      string(6) "22.595"
      ["Sigma"]=>
      string(5) "0.096"
      ["Filter"]=>
      string(1) "i"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
  }
  ["2005 TV189"]=>
  array(3) {
    [0]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "215"
      ["MJD"]=>
      string(10) "52989.3149"
      ["Magnitude"]=>
      string(6) "23.244"
      ["Sigma"]=>
      string(5) "0.094"
      ["Filter"]=>
      string(1) "g"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [1]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "215"
      ["MJD"]=>
      string(10) "52989.3414"
      ["Magnitude"]=>
      string(6) "23.362"
      ["Sigma"]=>
      string(5) "0.098"
      ["Filter"]=>
      string(1) "g"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
    [2]=>
    array(6) {
      ["IdObservation"]=>
      string(3) "215"
      ["MJD"]=>
      string(10) "52989.3677"
      ["Magnitude"]=>
      string(6) "21.835"
      ["Sigma"]=>
      string(5) "0.024"
      ["Filter"]=>
      string(1) "g"
      ["RelativeMagnitude"]=>
      string(2) "No"
    }
  }
}

Back