3DView CDPP RESTful Web Services

Introduction

3DView CDPP gives access to ancillary data with REST services. For the moment, four services are implemented:


Services description

get_bodies

get_bodies service gives access to spacecraft, planets, satellites and some small bodies available for request in get_trajectory.

get_frames

get_frames service gives access to coordinate systems available for request in get_trajectory.

get_trajectory

Get speed and velocity from bodies.

ParameterdescMandatorydefault
bodySet body nameTrueNone
frameSet coordinate systemFalseJ2000
startSet timerange startTrueNone
stopSet timerange endTrueNone
samplingSet step in seconds between recordsFalse3600
formatDefines output format, can be json, csv or cdfFalsejson

For spacecraft requests, you can set the header If-Modified-Since to avoid getting known data.

get_transform_matrices

Get 3x3 rotation matrices between two coordinated systems

ParameterdescMandatorydefault
fromframeSet input coordinate systemFalseJ2000
toframeSet output coordinate systemFalseECLIPJ2000
startSet timerange startTrueNone
stopSet timerange endTrueNone
samplingSet step in seconds between recordsFalse3600
formatDefines output format, can be json, csv or cdfFalsejson

Examples

get_bodies

webresources/get_bodies

get_frames

webresources/get_frames

get_trajectory

Get speed and velocity in json for Mars-Express(-41) on January 1st from 0 to 1 hour every 10mn (sampling=600) in MSO

webresources/get_trajectory?format=json&body=MEX&start=2020-01-01T00:00:00.0000&stop=2020-01-01T01:00:00.0000&sampling=600&frame=MSO

get_transform_matrices

Get transform matrices in csv from GSE to EME2000 on January 1st from 0 to 1 hour every 10mn (sampling=600)

webresources/get_transform_matrices?format=csv&start=2020-01-01T00:00:00.0000&stop=2020-01-01T01:00:00.0000&sampling=600&fromframe=GSE&toframe=EME