query.query_orb_by_desig
query.query_orb_by_desig(
desigs,
drop_impacted=True,
drop_unreliable=True,
kind2bools=True,
neo2bool=True,
pha2bool=True,
twobody2bool=True,
strict=False,
max_retries=2,
retry_delay=0.25,
id_type='search',
)Query SBDB for one/few designation strings.
This uses the single-object SBDB API for each requested designation, one request at a time as JPL asks, and concatenates the results.
Parameters
desigs : str or iterable-
One or a few designations/search strings to query. Nested iterables (including NumPy arrays) are flattened.
strict : bool, default = False-
If
True, raiseValueErrorwhen any requested designation is not found. IfFalse(default), missing designations are skipped. max_retries : int, default = 2-
Number of retries for transient query failures (not for true not-found responses). Default is 2.
retry_delay : float, default = 0.25-
Initial delay in seconds between retries. Exponential backoff is used.
id_type : {"search", "desig", "spk"}, default = 'search'-
How SBDB reads each entry of
desigs: a search string, an exact primary designation, or an SPK-ID. Default is"search".
Returns
orb :~pandas.DataFrame-
Orbit table in a kete/skyloc-compatible schema. When SBDB supplies fitted comet non-gravitational parameters, the table preserves
A1,A2,A3,DT, and the supportedg(r)law fieldsalpha,r_0,m,n, andkformake_nongravs_models.