The method ssocard is intended to people who need to retrieve the
best estimates of the dynamical and physical properties
of solar system objects, based on the data aggregated in SsODNet.datacloud.
Use our dedicated Web form to display the
properties of your preferred asteroid!
rocks API
The best friendly way to retrieve data from SsODNet.ssoCard is to use the
“rocks”
API. This is a command-line Python software allowing to request SsODNet with simple and
natural commands. Read the documentation for
more information and tutorials.
HTTP Request
If you are a software/solutions developer, you might want to include the SsODNet ssoCard
service in your application. This can be done by using the REST API or by using
the following HTTP request:
The [target] parameter refers to the unique identifier assigned to each target. Most of the time this
is the official name (e.g. Ceres) or the provisional designation
(e.g. 2020 BL6) of the SSO. When the name refers
to several SSOs (e.g. Io), the name is suffixed with the type of object, e.g.
Io_(Asteroid) and
Io_(Satellite).
This unique identifier can be obtained by requesting the SsODNet.quaero
service. The "id" key of the response supplies the identifier expected by the SsODNet.ssoCard service
(e.g. Io).
To collect the ssoCard of several targets, you have to provide a text file (Content-Type: text/plain)
containing the list of targets, one identifier per line. The file must then be sent in POST request to the SsODNet server.
This can be achieved by using curl, e.g.:
where <filename> is the name of your file, and mytargets is any string of your choice.
How ssoCards are built?
A ssoCard is a structured object containing the best estimates of dynamical and physical properties of a Solar system object.
The properties are extracted among all the data gathered in the SsODNet.datacloud database. Some properties
have a unique value provided by a resource (dataset, scientific paper), and some of them have a multitude of values coming
from various measurements, or technics, surveys, etc.
▸ When a property has a unique value, or when the different values of the property cannot be averaged, e.g. orbital
elements, the selection of the best value is based on the choice of the resource, e.g. ASTORB or MPCORB for orbital elements.
▸ When multiple values of a given property exist, we have set up a decision tree to choose the best value or to compute
its weighted mean. As an example, the following figure enlightens how the taxonomy of a SSO is choosen.
The choice we made to select data among resources, as well as the decision trees we have set up for multiple
values, are described in Berthier et al., 2023.
An overview of the ordered list of methods used to compute the best-estimate of properties is proposed in
Howto ssoCard section.
Structure of a ssoCard
The ssoCard contains the best estimates of physical and dynamical properties of the target encapsulated in a
JSON structure defined as follows:
"<sso_id>": {
"id": Unique identifier of the target (string),
"name": Name of the SSO (string),
"number": Number of the SSO (int),
"type": Type of the SSO (string),
"class": Dynamical class of the SSO (string),
"parent": Name of the parent of the SSO (string),
"system": Name of the planetary system to which the SSO belongs (string),
"ssocard": {
"version": Version number of ssoCard data model (string),
"datatime": Date and time of creation of the ssoCard (ISO date)
},
"link": {
"self": Direct link to retrieve the ssoCard (URL),
"quaero": Direct access to SsODNet.quaero for the target (URL),
"description": Link to the JSON document providing the description of the properties available in the ssoCard (URL),
"unit": Link to the JSON document providing the description of the property units of the ssoCard (URL),
}
"parameters": { ... },
"datacloud": { ... }
}
The 7 first keys provide the simplified identity of the target provided by
SsoDNet.quaero. The full identity can
be retrieved using the URL provided by the key: link.quaero.
parameters is an object containing the dynamical and physical properties of the target.
Only not null values are provided. The description and units of properties are provided in separate JSON documents,
downloadable from the URL given by the keys link.description and link.unit. The structure
of parameters is defined as follows:
Each property is documented by a bibliographic reference ("bibref": []), and in most
cases a bibliographic reference of the method used to obtain or compute the property ("method": []).
"datacloud" is an object containing links to retrieve all values used to
estimate the best value of the given property. Each link points to the corresponding
collection in the datacloud
for the target. The computed properties which are not stored in the datacloud do not have links.