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

Remove Unused Parameters and Functions for Cleaner Dataset Slicing Logic #128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sachin-G13
Copy link

Fixes #107

Description

This PR removes redundant parameters and unused functionality from the dataset slicing logic to simplify and optimize the codebase.
The max_steps_gap parameter was removed from the select_time_slice() call in the satellite data section of slice_datasets_by_time().
Also, both _sel_fillinterp() and _sel_fillnan() functions were removed.

How Has This Been Tested?

Verified that dataset slicing works as expected with the updated logic.

  • Yes

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

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.

Remove the max_steps_gap parameter and missing timestamp functionality in select_time_slice()
1 participant