jpl_radar¶
JPL Small-Body Radar Astrometry API.
This submodule retrieves small-body radar astrometry from the
JPL Small-Body Radar Astrometry API.
Delay and Doppler measurements are converted to Tudat tracking-data objects,
with JPL radar station positions defined directly in the code. The
read_jpl_radar_data() function provides the direct conversion interface.
- read_jpl_radar_data(target: str | int, target_body=None, epoch_start=None, epoch_end=None, timeout: float = 30.0)[source]¶
Retrieve JPL radar astrometry and return Tudat tracking data.
- Parameters:
target (str | int) – JPL small-body designation, for example
433or"2004 VB".target_body (str | None, default None) – Tudat body name for the target; defaults to the query designation.
epoch_start (float | DateTime | Time | datetime.datetime | None, default None) – Inclusive lower epoch bound. Numeric values are UTC seconds since J2000.
epoch_end (float | DateTime | Time | datetime.datetime | None, default None) – Inclusive upper epoch bound. Numeric values are UTC seconds since J2000.
timeout (float, default 30.0) – HTTP request timeout [s].
- Returns:
Tracking data and transmitter-frequency supplementary data.
- Return type:
- Raises:
requests.HTTPError – If the JPL API request is unsuccessful.
RuntimeError – If the API returns a radar measurement with unsupported units.
Notes
See
radar_data_to_tracking_data()for the time scale required by radar range observation models.
Supporting API¶
The query class and catalogue function below expose the canonical radar table, raw API records and station coordinates before conversion to Tudat tracking data.
- get_available_radar_targets(timeout: float = 30.0) list[str][source]¶
Return the JPL designations of all small bodies with radar astrometry.
The JPL API has no catalogue endpoint, so this downloads every radar measurement in the database; expect a large response.
- class JPLRadarQuery(target: str | int, timeout: float = 30.0)[source]¶
Bases:
objectRadar astrometry for one small body from the JPL Small-Body Radar API.
- Parameters:
- to_radar_data(target_body=None, epoch_start=None, epoch_end=None, target_point='C') pandas.DataFrame[source]¶
Return the measurements as a canonical radar table.
Delays [us] become round-trip ranges [m]; Doppler shifts [Hz] become received frequencies. Station codes are prefixed with
"JPL:"so that the matching JPL station positions are used.- Parameters:
target_body (str | None, default None) – Tudat body name for the target; defaults to the query designation.
epoch_start (float | datetime.datetime | None, default None) – Inclusive epoch bounds in UTC seconds since J2000 or datetime-like.
epoch_end (float | datetime.datetime | None, default None) – Inclusive epoch bounds in UTC seconds since J2000 or datetime-like.
target_point (str | None, default "C") – Bounce point to keep; None keeps all points.
- Returns:
Canonical radar table with one row per delay or Doppler measurement.
- Return type:
- Raises:
requests.HTTPError – If the JPL API request is unsuccessful.
RuntimeError – If the API returns a radar measurement with unsupported units.
Notes
See
radar_data_to_tracking_data()for the time scale required by radar range observation models.