Logo IMCCE-VOParis

THE IMCCE VIRTUAL OBSERVATORY
SOLAR SYSTEM PORTAL
Observatoire de Paris / CNRS

Logo IMCCE
Portal Home Page | Report issue | Legal notice | Contact us

Miriade Ephemeris Generator

Clients

You will find in this page some scripts and programs written in various languages that you can download to help you to implement the methods of the Miriade Web service in your own application. If you develop a client or improve the code of a client, we would be grateful to you to send it to us to share it with the community of the Miriade users. For that, please document your code so that it is comprehensible, and send it to us by email with all information which you will consider useful.
 Miriade Clients 
1. PHP
2. Python
3. Fortran
4. Bash
5. Matlab

1. PHP ^
The proposed PHP clients allow to invoke, via the HTTP protocol, the methods of computation of positional ephemerides (for a target or multiple targets at different times), physical ephemerides of solar system bodies, sunrise and sunset, and observability conditions, of the Miriade Web service. They are written in PHP5 and use the native PHP SOAP protocol.
Application:
the scripts can be, for example, easily transformed into functions or classes to call the Miriade Web service methods from a service or a Web form.
Usage:
php client_<method>.php
Available methods:
ephemcc-multi
ephemcc-single
ephemph
getAvailability
getMiriadeData
rts
vision
Download:
source archive Sources
2. Python ^
The proposed script allows to invoke, via the HTTP protocol, the ephemcc method (positional ephemerides) of the Miriade Web service. It requires Python 3 and the SOAPpy module.
Application:
the scripts can easily be modified into more powerfull scripts to fit your requirements.
Usage:
./client_ephemcc.py
Available methods:
ephemcc
Download:
source archive Sources
3. Fortran ^
The proposed Fortran client allows to invoke, via the HTTP protocol, the ephemcc method (positional ephemerides) of the Miriade Web service. It is written in Fortran 2003 programming language, and requires the use of an external program of data transfert such as 'wget' or 'curl'.
Compilation:
gfortran -o client_ephemcc client_ephemcc.f90
Usage:
./client_ephemcc
Available method:
ephemcc
Download:
source archive Sources
4. Bash ^
The proposed scripts allow to invoke, via the HTTP protocol, some methods of the Miriade Web service (positional ephemerides, rts, vision). They are written in Unix shell script language (bash), and use the external data transfert command line tool 'wget' or 'curl'.
Application:
the scripts can easily be modified into more complexe shell scripts to fit your requirements.
Usage:
./client_<method>.sh <args>
Available methods:
ephemcc-multi
ephemcc-single
rts
vision
Download:
source archive Sources
5. Matlab ^
The proposed scripts allow to invoke the Miriade service to compute positional ephemerides or to query ViSiON. They are written for Matlab. More info
Application:
Matlab script.
Available methods:
ephemcc
vision
Download:
source