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

feat(posfilter): Adds config model for Position Filtering #134

Merged
merged 3 commits into from
Aug 18, 2023
Merged

feat(posfilter): Adds config model for Position Filtering #134

merged 3 commits into from
Aug 18, 2023

Conversation

lsetiawan
Copy link
Member

Overview

This PR adds configuration pydantic model for future position filtering routine. At the moment, it adds a way to pass in the Roll Pitch Heading data.

Closes #129

Added configuration model of 'PositionFilter' to
'configs.posfilter'. Allowing for configurations
for position filtering routines. The configuration
is also optional within the main config.
Added simple testing for position filter configuration
'roll_pitch_heading' path, as well as usage within main
configuration via environment variables.
@lsetiawan lsetiawan self-assigned this Aug 16, 2023
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (b285683) 43.39% compared to head (4dd8992) 43.39%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #134   +/-   ##
=======================================
  Coverage   43.39%   43.39%           
=======================================
  Files          15       15           
  Lines         613      613           
=======================================
  Hits          266      266           
  Misses        347      347           

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

Copy link
Contributor

@aniketfadia96 aniketfadia96 left a comment

Choose a reason for hiding this comment

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

I have added one comment if we can move common test set-up code to a pytest fixture.

The creation of blank csv file and setting environment variable
is now placed in 'root/conftest.py' file as fixtures
so the code is DRY.
@lsetiawan
Copy link
Member Author

This is ready for your 2nd round of review. Thanks @aniketfadia96

Copy link
Contributor

@aniketfadia96 aniketfadia96 left a comment

Choose a reason for hiding this comment

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

LGTM

@lsetiawan lsetiawan merged commit b81922e into seafloor-geodesy:main Aug 18, 2023
@lsetiawan lsetiawan deleted the lsetiawan/issue129 branch August 18, 2023 23:09
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.

Add config model for RPH file input
2 participants