Parameter | Definition | Limits |
---|---|---|
-ep=<string> | Epoch requested, expressed in Julian day or formatted as any English textual datetime (default to now). |
2411320.0 .. 2473530.0 1889-11-13 12h .. 2060-03-21 12h |
-mime=<string> | Mime type of the results (default to VOTable) (1) | votable | html | text | json |
-class=<string> | Allow to retrieve only the comets of the given population classes.
Leave empty to get all bodies. Use a comma separated list of classes to get the comets of the given population classes. Use the MySQL wildcard % to match any number of characters, e.g. '%period' requests all Short-period and Long-period comets. |
Ex.: %period,%Jupi%,%Halley%] |
-limit=<integer> | Maximum number of comets to retrieve (default to all) | Put 0 to retrieve all the known comets |
-coord=<string> | Type of coordinates: rectangular for (x,y,z) coordinates, spherical for RA and DEC | rectangular (default) | spherical |
-getFile=<0|1> | Active only with mime types VOTable and text. If set to 0 then the answer is an object which contains the URL to download the data. If set to 1 then the answer provides directly the data. Be aware that the amount of data to receive can be large (tens of Megabytes). |
0 (default) | 1 |
-from=<string> | Word which definite the name of the caller application, or which describes the request | any short string (without space) |
All input parameters are optional and can be omitted. In that case, the query requests the rectangular ephemerides of all known comets at the current epoch (now). The output is described in the following table and is available in VOTable, HTML, JSon or plain text format (cf. examples).
Variable | Type | Units | Limits or values | Default | Comment |
---|---|---|---|---|---|
epoch | string | - | 2411320.0 .. 2473540.0 (1889-11-13 12h .. 2060-03-21 12h) |
none | Requested epoch, expressed in Julian day, ISO format or formatted as any English textual datetime |
class | string | - | Comma separated list of population classes of comets | empty | Requested population classes of comets as known by SkyBoT. |
limit | integer | - | ≥ 0 | 0 | Maximum number of comets to retrieve |
coord | string | - | rectangular | spherical | rectangular | Requested type of coordinates of the targets: x,y,z or RA,DEC |
mime | string | - | votable | html | text | json | votable | Mime type of the results |
Depending on the selected mime type, the output is formatted as:
For each comet, the following parameters are given:
No. | Definition | Comment |
---|---|---|
1 | Id of the note associated to the comet in COMETPRO database | - |
2-4 | Heliocentric equatorial mean J2000 position vector (x,y,z) | au |
5-7 | Heliocentric mean J2000 velocity vector (x',y',z') | au/d |
8 | Constant term H1 of the total magnitude | mag |
9 | Coefficient R1 of log(r) of the total magnitude | mag |
10 | Coefficient D1 of log(delta) of the total magnitude | mag |
11 | Parameter A1 of non-gravitational force | helio. J2000 eq. frame |
12 | Parameter A2 of non-gravitational force | helio. J2000 eq. frame |
13 | Parameter A3 of non-gravitational force | helio. J2000 eq. frame |
14 | Comet class | - |
15 | Comet IAU code | - |
16 | Comet IAU name | - |
17 | Diameter estimated from the absolute magnitude of the nucleus, assuming albedo=0.04 |
km |
18 | Sso type | Only in JSON format |
No. | Definition | Comment |
---|---|---|
1 | Id of the note associated to the comet in COMETPRO database | - |
2-3 | Heliocentric equatorial mean J2000 right ascension and declination | deg |
4 | Heliocentric distance | au |
5-6 | Heliocentric equatorial mean J2000 motion in right ascension and declination | deg/d |
8 | Constant term H1 of the total magnitude | mag |
9 | Coefficient R1 of log(r) of the total magnitude | mag |
10 | Coefficient D1 of log(delta) of the total magnitude | mag |
10 | Parameter A1 of non-gravitational force | helio. J2000 eq. frame |
11 | Parameter A2 of non-gravitational force | helio. J2000 eq. frame |
12 | Parameter A3 of non-gravitational force | helio. J2000 eq. frame |
13 | Comet class | - |
14 | Comet IAU code | - |
15 | Comet IAU name | - |
16 | Diameter estimated from the absolute magnitude of the nucleus, assuming albedo=0.04 |
km |
17 | Sso type | Only in JSON format |
Examples: click on the following links to get the state vectors of
ten Short-period comets and:
1/ Provide the input parameters which are mandatory for the service:
2/ Define the SOAP options, the namespace and the WSDL URI of Skybot3D web service:
3/ Create a SoapClient object in WSDL mode, set the SOAP header, then call the method and catch exceptions: