Skip to content

Fix/spice data#286

Merged
sylvain-guillet merged 9 commits into
mainfrom
fix/spice-data
Feb 24, 2026
Merged

Fix/spice data#286
sylvain-guillet merged 9 commits into
mainfrom
fix/spice-data

Conversation

@sylvain-guillet

Copy link
Copy Markdown
Contributor

This pull request introduces support for the CLPS APM1 spacecraft clock and orientation kernels, ensures correct time conversions (notably UTC to TDB) throughout the codebase, and adds comprehensive tests for the new kernel data. It also updates project metadata to reflect the new version and includes new kernel files in the test suite. The most important changes are summarized below:

Support for CLPS APM1 kernels and data:

  • Added new CLPS kernel files (clps_to2ab_apm1_v02.tsc and clps_to2ab_apm1_cru_rec_240108_240118_v02.bc) to the test data and ensured they are always copied to the output directory for tests. ([IO.Astrodynamics.Net/IO.Astrodynamics.Tests/IO.Astrodynamics.Tests.csprojR155-R162](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-003179c8b9e25332b0a7474b12bd28359ba7ee9638157d1fc68e81db2d1c3bdeR155-R162))
  • Introduced a new constant ClpsDataPath in Constants.cs to reference the CLPS data directory. ([IO.Astrodynamics.Net/IO.Astrodynamics.Tests/Constants.csR12](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-8279102348faade2c2e57476de15cbda513083a7ce1642a057dd05508045bb21R12))

Time conversion and data mapping fixes:

  • Updated all DTO conversion methods in ProfilesConfiguration.cs to consistently use ToTDB() when calculating time offsets from J2000, ensuring correct time frame usage for state vectors, orientations, windows, and orbital elements. ([[1]](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-d3bf4a43fd72873ca7312e292f1ff5c4462d361549ebb2c4b5d2f30f3ff2c51fL46-R46), [[2]](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-d3bf4a43fd72873ca7312e292f1ff5c4462d361549ebb2c4b5d2f30f3ff2c51fL58-R64), [[3]](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-d3bf4a43fd72873ca7312e292f1ff5c4462d361549ebb2c4b5d2f30f3ff2c51fL104-R104))

Testing and validation:

  • Added two new integration tests in SpiceApiTest.cs to validate reading orientation data from the CLPS APM1 CK kernel, both for UTC and TDB time windows. These tests check for correct time conversions, valid quaternion normalization, and proper kernel loading/unloading. ([IO.Astrodynamics.Net/IO.Astrodynamics.Tests/SpiceApiTest.csR1026-R1127](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-26b39290bdb4cafe9c5ca5fffd49d309b3b57cb1cf887d8c7f1734a3e2a7029dR1026-R1127))

Configuration and permissions:

  • Updated .claude/settings.local.json to allow running the new CK kernel extraction commands via bash, supporting the new test scenarios. ([IO.Astrodynamics.Net/.claude/settings.local.jsonL44-R46](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-43ab4f811a53348422097707008317d95fd95257f135452d5b567eeb1b44941aL44-R46))

Versioning and packaging:

  • Bumped the version numbers in both IO.Astrodynamics.CLI.csproj and IO.Astrodynamics.nuspec to 0.8.4.3-preview and 8.4.3-preview respectively, reflecting the new features and fixes. ([[1]](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-d4c3c86f426ad9db1321379dc7b37ba13f6b8132586bc03250e7678de2fd9372L12-R12), [[2]](https://github.com/IO-Aerospace-software-engineering/Astrodynamics/pull/286/files#diff-5c63e65b5e8c471dd75804cea58cb32d0f983dbc07fd7278c982128f577d49adL7-R7))

@sylvain-guillet sylvain-guillet merged commit a94355e into main Feb 24, 2026
4 checks passed
@sylvain-guillet sylvain-guillet deleted the fix/spice-data branch February 24, 2026 14:50
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.

1 participant