The method ephemsys is intended to people who need to compute the ephemerides of asteroid
satellites, in particular to predict stellar occultations by asteroid satellites with the
Occult software of the
International Occultation Timing Association (IOTA).
See also ephemcc method.
HTTP Request
If you are a software/solutions developer, you might want to include the Miriade ephemsys
service into your application. This can be done by using the Web service method or by using
the following HTTP request:
Word which definite the name of the caller application, or which describes the request
any short string (no space character)
The ephemerides are available for a handful of asteroidal systems. Use the dedicated
interface to retrieve the list of systems.
By default, the ephemerides are provided for 4 dates, spanned around the requested epoch as t0-1h,
t0, t0+1h, and t0+2h.
Use the gensol keyword of the dedicated interface
to know exactly the time span of computation of errors of the orbital solution. Outside
this period, ephemerides can be computed without estimation of position errors.
The number and Ids of available solutions for a given asteroidal system can be retrieved using the
dedicated interface.
The output results are described in the following section, and are available in
VOTable (cf. examples).
The only mandatory parameter is the name of the system. The other parameters are optionnal and their values
can be omitted (just left blank the value, e.g. &-tscale=&-mime=).
HTTP Request specific interface
This interface is intended to request specific data used by Miriade ephemsys method to compute ephemerides:
the list of asteroidal systems for which ephemerides can be computed,
the list of orbital solutions available for a given asteroidal system.
where keyword must be systems to get the list of asteroidal systems,
or gensol to get the list of orbital solutions of a given asteroidal system,
and where parameters are:
Parameter
Definition
Limits or value
-name=<string>
The designation of an asteroidal system (to be used only with keyword gensol)
Examples: a:camilla or Kalliope
-from=<string>
Word which definite the name of the caller application, or which describes the request
any short string (no space character)
The output response is a text/csv document which contains the following information:
Example: retrieve the list of all
asteroidal systems for which ephemerides of the components are available. The response contains the following
information:
Column
Desciption
Id
Official number of the asteroidal system
Name
Official name of the asteroidal system
NbCompo
Number of components of the system
Components
Comma-separated list of component names
Gensol
List of Ids of orbital solutions for the system
To query ephemerides of the components of the system through Miriade ephemsys method,
use the Id or Name of the asteroidal system, formatted as
-name=[a:]<Name>, e.g. -name=a:107 or -name=a:Camilla.
The name is case-insensitive, and the prefix is optionnal.
Example: retrieve the orbital solutions
available for Camilla's system. The response contains the following information:
Column
Desciption
Gensol
Id of Genoide solution
Id
Asteroidal System Id
SystemName
Asteroidal system name
CompoName
Name of the component
Method
Orbital inversion method
Fomc
Accuracy of the orbital solution, in mas
Proba
Probability of success (0-100%) of the orbital solution
MeanRadius
Mean equivalent radius of the body, in km
MeanRadiusError
Error on the mean radius, in km
SolutionDate
Date of the orbital solution (ISO)
Ephem
Availability of ephemeris computation (0|1)
StartEphemDate
Start date of availability of ephemeris computation (ISO)
EndEphemDate
End date of availability of ephemeris computation (ISO)
Error
Availability of error computation (0|1)
StartErrorDate
Start date of availability of error computation (ISO)
EndErrorDate
End date of availability of error computation (ISO)
To query the ephemerides of the components with a given orbital solution, use one of the Ids provided
in the Gensol column.
Web service
The Miriade Web service provides methods based on SOAP and
HTTP POST verb which allow
one to interact between its own application and the Miriade service. Here is the useful information to
invoke the Miriade ephemsys method:
Use this parameter only to request specific data used
by Miriade ephemsys method to compute ephemerides. No ephemeris is provided.
The ephemerides are available for a handful of asteroidal systems. Use the
dedicated interface to retrieve the list of systems.
By default, the ephemerides are provided for 4 dates, spanned around the requested
epoch: t0-1h, t0, t0+h,
and t0+2h.
Use the gensol keyword of the dedicated interface
to know exactly the time span of computation of errors of the orbital solution. Outside
this period, ephemerides can be computed without estimation of position errors.
The number and Ids of available solutions for a given asteroidal system can be retrieved
using the dedicated interface.
The output of the ephemsys method is an object containing the following attributes:
'flag'
the status of the response: flag=1 means ok; flag=0 or flag=-1 mean that an error occured
'status'
the HTTP status-code of the response (e.g. 400: bad request, 422: Unprocessable Entity, 500: internal error)
'ticket'
the Unix timestamp of the response which can be useful to stamp the request
'result'
a string, formatted in the IVOA standard VOTable format,
containing the ephemerides of the requested asteroidal system (see Output results section)
Query examples
Click on the following links to get the relative positions and errors of the components of asteroidal systems
for epoch=now, tscale=TT, mime=votable and:
The VOTable output consists of a collection of resources that contain tables with the ephemerides of each component
of the given asteroidal system (Fig 1). Each resource corresponds to a set of orbital elements for each component of
the system obtained by fitting the observations with the Genoide algorithm (Vachier et al. 2012, A&A 543).
The number of resources within the VOTable is given by the parameter nbgensol, and each resource is identified
by an attribute ID="gensol_i" where i is an index from 1 to nbgensol.
Within a resource, the number of tables is given by the parameter nbcomposyst_i, and each table is identified
by an attribute ID="<NameOfComponent>_i".
The VOTable contains a set of parameters that describe the overall data:
VOTABLE/PARAM/Coordinates: the type of coordinates: relative to the center of mass of the system
VOTABLE/PARAM/TimeScale: the time scale of the ephemerides TT or UTC
VOTABLE/PARAM/RequestedEpoch: the requested epoch
VOTABLE/PARAM/NbDates: the number of date of ephemerides (4), provided also by the nrows attribute of the tables
VOTABLE/PARAM/StepSize: the step size of the ephemerides (1 h)
VOTABLE/PARAM/NbGenSol: the number of Genoide's solutions
The resource contains a set of parameters that describe the Genoide solution:
VOTABLE/RESOURCE/PARAM/GenoideSystem: the name of the asteroidal system
VOTABLE/RESOURCE/PARAM/GenoideSolutionDate: the date of computation of the solution
VOTABLE/RESOURCE/PARAM/GenoideSolutionId : the Id of the Genoide's solution
VOTABLE/RESOURCE/PARAM/NbCompoSyst: the number of components of the system
VOTABLE/RESOURCE/PARAM/GenoideFomc: the quadratic mean of the O-C
VOTABLE/RESOURCE/PARAM/GenoideProba: the probability of success of the solution
The table contains a set of parameters that describe the component:
VOTABLE/RESOURCE/TABLE/PARAM/Radius: the mean equatorial radius of the component
VOTABLE/RESOURCE/TABLE/PARAM/Radius_err: the error on the mean equatorial radius of the component
For each component of a system, the ephemeris table contains the fields described in the following table.
The uncertainties on the cartesian coordinates of the components (columns 4 to 15) are defined as the minimum
and maximum errors at 1-sigma, 2-sigma, and 3-sigma levels (Fig. 2).
Col.
Definition
Units
Format
1
Julian period
day
decimal
2
X coordinate of the differential position of the component w.r.t. the center of mass
mas
decimal
3
Y coordinate of the differential position of the component w.r.t. the center of mass
mas
decimal
4
Estimation of the apparent magnitude of the component
mag
decimal
The next columns displays the minimum and maximum standard errors on X and Y coordinates for i = 1 to 3
5 * i
i-sigma minimum error on X coordinate
mas
decimal
5 * i+1
i-sigma minimum error on Y coordinate
mas
decimal
5 * i+2
i-sigma maximum error on X coordinate
mas
decimal
5 * i+3
i-sigma maximum error on Y coordinate
mas
decimal
How to consume
You have two ways to use the Miriade Web service: by writting a client to send requests to the Miriade server and
to receive and analyze the response, or by using a command line interface and a data transfert program such as
curl or wget.
For that, just execute one of the following commands in a console:
In order to help you to invoke the Miriade Web service, we provide some clients
written in differents languages. Here are some detailed explanations to write a client with PHP
and SOAP which invokes the ephemsys method:
1/ Provide the input parameters which are mandatory for the service:
// Client's ID: provide the name of your project or organisation or yourself
$from = 'MyName';
// Input parameters
$param = array('name' => 'a:camilla',
'epoch' => '2018-03-19T0:42:46.0',
'tscale' => 'TT',
'gensol' => 0,
'mime' => 'votable'
);
2/ Define the SOAP options, the namespace and the WSDL URI of Miriade Web service: