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

Implementing TimeResolutionFilter #34

Merged
merged 3 commits into from
Jun 3, 2024
Merged

Conversation

heikoklein
Copy link
Member

@heikoklein heikoklein commented Jun 2, 2024

This PR implements a general TimeResolutionFilter for pyaro.

Updated docs and tests are included.

closes #8

@heikoklein heikoklein added this to the m2024-06 milestone Jun 2, 2024
@heikoklein heikoklein linked an issue Jun 2, 2024 that may be closed by this pull request
idx |= (minmax[0] <= data_resolution) & (data_resolution <= minmax[1])
return idx


if __name__ == "__main__":
Copy link
Member

Choose a reason for hiding this comment

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

In Pyaerocom we have the convention to remove the `main test. maybe we want to adopt that with pyaro as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, you are not the first one to complain about that. I have removed that code now.

Copy link
Member

@jgriesfeller jgriesfeller left a comment

Choose a reason for hiding this comment

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

Ready to merge, but please consider my comment. No need to have another review regardless what you decide

@heikoklein heikoklein merged commit c11bece into main Jun 3, 2024
1 check passed
@heikoklein heikoklein deleted the 8-missing-timeresolutionfilter branch June 3, 2024 09:48
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.

Missing TimeResolutionFilter
2 participants