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 show photometric data of 2000 QC243 with visible and infrared "I" filter. The apparent magnitude and phase angle is returned.
$client = new SoapClient('http://bdp.obs-besancon.fr/soap/ws_bdp.wsdl', array('trace' => 1, 'exceptions' => 1));
if ($client->getAvailability()) {
  echo htmlentities($client->getPhotometricDataVOtable('2000 QC243', 'V I', null, null, false, 0, 'apparent', true));
} else {
  echo 'Database is temporarily unavailable';
}

Result

<VOTABLE version="1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns="http://www.ivoa.net/xml/VOTable/v1.2" 
xmlns:stc="http://www.ivoa.net/xml/STC/v1.30">
<RESOURCE name="photometric">
<DESCRIPTION>Besançon photometric database for Kuiper-Belt Objects and Centaurs</DESCRIPTION>
<TABLE name="V">
<FIELD name="date" ucd="time.epoch" utype="stc:AstroCoords.Time.TimeInstant" datatype="float" precision="4" unit="d">
<DESCRIPTION>In MJD, not corrected for light-travel time</DESCRIPTION>
</FIELD>
<FIELD name="apparent_mag" ucd="phot.mag;em.opt.V" datatype="float" precision="3" unit="mag" />
<FIELD name="e_apparent_mag" ucd="phot.mag;em.opt.V;stat.error" datatype="float" precision="3" unit="mag" />
<FIELD name="observation" ucd="meta.ref" datatype="int" />
<FIELD name="relative_magnitude" ucd="meta.code" datatype="boolean" />
<DATA><TABLEDATA>
<TR><TD>52211.3614</TD><TD>20.729</TD><TD>0.085</TD><TD>18</TD><TD>F</TD></TR>
<TR><TD>52211.3767</TD><TD>20.820</TD><TD>0.102</TD><TD>18</TD><TD>F</TD></TR>
<TR><TD>52211.3889</TD><TD>20.829</TD><TD>0.108</TD><TD>18</TD><TD>F</TD></TR>
<TR><TD>52437.5599</TD><TD>21.058</TD><TD>0.015</TD><TD>18</TD><TD>F</TD></TR>
</TABLEDATA>
</DATA>
</TABLE>
<TABLE name="I">
<FIELD name="date" ucd="time.epoch" utype="stc:AstroCoords.Time.TimeInstant" datatype="float" precision="4" unit="d">
<DESCRIPTION>In MJD, not corrected for light-travel time</DESCRIPTION>
</FIELD>
<FIELD name="apparent_mag" ucd="phot.mag;em.opt.I" datatype="float" precision="3" unit="mag" />
<FIELD name="e_apparent_mag" ucd="phot.mag;em.opt.I;stat.error" datatype="float" precision="3" unit="mag" />
<FIELD name="observation" ucd="meta.ref" datatype="int" />
<FIELD name="relative_magnitude" ucd="meta.code" datatype="boolean" />
<DATA><TABLEDATA>
<TR><TD>52211.3567</TD><TD>19.830</TD><TD>0.071</TD><TD>18</TD><TD>F</TD></TR>
<TR><TD>52211.3718</TD><TD>20.213</TD><TD>0.102</TD><TD>18</TD><TD>F</TD></TR>
<TR><TD>52437.5592</TD><TD>20.269</TD><TD>0.021</TD><TD>18</TD><TD>F</TD></TR>
</TABLEDATA>
</DATA>
</TABLE>
</RESOURCE>
</VOTABLE>

Back