nasa / progpy

The NASA Prognostic Python Packages is a Python framework focused on defining and building models and algorit for prognostics (computation of remaining useful life) of engineering systems, and provides a set of models and algorithms for select components developed within this framework, suitable for use in prognostic applications.
https://nasa.github.io/progpy/
Other
52 stars 7 forks source link

Printing Coordinates and degrees as input #140

Closed teubert closed 8 months ago

teubert commented 8 months ago

Simple PR, adds a string when printing a coordinate.

Shows up like this:

coordinate at 0.6474780571146516°N 1.3331926129490697°W and -0.5999193691200001m elevation

Also, update trajectory and coord to take deg. Updated docs, examples, and tests accordingly

github-actions[bot] commented 8 months ago

Thank you for opening this PR. Each PR into dev requires a code review. For the code review, look at the following:

codecov-commenter commented 8 months ago

Codecov Report

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

Comparison is base (951cdfc) 83.30% compared to head (aee4ff3) 83.29%.

Files Patch % Lines
src/progpy/utils/traj_gen/geometry.py 83.33% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #140 +/- ## ========================================== - Coverage 83.30% 83.29% -0.01% ========================================== Files 100 100 Lines 10505 10507 +2 ========================================== + Hits 8751 8752 +1 - Misses 1754 1755 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.