rocks
¶
A python
client to explore and retrieve asteroid data from SsODNet. It serves to quickly get answers
to common questions as the ones below. All data is cited and new observations are ingested on a weekly basis.[1]
Best estimates of dynamical and physical parameters from the ssoCard.
Complete[2] literature overview with datacloud and the ssoBFT.
And more!
Is my data in SsODNet and getting cited?
rocks
makes this information accessible in two ways: via the command line for quick
exploration and via python
for scripted analysis. The syntax is simple and intuitive.
$ rocks id 221
(221) Eos
$ rocks class Eos
MB>Outer
$ rocks albedo Eos
0.136 +- 0.004
$ rocks masses Eos
+---+-------------+-------------+---------------+---------+--------------+
| | mass | err_mass_up | err_mass_down | method | shortbib |
+---+-------------+-------------+---------------+---------+--------------+
| 1 | 1.22125e+18 | 0.0 | 0.0 | EPHEM | Folkner+2014 |
| 2 | 2.39e+18 | 5.97e+17 | -5.97e+17 | DEFLECT | Goffin+2014 |
| 3 | 1.04688e+18 | 5.16159e+17 | -5.16159e+17 | EPHEM | Fienga+2019 |
+---+-------------+-------------+---------------+---------+--------------+
>>> from rocks import Rock # every asteroid is represented by a 'Rock' instance
>>> ceres = Rock("ceres") # retrieve ssoCard of (1) Ceres
>>> ceres.diameter.value # get the parameter values and metadata via the dot notation
848.4
>>> ceres.diameter.unit
'km'
>>> ceres.mass.value
9.384e+20
>>> ceres.mass.error
6.711e+17
Footnotes