B612-Asteroid-Institute / astrodynamics

Orbit propagation, orbit determination, and analysis code
GNU Affero General Public License v3.0
8 stars 6 forks source link

OpmHelper.getCartesianStateVector Feature #68

Closed HankG closed 3 years ago

HankG commented 3 years ago

Add OpmHelper class with getCartesianStateVector method to extract the StateVector or convert the Keplerian state into a state vector.

Side effect, had to remove the "test uninitialized" test from the OrekitDataLoader. If Orekit methods are run anywhere then the datatables area already loaded so the cleanup methods we used for faking it out for testing previously don't work any longer.

codecov[bot] commented 3 years ago

Codecov Report

Merging #68 (50382ba) into develop (afd6f66) will increase coverage by 0.26%. The diff coverage is 96.42%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop      #68      +/-   ##
=============================================
+ Coverage      71.07%   71.33%   +0.26%     
- Complexity       495      498       +3     
=============================================
  Files             46       47       +1     
  Lines           2669     2697      +28     
  Branches         331      332       +1     
=============================================
+ Hits            1897     1924      +27     
- Misses           574      575       +1     
  Partials         198      198              
Impacted Files Coverage Δ Complexity Δ
...in/java/org/b612foundation/adam/opm/OpmHelper.java 96.42% <96.42%> (ø) 3.00 <3.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update afd6f66...50382ba. Read the comment docs.