Skip to content

Release v1.8.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 17:04
· 96 commits to main since this release

Added

  • Crate-private utils::batch primitives (batch_map, batch_zip, batch_map_epochs, PARALLEL_THRESHOLD) with the length-1-or-N broadcast rule and shared-epoch context hoisting used by all vectorized transformation functions. @duncaneddy (#436)
  • Batch Earth frame transformations rotations_/positions_/states_{eci_to_ecef,ecef_to_eci,gcrf_to_itrf,itrf_to_gcrf} and positions_/states_{gcrf_to_eme2000,eme2000_to_gcrf} in Rust; a shared epoch hoists the IAU 2006/2000A rotation matrices across the batch. @duncaneddy (#437)
  • Python rotation_/position_/state_* Earth frame functions accept batches of vectors with an axis keyword (default -1, numpy component-axis convention) and Epoch | Sequence[Epoch] epoch arguments; single-vector calls are unchanged. @duncaneddy (#437)
  • Learn page "Vectorized Transformations" and examples/frames/vectorized_transforms.{py,rs}. @duncaneddy (#437)
  • Batch lunar, Mars, EMB, IAU, synodic (EMR/SER/GSE), and generic frame-router transformations in Rust (rotations_/positions_/states_*, rotations_icrf_to_body_fixed_iau, rotations_/positions_/states_frame_to_frame). @duncaneddy (#438)
  • Python planetary, synodic, and router frame functions accept batches (axis keyword) and epoch sequences. @duncaneddy (#438)
  • Batch coordinate transformations in Rust: states_koe_to_eci/states_eci_to_koe (+ _for_body), positions_{geodetic,geocentric}_to_ecef and inverses, positions_/states_{radec_to_inertial,inertial_to_radec}, positions_{radec_to_azel,azel_to_radec}, rotations_ellipsoid_to_{enz,sez} and inverses, relative_positions_{ecef_to_enz,enz_to_ecef,ecef_to_sez,sez_to_ecef}, positions_{enz,sez}_to_azel, points_in_polygon. @duncaneddy (#439)
  • Python coordinate functions accept batches with the axis keyword; relative-position functions broadcast a single site across a batch of positions (and vice versa); position_radec_to_azel/position_azel_to_radec accept epoch sequences. @duncaneddy (#439)
  • Batch relative-motion transformations in Rust (rotations_/states_* for RTN, ROE, and Keplerian-pair conversions) with chief/deputy broadcasting. @duncaneddy (#440)
  • Python relative-motion functions accept batches with the axis keyword; a single chief or deputy broadcasts across the other argument's batch. @duncaneddy (#440)
  • Batch equinoctial conversions states_koe_to_equinoctial / states_equinoctial_to_koe in Rust and batched input in Python. @duncaneddy (#441)
  • Python Keplerian property and anomaly functions accept (n, 6) element-set batches and element-wise arrays with numpy broadcasting against e; semimajor_axis* functions accept arrays; orbital_period_from_state accepts batched states. @duncaneddy (#441)
  • set_vectorization_length_threshold(n) / get_vectorization_length_threshold() in Rust (brahe::utils) and Python to configure the batch length at which vectorized functions use the global thread pool (default 1024). @duncaneddy (#451)
  • Typed CCSDS ADM reference-frame vocabularies mirroring the SANA registries (CCSDSCelestialBodyFrame, CCSDSOrbitRelativeFrame, CCSDSSpacecraftBodyFrame, ADMReferenceFrame), bidirectional conversion bridges between those vocabularies and the native ReferenceFrame type, and the APMHeader/AEMHeader/TDMHeader message headers, as the foundations for CCSDS APM/AEM/TDM support. @duncaneddy (#453)
  • BRAHE_NETWORK_MODE environment variable (online, offline, offline-strict) gating every network request brahe makes and controlling whether cached files past their time-to-live are refreshed, served, or rejected; network_mode() in Rust and brahe.network_mode() in Python read the active mode. @duncaneddy (#454)
  • docs/learn/utilities/environment_variables.md reference page for every environment variable the library reads. @duncaneddy (#454)
  • Attitude kinematics functions quaternion_derivative, angular_velocity_from_quaternion_derivative, euler_rates_to_angular_velocity, and angular_velocity_to_euler_rates, grounded in Diebel (2006) and verified by finite differences against the existing attitude representations. The quaternion pair takes a scalar_first argument selecting the component layout of the raw quaternion derivative, matching Quaternion::from_vector and Quaternion::to_vector. @duncaneddy (#455)
  • scripts/warm_data_cache.py --only <family> / --refresh and the celestrak:group:<name> manifest form. @duncaneddy (#460)
  • CCSDS APM (Attitude Parameter Message, 504.0-B-2) support: typed message structs with quaternion, Euler-angle, angular-velocity, spin, inertia, and maneuver blocks; KVN, XML, and JSON reading and writing; and Python bindings. The APM XML writer rejects characters XML 1.0 forbids, matching the other XML writers. @duncaneddy (#464)
  • spd_sqrtm_dmatrix for the square root of a dynamically sized symmetric positive semi-definite matrix, computed by eigendecomposition. It symmetrizes its input, clamps eigenvalues that are negative only to within round-off rather than rejecting them, and reports a decomposition that fails to converge instead of returning NaN. @duncaneddy (#467)
  • CCSDS AEM (Attitude Ephemeris Message, 504.0-B-2) support: segmented attitude ephemerides with all nine attitude data types; KVN, XML, and JSON reading and writing; conversion to and from attitude trajectories; and Python bindings. @duncaneddy. @duncaneddy (#471)
  • AttitudeTrajectory, relating two ReferenceFrame endpoints, with slerp, linear, and Lagrange attitude interpolation and attitude kinematics-based normalization of AEM data on ingest. It implements OrientationProvider, so an attitude history can serve as a frame-graph orientation source. @duncaneddy. @duncaneddy (#471)
  • AEM::register_for(name) registers a single-segment AEM's attitude as the orientation of an object's body frame, binding the message's unbound body endpoint to the object and inverting the series when the celestial endpoint is REF_FRAME_B. @duncaneddy. @duncaneddy (#471)
  • The SPICE kernels the unit test suites load are included in the repository, so cargo test succeeds immediately after cloning without a separate data-download step. @duncaneddy (#496)
  • CelestialFrame::MOD and CelestialFrame::TOD in the reference frame router, including from_string/Display support and the corresponding CelestialFrame.MOD/CelestialFrame.TOD Python attributes. @duncaneddy (#526)
  • Equinox-based Earth frame transformations bias_precession_iau2000, nutation_iau2000b, gast_rotation_iau2000b, and the rotation_/position_/state_ functions with batch forms for GCRF/MOD, MOD/TOD, GCRF/TOD, and TOD/ITRF in both directions (Rust and Python). @duncaneddy (#526)
  • MOD and TOD frame choices in the brahe transform CLI commands. @duncaneddy (#526)
  • Learn page and API reference for the equinox-based frames with six standalone examples in Python and Rust. @duncaneddy (#526)
  • OrbitTrajectory.to_frame(frame) (Rust DOrbitTrajectory::to_frame / SOrbitTrajectory::to_frame) converting a trajectory to any ReferenceFrame through the reference frame router, including orbit-relative frames of registered objects. @duncaneddy (#527)
  • ReferenceFrame == CelestialFrame comparisons in Rust (PartialEq both directions) and Python (ReferenceFrame.__eq__ accepts a CelestialFrame). @duncaneddy (#527)
  • KeplerianPropagator and SGPPropagator accept any Earth-rooted ReferenceFrame as output frame (for example CelestialFrame.TOD or a bound RTN frame), and Keplerian output is accepted in EME2000 as well as GCRF. @duncaneddy (#527)
  • OPM.state_in_frame(frame) (Rust OPM::state_in_frame) converting the message state vector from its declared REF_FRAME to any CelestialFrame or ReferenceFrame through the reference frame router. @duncaneddy (#528)
  • TryFrom<&CCSDSRefFrame> for CelestialFrame (with TryFrom<&CCSDSRefFrame> for ReferenceFrame delegating to it) and TryFrom<&ReferenceFrame> for CCSDSRefFrame mapping EME2000/J2000, GCRF, the ITRF realizations, and TOD (the reverse direction writes ITRF as ITRF2000 and rejects MOD, which has no ODM token). @duncaneddy (#528)
  • ADM TOD_EARTH and MOD_EARTH reference-frame tokens map to CelestialFrame::TOD and CelestialFrame::MOD in both directions. @duncaneddy (#528)
  • PrecessionNutationModel (IAU2006A, IAU2000B) with set_precession_nutation_model / get_precession_nutation_model and bias_precession_nutation_model(epc, model) in Rust and Python. @duncaneddy (#532)
  • FrameAxes and FrameCenter types, CelestialFrame::Centered, CelestialFrame::centered(center, axes), CelestialFrame::axes(), and CelestialFrame::center() in Rust and Python (FrameAxes, FrameCenter, CelestialFrame.Centered(center, axes), .axes, .center, .center_naif_id). @duncaneddy (#536)
  • NAIFId::name(), NAIFId::from_name() (accepting NAIF aliases such as SSB and EMB), and Display for NAIFId; Python NAIFId.from_name() and NAIFId.naif_name. @duncaneddy (#536)
  • Python ReferenceFrame.celestial_frame returning the wrapped CelestialFrame (or None), so a trajectory's frame exposes axes and center. @duncaneddy (#536)
  • brahe::ccsds::interop::segment_celestial_frame, state_for_segment, and state_into_segment_axes for writing trajectories into OEM segments, shared by the Python bindings. @duncaneddy (#536)
  • CCSDSRefFrame::ICRF and CCSDSRefFrame::MCI tokens; TryFrom<&CCSDSRefFrame> for FrameAxes; brahe::ccsds::interop::odm_celestial_frame resolving a message's REF_FRAME, REF_FRAME_EPOCH, and center to a CelestialFrame; NAIFId implements FromStr. @duncaneddy (#536)
  • Example examples/frames/mars_centered_eme2000 and the "Axes and Centers" section of the frame transformations page. @duncaneddy (#536)
  • Keplerian element trajectories and propagator output in the MOD and TOD frames for OrbitTrajectory, KeplerianPropagator, and SGPPropagator, alongside the ICRF-aligned inertial frames and EME2000. @duncaneddy (#539)
  • FrameAxes::TEME and CelestialFrame::TEME in the reference frame router with from_string/Display support, the FrameAxes.TEME and CelestialFrame.TEME Python attributes, and the TEME choice in the brahe transform CLI commands. @duncaneddy (#542)
  • Keplerian element trajectories and propagator output in TEME axes for OrbitTrajectory, KeplerianPropagator, and SGPPropagator, alongside MOD and TOD. @duncaneddy (#542)
  • gmst82, greenwich_mean_sidereal_rotation, and the rotation_/position_/state_ functions with batch forms for GCRF/TEME and TEME/ITRF in both directions (Rust and Python). @duncaneddy (#542)
  • CCSDS mappings for the ODM TEME and ADM TEMEOFDATE reference frame tokens to CelestialFrame::TEME in both directions; OEM, OPM, and AEM messages in TEME convert to native trajectories and states. @duncaneddy (#542)
  • Learn page and API reference for the TEME frame with three standalone examples in Python and Rust, and a TEME output section in the SGP propagation guide. @duncaneddy (#542)
  • FrameAxes::TODofEpoch(Epoch) and FrameAxes::TEMEofEpoch(Epoch) epoch-frozen inertial axes, frame_epoch on FrameAxes and CelestialFrame, and the CelestialFrame::tod_of_epoch / teme_of_epoch constructors, mirrored in Python as FrameAxes.TODofEpoch, FrameAxes.TEMEofEpoch, CelestialFrame.tod_of_epoch, CelestialFrame.teme_of_epoch, and the frame_epoch properties. @duncaneddy (#545)
  • Keplerian element trajectories and propagator output in the of-epoch axes, alongside MOD, TOD, and TEME. @duncaneddy (#545)
  • ref_frame_epoch keyword parameter and property on the Python OEMSegment, in owned and OEM-attached modes. @duncaneddy (#545)
  • brahe.clients Python namespace re-exporting celestrak, spacetrack, datasets.gcat and RateLimitConfig, mirroring brahe::clients; the flat module paths are unchanged. @duncaneddy (#548)
  • brahe::math::is_symmetric for square-matrix symmetry checks within a relative tolerance. @duncaneddy (#549)
  • brahe::itc (brahe.itc): ITC, ITCHeader, ITCStateVector, ITCCovarianceFrame with from_str, from_file, to_string, to_file, record builders, and file_name for compliant Space-Track names. @duncaneddy (#549)
  • brahe::spacetrack::SpaceTrackEphemerisFileName and SpaceTrackEphemerisFileCategory (brahe.spacetrack) to parse and generate the Spaceflight Safety Handbook file-name convention. @duncaneddy (#549)
  • Starlink Modified ITC test assets under test_assets/starlink/. @duncaneddy (#549)
  • ITC::to_trajectory and ITC::to_trajectory_with_covariance_variant (ITC.to_trajectory(covariance_variant=None) in Python) producing a six-dimensional Cartesian OrbitTrajectory with covariance rotated from RTN into the state frame. @duncaneddy (#551)
  • ITC::from_trajectory and ITC::from_trajectory_with_covariance_variant building a message from a trajectory's samples, converting frames and carrying covariance through the GCRF/EME2000 bias and into RTN. @duncaneddy (#551)
  • TryFrom<&ITC> for DOrbitTrajectory. @duncaneddy (#551)
  • ITCStateVector::to_vector and From<&ITCStateVector> for SVector6 (ITCStateVector.to_vector() in Python). @duncaneddy (#551)
  • brahe::utils::dmatrix_from_smatrix and smatrix_from_dmatrix, shared fixed-to-dynamic matrix conversions. @duncaneddy (#551)
  • StarlinkClient (brahe::starlink, bh.StarlinkClient) with get_manifest, refresh_manifest, cached_manifest, previous_manifest, download_ephemeris, get_ephemeris, get_trajectory, get_trajectory_with_covariance_variant, save_ephemeris, download_all, save_all, prune_cache, and cached_files. @duncaneddy (#554)
  • StarlinkManifest and StarlinkManifestEntry with lookups by NORAD ID and name, changed_since, and to_dataframe. @duncaneddy (#554)
  • get_starlink_cache_dir and the brahe.clients.starlink namespace. @duncaneddy (#554)
  • time::conversions::days_in_month (bh.days_in_month), shared by the epoch calendar arithmetic and the HTTP-date parser. @duncaneddy (#554)
  • utils::fs::move_file, copy_file, is_within, and validate_path_component, shared file-management helpers used by the Starlink client and the Space-Track file-name parser; save_ephemeris and save_all reject any destination inside the cache tree before downloading. @duncaneddy (#554)
  • brahe starlink manifest and brahe starlink download CLI commands; download takes --output to place files outside the cache and --keep-cached to copy rather than move them. @duncaneddy (#555)
  • get_starlink_cache_dir in Python. @duncaneddy (#555)
  • scripts/seed_starlink_cache.py as just seed-starlink-cache, run by the offline CI example and docs jobs; it refuses to replace a live manifest without --force. @duncaneddy (#555)
  • Examples itc/itc_parse, itc/itc_to_trajectory, itc/itc_write, datasets/starlink_get_ephemeris, datasets/starlink_manifest, and datasets/starlink_trajectory_access. @duncaneddy (#555)
  • Learn pages for Starlink public ephemerides and the Modified ITC format; Library API pages for StarlinkClient, StarlinkManifest, ITC and SpaceTrackEphemerisFileName; updates to the ephemeris, caching, rate limiting, file operations and data sources pages. @duncaneddy (#555)
  • brahe::frames::state_transform_jacobian, rotate_covariance, rotate_covariance_6, covariance_frame_to_frame, and validate_covariance_shape, plus the batch forms state_transform_jacobians, rotate_covariances, and covariances_frame_to_frame; the Python bh.state_transform_jacobian, bh.rotate_covariance, and bh.covariance_frame_to_frame dispatch on input shape like state_frame_to_frame. @duncaneddy (#557)
  • brahe::relative_motion::jacobian_rtn_to_eci, jacobian_eci_to_rtn, covariance_rtn_to_eci, and covariance_eci_to_rtn with an OrbitRelativeFrameVariant argument (Python mirrors). @duncaneddy (#557)
  • OrbitTrajectory.covariance_in_frame(frame, epoch), covariance_itrf, covariance_ecef, covariance_eme2000, and covariance_rtn_with_variant(epoch, variant) on both trajectory types. @duncaneddy (#557)
  • brahe::math::skew_symmetric, block_diagonal, symmetrize, symmetrize_6, and is_symmetric. @duncaneddy (#557)

Changed

  • scripts/warm_data_cache.py now warms each manifest entry independently with retries, aggregates failures into one report, and rejects an unrecognized manifest prefix with a named error rather than passing it to load_spice_kernel. @duncaneddy (#424)
  • Python Keplerian property and anomaly functions no longer read a 1-D 6-element array as one element set: 1-D arrays of any length are element-wise values (orbital_period(oe) returns six periods; use orbital_period(oe[0]) or a (1, 6) array). Element sets are passed as (n, 6) rows. @duncaneddy (#441)
  • batch_state_koe_osc_to_mean / batch_state_koe_mean_to_osc renamed to states_koe_osc_to_mean / states_koe_mean_to_osc in Rust and Python. @duncaneddy (#441)
  • scripts/add_stub_annotations.py renders A or B docstring return types as Union[A, B] in the generated stubs. @duncaneddy (#441)
  • Development tooling: ruff pre-commit hook updated to v0.16.3 with the previous lint rule set and Python-only file discovery pinned in pyproject.toml. @duncaneddy (#443)
  • Development tooling: the repository lints under ruff 0.16 default rules; Typer parameter calls are declared as immutable defaults. @duncaneddy (#444)
  • Remove pin of time crate after upstream fixes in cookies crate landed. @duncaneddy (#446)
  • Updated uv.lock to address security warnings. @duncaneddy (#449)
  • Pin minimum supported rust version (MSRV) to 1.95 for build consistency. @duncaneddy (#449)
  • Celestrak single-object lookups (catnr, intdes, name) resolve from a cached copy of the active group, fetching it once instead of one request per object; objects not in active are still requested individually, and a name search that matches in active returns only active objects. @duncaneddy (#457)
  • CI test, example, plot, and docs steps all run with BRAHE_NETWORK_MODE=offline from per-family restored caches after an online warm step; loopback URLs are exempt from BRAHE_NETWORK_MODE, which is what lets the unit-test jobs' local mock servers keep working offline. The weekly warm_data_cache.yml warms each family independently, refreshes a run-id-keyed Celestrak cache (active, starlink, gps-ops, and four debris groups) so no PR run contacts Celestrak, and saves the plot-resource caches independently of each other. @duncaneddy (#460)
  • The Celestrak-backed documentation examples run on every PR and docs build from the warmed Celestrak cache, so their output and figures are always published; the NETWORK flag now marks only examples whose data cannot be served from the CI caches. @duncaneddy (#462)
  • just setup warms the example and plot data caches via download-resources, so the example and plot recipes run from a warm cache instead of racing cold downloads. @duncaneddy (#462)
  • The KVN, XML, and JSON codecs are split into one reader/writer module per message type, with the token stream, intermediate structs, and shared block helpers in a common module per codec; public paths and wire output are unchanged. @duncaneddy (#464)
  • Default IntegratorConfig tolerances tightened from abs_tol 1e-6 / rel_tol 1e-3 to 1e-8 / 1e-10, since the previous values permit kilometre-scale per-day error once adaptive stepping is effective. @duncaneddy (#469)
  • NumericalPropagationConfig::high_precision() tightened to 1e-12 absolute and relative; its previous relative tolerance of 1e-8 was looser than the new default. @duncaneddy (#469)
  • Default IntegratorConfig::max_step_attempts raised from 10 to 25. Each rejection shrinks the step by at most min_step_scale_factor, so ten attempts bound one call to roughly seven orders of magnitude of reduction, which the tightened tolerances no longer leave comfortable through a low perigee pass. @duncaneddy (#469)
  • AttitudeTrajectory accepts repeated epochs, which represent a discontinuity so an impulsive attitude maneuver can hold its pre- and post-maneuver state at the same instant. A query at a repeated epoch returns the most recently added state, and Lagrange windowing is confined to the run of strictly increasing epochs containing the bracket rather than fitting a polynomial across the jump. This matches the orbit and generic trajectories. @duncaneddy. @duncaneddy (#471)
  • state_providers is now a module directory with one file per provider family; every trait is re-exported, so existing paths resolve unchanged. @duncaneddy. @duncaneddy (#471)
  • Celestrak GP groups used by examples and documentation plots are committed under test_assets/celestrak and seeded into the local cache, so example and plot runs no longer contact Celestrak. Live client behavior remains covered by the integration test suite. @duncaneddy (#485)
  • Rust documentation tests run with the default thread count rather than being forced onto a single thread, which reduces their runtime by roughly a factor of three. @duncaneddy (#492)
  • Rust coverage instrumentation runs only on the platform whose coverage is actually uploaded. The other platforms run the same tests without instrumentation, which is substantially faster. @duncaneddy (#494)
  • The Rust and Python unit test workflows no longer restore, warm, or transfer a NAIF kernel cache, since the kernels they need are committed. @duncaneddy (#496)
  • The Python test suite runs in parallel across available cores, distributed per module so the suite's module-scoped fixtures and ordering constraints continue to hold. @duncaneddy (#501)
  • Breaking: ReferenceFrame renamed to CelestialFrame in Rust and Python — the frame router, all frame-router functions, and every associated binding now use the new name. The ReferenceFrame name now denotes the new unified supertype introduced in #508 spanning celestial, orbit-relative, and body frames, so code using ReferenceFrame::GCRF becomes CelestialFrame::GCRF. @duncaneddy (#507)
  • Compile the Epoch string-parsing regexes once instead of on every Epoch::from_string call, making string-to-epoch construction roughly three orders of magnitude faster. @duncaneddy (#519)
  • (Chore) Consolidate test_data/ into test_assets/ to reduce folder duplication. @duncaneddy (#521)
  • Clarified misinterpretation of TOD-based OPM file as ECEF in OPM example until full transformation can be implemented. @duncaneddy (#521)
  • Trajectory, propagator, and CCSDS interop frame fields and arguments are ReferenceFrame; constructors accept a CelestialFrame or ReferenceFrame (bh.CelestialFrame.ECI where bh.OrbitFrame.ECI was used; bh.CelestialFrame.LCI for the former BodyCenteredInertial(301)). @duncaneddy (#527)
  • OrbitTrajectory.frame returns a ReferenceFrame whose string form is the celestial name (GCRF, ITRF, LCI) rather than the former ECI/ECEF/BCI(301) labels. @duncaneddy (#527)
  • Keplerian element trajectories and propagator outputs are valid in ICRF-aligned inertial celestial frames and EME2000; CelestialFrame.GCRF is accepted wherever ECI was (they are the same frame). @duncaneddy (#527)
  • plot_trajectory_3d converts trajectories around any central body into that body's inertial frame with to_frame instead of rejecting a mismatched frame. @duncaneddy (#527)
  • OEM.register_for accepts any celestial trajectory frame; the Python OEM-from-trajectory path converts through the router, so a non-Earth body-centered trajectory is re-centered instead of rejected. @duncaneddy (#527)
  • to_keplerian keeps the trajectory's own frame for element input and, for Cartesian input, produces elements about the frame's center (accepted for ICRF-aligned inertial frames and EME2000; rejected for Earth-fixed, of-date, orbit-relative, and body frames, where it previously converted through GCRF and labeled the result ECI). state_koe_osc short-circuits exactly for Keplerian trajectories in any ICRF-aligned frame. @duncaneddy (#527)
  • covariance_eci/covariance_gcrf error, naming the frame, for trajectory frames without a covariance representation; propagator error messages for the Keplerian-frame and Earth-only rules changed. @duncaneddy (#527)
  • OrbitalTrajectory gains a required to_frame method (breaking for external implementors). Propagator constructors, with_output_format, and stepping can return router errors for frames that cannot be evaluated; KeplerianPropagator::reset panics if the output frame can no longer be resolved; set_initial_conditions leaves the propagator unchanged when a conversion fails. @duncaneddy (#527)
  • Python KeplerianPropagator(...) and set_initial_conditions accept angle_format=None for Cartesian input, mirroring the Rust Option<AngleFormat>; passing None with a Keplerian representation now raises BraheError instead of TypeError. @duncaneddy (#527)
  • ccsds_ref_frame_to_orbit_frame is renamed ccsds_ref_frame_to_reference_frame and returns a ReferenceFrame; the token mapping itself lives in the new ccsds_ref_frame_to_celestial_frame, which OEM::register_for uses directly. @duncaneddy (#527)
  • OEM segments declared in TOD load as OrbitTrajectory values whose frame is CelestialFrame::TOD through segment_to_dorbit_trajectory, segment_to_sorbit_trajectory, TryFrom<&OEM>, OEM::register_for, and Python OEM.to_trajectories(), instead of returning an error. @duncaneddy (#528)
  • Python OEMSegment.add_trajectory writes trajectories into segments declared in TOD, rotating from the trajectory frame through the reference frame router. @duncaneddy (#528)
  • ODM reference-frame tokens without a native trajectory frame report distinct errors: TEME and TDR have no native frame, orbit-relative tokens (RTN, TNW, RSW) require an object anchor, and unknown tokens are reported as unrecognized. @duncaneddy (#528)
  • Python OEMSegment.add_trajectory raises BraheError for an unsupported segment frame in both standalone and OEM-attached segments. @duncaneddy (#528)
  • The opm_maneuver_propagation examples convert the TOD state with state_in_frame, schedule the sample message's maneuvers one hour after the state epoch preserving their spacing, rotate EME2000 delta-V by the frame bias, and rotate RTN delta-V with the propagated state at ignition; the opm_init_propagator examples use state_in_frame for the ITRF sample; docs/learn/ccsds/opm.md and docs/learn/ccsds/oem.md describe TOD handling. @duncaneddy (#528)
  • GCRF/ITRF, ECI/ECEF, and GCRF/MOD/TOD transformations evaluate IAU 2006/2000A by default (previously IAU 2000B); results move by 0.33 mas RMS and up to 1.24 mas over 1990-2040 (0.25 m at GEO, 0.04 m at LEO), and the CIP evaluation is about eight times slower unless IAU2000B is selected. @duncaneddy (#532)
  • Equinox building blocks bias_precession_iau2000, nutation_iau2000b, and gast_rotation_iau2000b are replaced by bias_precession(epc, model), nutation(epc, model), and gast_rotation(epc, model). @duncaneddy (#532)
  • Documentation, rustdoc, and docstrings name the IAU 2006/2000A model and the switch; the router table rows for ITRF, MOD, and TOD are corrected. @duncaneddy (#532)
  • Frame modules share one implementation of state rotation and rotating-axes transport in frames::kinematics; no user-facing behavior changes. @duncaneddy (#534)
  • NAIFId::from(i32) returns the named variant for known IDs. @duncaneddy (#536)
  • OEM segments and OPM messages with a non-Earth CENTER_NAME load as Centered(axes, center) trajectories and states (for example Centered(MARS, EME2000) for OEMExample4.txt); OPM::state_in_frame accepts any center. @duncaneddy (#536)
  • keplerian_center accepts any celestial frame whose axes are ICRF, EME2000, MOD, or TOD about any center (extending #539 to centered frames); the trajectory covariance and Keplerian fast paths test axes rather than frame identity. @duncaneddy (#536)
  • icrf_aligned_inertial resolves through centered(ICRF, center). @duncaneddy (#536)
  • Writing a ReferenceFrame with ICRF axes to a CCSDS token gives GCRF for an Earth center, MCI for a Mars center, and ICRF otherwise. @duncaneddy (#536)
  • SGPPropagator converts its TEME output through the shared frame functions: GCRF and ITRF outputs use the pairwise transforms, state_eci shares the GCRF path, and every other frame goes through the router from TEME. GCRF, ITRF, and PEF values move by up to about 1e-2 m and 1e-5 m/s in low Earth orbit, which is the GMST 1982 evaluation gaining precision (two-part MJD instead of a single-double Julian date, about 1e-9 rad about the pole); the reference-value tests pin the recorded values at that level. @duncaneddy (#542)
  • SGPPropagator.state documents that it returns the raw SGP4 state in TEME; state_gcrf, state_itrf, and state_in_frame provide other frames. @duncaneddy (#542)
  • just set-version now also updates the version in CITATION.cff, and the release workflow validates that it matches the pushed tag. @duncaneddy (#544)
  • ODM TOD and TEME messages carrying REF_FRAME_EPOCH load as trajectories and states in the of-epoch frame about the message center instead of being converted to GCRF on load; odm_celestial_frame and segment_celestial_frame return only the CelestialFrame. @duncaneddy (#545)
  • CCSDSRefFrame::try_from writes the of-epoch axes as their parent TOD and TEME tokens; ADM conversion of TEMEOFEPOCH and of any epoch-frozen native frame returns an error naming the missing frame epoch. @duncaneddy (#545)
  • Group the Celestrak, Space-Track and GCAT clients under brahe::clients, re-exported at the crate root; brahe::datasets::gcat and the GCAT types and functions formerly exported from brahe::datasets are now brahe::gcat and crate-root exports (Python brahe.datasets.gcat is unchanged). @duncaneddy (#548)
  • Share the sliding-window rate limiter across clients as brahe::clients::RateLimitConfig; the module path brahe::spacetrack::rate_limiter is now brahe::clients::rate_limiter, while brahe::spacetrack::RateLimitConfig remains a re-export with unchanged defaults. @duncaneddy (#548)
  • Add --workspace argument to just lint and just lint-fix so that python bindings are linted as well. @duncaneddy (#553)
  • Celestrak and Starlink cache staleness share utils::cache::is_older_than, and mirror cache labels use utils::cache::short_hash (SHA-256). @duncaneddy (#554)
  • joss/paper.bib references now carry a doi field where one is registered on Crossref (11 entries). @goelakash (#556)
  • OrbitTrajectory::from_orbital_data and the covariance setters accept covariance in any Cartesian frame; to_frame, to_eci, to_gcrf, to_eme2000, to_itrf, and to_ecef rotate covariance for every frame pair, and a conversion to the same frame keeps it. @duncaneddy (#557)
  • covariance_rtn and covariance_rtn_with_variant on both trajectory types build the RTN frame about the trajectory's own central body from state_bci, so lunar and planetary trajectories get a body-centred RTN; Earth-orbit results are unchanged, and DNumericalOrbitPropagator::covariance_rtn is computed through the same shared Jacobian and symmetrized. @duncaneddy (#557)
  • frames::covariance is the public covariance module (brahe::frames::* exports it); math::covariance is private with its items re-exported through math::*. @duncaneddy (#557)
  • Keplerian-representation trajectories reject covariance rotation and covariance_rtn with a single error instead of silently applying a Cartesian Jacobian. @duncaneddy (#557)
  • Cargo build caches in CI are saved only by test-rust (one per OS) and test-examples (Linux); every other workflow job restores one of those read-only, and the wheel, sdist and release jobs run without a cargo cache. @duncaneddy (#568)
  • The rust-script example cache saved on main drops the per-example executables under deps/ and is rebuilt clean whenever Cargo.lock or the example build script changes. @duncaneddy (#568)
  • warm_data_cache.yml no longer runs the package validation builds. @duncaneddy (#568)
  • Update actions-rust-lang/setup-rust-toolchain from 1.17.0 to 2.0.0 across all workflows. @duncaneddy (#582)
  • Exclude .cargo from the published crate alongside .github. @duncaneddy (#582)
  • Update quick-xml to 0.42, uuid to 1.26.1, and lru to 0.18.5. @duncaneddy (#588)

Removed

  • scripts/warm_data_cache.py no longer warms Celestrak groups, and its --refresh flag is removed along with the Celestrak family it existed to clear. The celestrak family is removed from the data-cache action. @duncaneddy (#485)
  • OrbitFrame (Rust brahe::trajectories::OrbitFrame, Python brahe.OrbitFrame). @duncaneddy (#527)
  • ccsds_ref_frame_to_reference_frame and ccsds_ref_frame_to_celestial_frame; use ReferenceFrame::try_from(&ccsds_ref_frame) or CelestialFrame::try_from(&ccsds_ref_frame). @duncaneddy (#528)
  • TryFrom<&CCSDSRefFrame> for CelestialFrame and TryFrom<&CCSDSRefFrame> for ReferenceFrame: a reference-frame token alone no longer identifies a frame without its center; use odm_celestial_frame or FrameAxes::try_from. @duncaneddy (#536)
  • The Earth-only CENTER_NAME check in OPM::state_in_frame. @duncaneddy (#536)
  • brahe::ccsds::interop::state_for_segment and state_into_segment_axes; the frame returned by segment_celestial_frame carries the epoch, so state_in_frame on a trajectory performs the conversion they used to apply. @duncaneddy (#545)
  • The GCRF/EME2000-only covariance rule and its helpers (covariance_frame_allowed, inertial_covariance_rotation, frame_covariance_jacobian, frame_covariance_jacobian_6). @duncaneddy (#557)

Fixed

  • Fixed missing figures, CSV tables, and text output on the deployed documentation site for the NETWORK-flagged examples by adding a same-run artifact hand-off from the --network example run to the docs deploy, with releases now failing loud if the hand-off is absent instead of publishing incomplete docs. @duncaneddy (#419)
  • Fixed getting-started Rust example snippets that exposed the internal FLAGS directive or omitted the #![allow(unused_imports)] attribute needed to compile a copied block, normalizing all of them to show a crate-level allow attribute and hide the runner directive. @duncaneddy (#419)
  • Fixed the weekly Warm Brahe Data Cache workflow aborting on the horizons: manifest entry, which had no handler in scripts/warm_data_cache.py. @duncaneddy (#424)
  • brahe.cli current-epoch helper now uses UTC rather than local time when computing element-set age. @duncaneddy (#444)
  • Non-finite/non-numeric CLI expression results and unknown time_units in plot_estimation_* raise TypeError when the value's type is wrong (previously ValueError); the string-valued cases keep ValueError. @duncaneddy (#444)
  • Celestrak default cache TTL documentation stated 6 hours; the default is 2 hours. @duncaneddy (#454)
  • SBDB cache reads no longer swallow file read errors. @duncaneddy (#454)
  • Python CelestrakClient methods release the GIL while a request is in flight, so other Python threads can run during Celestrak downloads. @duncaneddy (#457)
  • parse_ccsds_datetime accepts the optional trailing Z terminator permitted by the CCSDS time-code formats. @duncaneddy (#464)
  • SpaceTrackClient releases the GIL during every request, auto-login, and rate-limit wait, so other Python threads keep running while a Space-Track call is in flight. @duncaneddy (#465)
  • Download errors for NAIF kernels, star catalogs, and the FES2004 model name the resource as well as the URL, including the BRAHE_NETWORK_MODE refusal message. @duncaneddy (#466)
  • The Celestrak client retries requests that fail with a DNS HostNotFound error, consistent with the other download paths. @duncaneddy (#466)
  • Loopback detection for BRAHE_NETWORK_MODE handles scheme-relative URLs. @duncaneddy (#466)
  • Covariance interpolation no longer fails on long arcs; the 2-Wasserstein cross term is formed through symmetric positive semi-definite square roots instead of a general square root of the covariance product, which the Denman-Beavers iteration cannot resolve past a condition number of roughly 1e10. The interpolated covariance is now symmetric by construction. @duncaneddy (#467)
  • sqrtm and sqrtm_dmatrix no longer reject well-converged square roots of large matrices; the convergence residual is measured against each column's own magnitude rather than a fixed absolute bound. @duncaneddy (#467)
  • Event detection during backward propagation no longer overflows the stack; the bisection bracket bounds are ordered by time rather than assuming forward propagation, and the refinement recursion is bounded. @duncaneddy (#468)
  • Backward propagation no longer skips event callbacks; detected events within a step are processed in the order propagation reaches them rather than always ascending in time. @duncaneddy (#468)
  • Fixed #461: Adaptive integrators (RKF45, RKF78, DP54, RKN1210) now grow their step size during propagation; abs_tol, rel_tol and max_step previously had no effect because every step-size increase suggested by the error controller was discarded, only allowing equal or smaller steps from the initial step. (Found by @carter-franz). @duncaneddy (#469)
  • CCSDS OEM, OMM, and OPM KVN writers now emit the header COMMENT lines before CLASSIFICATION, matching the fixed keyword order of the CCSDS 502.0-B-3 header tables. @duncaneddy (#474)
  • CCSDS OEM, OMM, and OPM XML parsers now collect repeated COMMENT elements instead of failing with duplicate field COMMENT. @duncaneddy (#476)
  • CCSDS OEM XML parsing now accepts messages with more than one <segment>, and OPM XML parsing accepts more than one <maneuverParameters>; both previously failed with a duplicate field error, which made brahe unable to re-read its own multi-segment OEM and multi-maneuver OPM XML output. @duncaneddy (#476)
  • CCSDS OEM, OMM, OPM, and CDM XML writers now escape &, <, and > in free-text fields, and " in the USER_DEFINED_* value attribute, so messages carrying those characters produce well-formed XML. @duncaneddy (#477)
  • CCSDS CDM XML parsing now resolves entity references in element text; previously any escaped & or < truncated the value to the fragment following the last entity. @duncaneddy (#477)
  • CCSDS CDM XML parsing now normalizes USER_DEFINED_* attribute values, which previously came back with their escapes intact. @duncaneddy (#477)
  • CCSDS CDM XML output now includes the covariance block's comments, which were dropped entirely. @duncaneddy (#477)
  • CCSDS OEM, OMM, OPM, and CDM writers now convert each epoch to the message's declared TIME_SYSTEM before formatting, per CCSDS 502.0-B-3 subsection 7.5.11 and CCSDS 508.0-B-1 subsection 6.2.3.4, instead of writing it in whichever time system the Epoch happened to carry. CREATION_DATE and all CDM time tags are written in UTC. @duncaneddy (#478)
  • CCSDS OEM, OMM, OPM, and CDM output is now stable across repeated write-and-reread cycles, covered by regression tests for all four message types in KVN, XML, and JSON. @duncaneddy (#479)
  • CCSDS CDM, OMM, and OPM KVN parsers now attribute each COMMENT to the section it introduces rather than to the preceding one, so a comment ahead of TCA is a relative-metadata comment and one ahead of OBJECT is that object's metadata comment. @duncaneddy (#480)
  • CCSDS CDM KVN round trips are now stable: write(parse(write(x))) == write(x) holds for CDMExample1 through CDMExample4 and CDMExample_issue_940, which previously migrated relative-metadata comments into the header on every cycle. @duncaneddy (#480)
  • CCSDS OEM, OMM, OPM, and CDM JSON writers now emit each block's comments, and the JSON readers restore them to the block they belong to; previously every comment was dropped on the first write to JSON. @duncaneddy (#481)
  • Interpolating an orbit or generic trajectory exactly at a repeated epoch now returns the stored state instead of NaN. Repeated epochs remain supported so an impulsive maneuver can hold both its pre- and post-burn state; the most recently added state at that epoch is returned. @duncaneddy. @duncaneddy (#482)
  • Even-point Lagrange interpolation now selects a window balanced around the query rather than one sample early, roughly halving interior interpolation error; two-point Lagrange previously excluded the upper bracketing sample and extrapolated. Odd point counts are unchanged. @duncaneddy. @duncaneddy (#482)
  • CCSDS OPM and OMM writers no longer emit an EPOCH in the covariance block, which CCSDS 502.0-B-3 tables 3-3 and 4-3 do not define. The stray keyword overwrote the state vector's epoch when the message was read back, silently moving the state. The OEM covariance block, where EPOCH is required, is unchanged. @duncaneddy (#484)
  • CCSDS OEM JSON output now includes covariance comments, and CDM JSON output includes the data-section comments; both were read but never written. @duncaneddy (#484)
  • CCSDS CDM XML parsing now reads CDATA sections, which were previously discarded. @duncaneddy (#484)
  • Example and documentation-plot CI runs no longer hang when Celestrak is unreachable. The groups were previously fetched live whenever no restorable cache existed, which was the normal case for a pull request branched from main, since every saved Celestrak cache was scoped to a ref other pull requests cannot read. @duncaneddy (#485)
  • CCSDS CDM JSON output now includes the OD parameters and additional parameters blocks, which were omitted entirely, so a CDM round-tripped through JSON no longer loses them. @duncaneddy (#486)
  • CCSDS CDM MIN_DV and MAX_DV are now written in KVN and XML; they were parsed but emitted by no encoder. @duncaneddy (#486)
  • CCSDS covariance values now round-trip across a write and reread. Written at full f64 precision they drifted by one unit in the last place per cycle, because the m²/km² conversion is not exactly invertible; they are rounded to fifteen significant digits at conversion. @duncaneddy (#486)
  • Epoch::to_datetime and Epoch::to_datetime_as_time_system now report the nanoseconds the epoch holds. Rounding to whole nanoseconds was counted twice, so a value was reported one nanosecond too large whenever it carried into the next second, and an epoch built on a whole second reported a fraction of a nanosecond that was not there. Reading and rewriting a date accumulated a nanosecond per cycle. @duncaneddy. @duncaneddy (#488)
  • A continuous-integration job that stops making progress, such as one waiting on an unreachable data mirror, now fails within a bounded time instead of occupying a runner until the six-hour default limit and delaying other work. @duncaneddy (#489)
  • Rust examples reuse a shared compiled dependency build between runs instead of rebuilding it for every example, which was previously prevented by generating each example at a new temporary path. @duncaneddy (#495)
  • The changelog validation check no longer reports a spurious failure on pull requests whose description is filled in just after creation, which is how the GitHub CLI and stacked-pull-request tooling create them. It now runs when a pull request is marked ready for review rather than while it is still a draft. @duncaneddy (#498)
  • The aggregate continuous-integration check no longer reports a failure when a run is superseded by a newer push. Previously any pull request that received a second push while its checks were still running displayed a failed status for the abandoned run. @duncaneddy (#500)
  • Continuous-integration jobs no longer compile the Rust extension twice. Dependency installation was building it under an isolation that could not reuse the cached compiler output, only for the following step to rebuild it. @duncaneddy (#503)
  • Fixed an intermittent failure in the SpaceTrack GIL test, whose mock server closed each connection while advertising a reusable one, causing the client to send the query on a socket the server had already abandoned. @duncaneddy (#510)
  • CCSDS ODM and CDM XML writing now rejects text carrying a character XML 1.0 forbids (the C0 controls other than tab, line feed, and carriage return, along with U+FFFE and U+FFFF) with an error naming the element and code point, instead of emitting a document that no conforming XML parser will read. @duncaneddy (#511)
  • Fixed utils::threading::tests::test_get_max_threads failing intermittently: it asserted that the configured thread count is at most the CPU count, which set_num_threads deliberately permits callers to exceed, against global state other tests in the module leave oversubscribed. @duncaneddy (#513)
  • Epoch::from_datetime and Epoch::to_datetime now round-trip in UT1, TDB, TCB, and TCG; previously an epoch built from a whole second in one of these systems read back up to 693 ns away from it and drifted further on each rebuild. @duncaneddy (#513)
  • Epoch::to_datetime reports the whole second an epoch was built on rather than the preceding second carrying a nanosecond count just short of a full second, and no longer clamps a value lying within half a nanosecond of the next second onto that boundary. @duncaneddy (#513)
  • UTC epochs before 1972, when UTC ran at a rate offset from TAI rather than a whole number of seconds, now report the date they were built from; previously Epoch::to_datetime returned up to 0.108 s early and rebuilding from the reported fields displaced the epoch by that amount. @duncaneddy (#514)
  • UTC epochs on a day carrying a leap second now report the second they were built on throughout the day; previously every epoch past midday on such a day reported one second late. @duncaneddy (#514)
  • time_system_offset returns the UTC offset in force at the instant it is given, rather than the entry TAI - UTC seconds later, correcting conversions within a leap second and across the pre-1972 rate offset. @duncaneddy (#514)
  • Converting from UT1 no longer shifts the leap-second lookup by up to 0.9 days by subtracting a UT1-UTC offset expressed in seconds from a fractional day. @duncaneddy (#514)
  • Fixed intermittent failures in the Rust unit-test suite caused by tests without an explicit #[serial] or #[parallel] annotation running concurrently with serial tests and mutating process-global state (the EOP, gravity and space weather providers, the SPICE kernel registry, the frame and object registries, the thread pool, and environment variables) out from under them. @duncaneddy (#516)
  • KeplerianPropagator with an EME2000 output frame no longer applies a spurious frame rotation in state_gcrf, and its ECEF/ITRF output arms no longer disagree. @duncaneddy (#527)
  • Frame conversion of a Keplerian trajectory declared in EME2000 now converts the elements about the correct frame instead of treating them as GCRF elements, matching the point-query accessors. @duncaneddy (#527)
  • The OPM maneuver propagation example no longer treats a TOD state vector as ECEF. @duncaneddy (#528)
  • Test fixtures set_test_static_eop (src/frames/gcrf_itrf.rs) and static_eop (tests/test_frames.py) apply the SOFA cookbook dX/dY celestial pole offsets at their true scale; new test_bias_precession_nutation_applies_cip_offsets tests assert the offsets enter the CIP with the correct sign and magnitude. @duncaneddy (#531)
  • wrap_to_2pi and the right-ascension conversions return values strictly in [0, 2 pi); an input a few 1e-17 below zero no longer maps to exactly 2 pi. @duncaneddy (#532)
  • PR Tests now filters build-irrelevant pull requests inside the workflow instead of with a trigger-level paths-ignore, so the required ci-success check is always reported rather than left pending indefinitely. @duncaneddy (#544)
  • The shared RateLimiter queues concurrent reservations one slot apart instead of waking every blocked caller at the same time, so download_all workers and Space-Track callers cannot burst past the configured cap. @duncaneddy (#554)
  • Check out the repository before setting up the Rust toolchain in the test-python and integration-python CI jobs so the Rust build cache restore can find Cargo.toml and compute a matching cache key. @duncaneddy (#567)
  • The NAIF, ICGEM, SBDB/Horizons and star catalog caches on main are no longer evicted between the weekly warm run and the scheduled integration run. @duncaneddy (#568)
  • The Windows and macOS Rust integration jobs run cargo test --tests, which skips doctests and keeps each attempt within the 30-minute retry cap. @duncaneddy (#569)
  • The Python 3.10 integration job fails when pytest fails instead of being masked by the coverage report command that follows it. @duncaneddy (#569)
  • Allow the linker_messages lint on macOS builds so the compact-unwind note about the brahe test binary's __eh_frame section does not fail the build under cargo's build.warnings = "deny". @duncaneddy (#582)
  • Fix clippy::clone_on_copy errors reported by Rust 1.99 clippy in the Python bindings and event-type tests. @duncaneddy (#586)
  • Fix block_diagonal, accel_gravity_spherical_harmonics, accel_gravity_spherical_harmonics_clenshaw, accel_gravity_spherical_harmonics_cunningham, accel_drag, and accel_drag_for_body silently transposing 3x3 matrix arguments passed as Fortran-ordered arrays or transposed views, and accept non-contiguous 3x3 views instead of raising ValueError. @duncaneddy (#593)