Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPK/BPC domain function fix + Usability alterations for Nyx #206

Merged
merged 10 commits into from
Feb 22, 2024

Conversation

ChristopherRabotin
Copy link
Member

Summary

This mostly includes a few changes needed as I start using ANISE in Nyx. This PR also includes a bug fix for the spk_domain and bpc_domain functions, which previously only returned the start and stop time of the first segment whose ID matched the desired ID.

I'm trying to cram a few random additional changes in this PR as well.

Architectural Changes

No change

New Features

No change

Improvements

No change

Bug Fixes

No change

Testing and validation

  • Add a useful bpc_domain test using the Earth high precision kernel.

Documentation

This PR does not primarily deal with documentation changes.

- Allow initialization of Frames from their CCSDS names (e.g. Earth ICRF)
- Allow serialization of Frame and Ellipsoid to/from Dhall
- Rename `dump` and `load` to `dumps` and `loads` to follow the pickle/json/yaml nomenclature (not breaking, only deprecating their use so far)
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: 97 lines in your changes are missing coverage. Please review.

Comparison is base (0ee9d7c) 80.14% compared to head (364efd6) 79.94%.
Report is 5 commits behind head on master.

Files Patch % Lines
anise/src/astro/orbit.rs 55.17% 39 Missing ⚠️
anise/src/constants.rs 20.40% 39 Missing ⚠️
anise/src/math/cartesian.rs 0.00% 16 Missing ⚠️
anise/src/frames/frame.rs 94.44% 2 Missing ⚠️
anise/src/errors.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #206      +/-   ##
==========================================
- Coverage   80.14%   79.94%   -0.21%     
==========================================
  Files          71       72       +1     
  Lines        8653     8884     +231     
==========================================
+ Hits         6935     7102     +167     
- Misses       1718     1782      +64     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ChristopherRabotin
Copy link
Member Author

This reduces the test coverage for orbit because it does not include tests for the RIC, VNC, RCN transformations. These are changes needed for Nyx and tested there.

@ChristopherRabotin ChristopherRabotin merged commit 8dfabf9 into master Feb 22, 2024
20 of 22 checks passed
@ChristopherRabotin ChristopherRabotin deleted the 191-nyx-usability-alterations branch February 22, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant