Skip to content

Conversation

@sylvain-guillet
Copy link
Contributor

This pull request introduces several updates to the IO.Astrodynamics project, including version bumps, new test cases for UTC-based ephemeris computations, and modifications to ensure consistency in time frame conversions. Below is a summary of the most important changes:

Version Updates:

  • Updated the version number in IO.Astrodynamics.CLI.csproj from 0.6.5.0 to 0.6.5.1 to reflect new changes.
  • Updated the version number in IO.Astrodynamics.nuspec from 6.5.0 to 6.5.1.

New Test Cases:

  • Added ReadEphemerisUTC test in APITest.cs to validate ephemeris computations with UTC time frames, including assertions for state vectors and null argument exceptions.
  • Added GetEphemerisUTC test in CelestialBodyTests.cs to verify ephemeris retrieval for Earth using UTC time frames.

Time Frame Conversion Enhancements:

  • Modified FindLaunchWindows in API.cs to enforce consistent use of TDB (Barycentric Dynamical Time) in time frame conversions for launch window calculations.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes time frame handling in the SPICE API by ensuring consistent time conversions and adds UTC-based ephemeris testing. The changes address potential time frame inconsistencies in launch window calculations and expand test coverage for UTC time frame operations.

  • Updates version numbers to 6.5.1 for the main library and 0.6.5.1 for the CLI
  • Fixes time frame conversion consistency in launch window calculations by enforcing TDB usage
  • Adds comprehensive test coverage for UTC-based ephemeris computations

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
IO.Astrodynamics.nuspec Version bump from 6.5.0 to 6.5.1
IO.Astrodynamics.CLI.csproj Version bump from 0.6.5.0 to 0.6.5.1
API.cs Fixes time frame conversion to consistently use TDB in launch window calculations
CelestialBodyTests.cs Adds test for ephemeris retrieval using UTC time frames
APITest.cs Adds comprehensive test for ephemeris reading with UTC time frames and null argument validation

@sylvain-guillet sylvain-guillet merged commit 4d67196 into main Jul 20, 2025
4 checks passed
@sylvain-guillet sylvain-guillet deleted the fix/time_kind_SpiceAPI branch August 28, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants