Open CorentinLouis opened 2 weeks ago
Check the kernel-set
ids for each WGC API server:
Beware that the kernel-set
ids may change in time (they do!)
Beware that the
kernel-set
ids may change in time (they do!)
For each service/observer, have a list of missionId names. Call kernel_set
, check missionId
: if different --> error
At the time of writing:
{
"cassini": {
"padc": {
"kernelSetId": 5,
"missionId": "nasa_cassini"
},
"nasa": {
"kernelSetId": 5,
"missionId": "cassini"
}
},
"juice-ops": {
"padc": {
"kernelSetId": 35,
"missionId": "esa_juice"
},
"esa": {
"kernelSetId": 24,
"missionId": "juice_ops"
}
},
"juice-plan": {
"padc": {
"kernelSetId": 36,
"missionId": "esa_juice"
},
"esa": {
"kernelSetId": 25,
"missionId": "juice_plan"
}
},
"juno-archive": {
"padc": {
"kernelSetId": 13,
"missionId": "nasa_juno_archive"
},
"nasa": {
"kernelSetId": 17,
"missionId": "juno"
}
},
"juno-latest": {
"padc": {
"kernelSetId": 14,
"missionId": "nasa_juno"
},
},
"mars-express-ops": {
"padc": {
"kernelSetId": 37,
"missionId": "esa_mars_express"
},
"esa": {
"kernelSetId": 12,
"missionId": "mex_ops"
}
},
"solar-orbiter-ops": {
"padc": {
"kernelSetId": 39,
"missionId": "esa_solar_flown"
},
"esa": {
"kernelSetId": 14,
"missionId": "solo_ops"
}
},
"solar-orbiter-plan": {
"padc": {
"kernelSetId": 40,
"missionId": "esa_solar_pred"
},
"esa": {
"kernelSetId": 15,
"missionId": "solo_plan"
}
}
}
Call to WebGeoCalc to obtain ephemeris.
We can use what B. Cecconi has written (see here).
Need to be careful on which service (OBSPM, NASA or ESA) to use (test if obspm service is available, else use NASA or ESA depending on the observer).
Add a Warning in the log IDL: if NASA or ESA or JAXA wgc service is use, say "careful, you could be banned if you send to many requests". Eventually add an message if an error occur, that say "You were banned"
Need to be careful on which kernel to use (e.g., for Jupiter archive or latest, depending on the date of the simulation).